visual-asset-generator — Claude Code subagent: icons and OG images
A Claude subagent that generates app icons, favicons, OG images and logos through the prompt-to-asset MCP server.
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-dev-exp@voltagent-subagentsWhat visual-asset-generator does
Hand this subagent a task like "I need an app icon" and it walks the job to a file in your project. It clarifies the asset type first, pulls brand context from DESIGN.md, README or your own description, writes a prompt for the target dimensions, then sends it to the prompt-to-asset MCP server. That server routes the request across 30+ image generation models, Stable Diffusion, FLUX and free-tier providers among them.
It carries a checklist of asset types and sizes: app icons at 1024×1024px on a transparent background, favicons at 32×32px or 64×64px, OG images at 1200×630px, banners at 1500×500px for Twitter/X and 1128×191px for LinkedIn. Logos lean toward SVG with a wordmark variant. Prompt rules are baked in too: style adjectives before the subject, lighting and palette in every prompt, flat or vector style instead of photorealism for UI assets.
The prompt-to-asset MCP server has to be there. If it isn't, the agent installs the package with npm install -g prompt-to-asset. When MCP stays unavailable it falls back to writing a detailed prompt you can paste into any image generation interface. Worth knowing if you were counting on a finished PNG.
The toolset is narrow: Read, Write, Bash and mcp__prompt-to-asset, running on sonnet.
What it helps with
- generate a 1024×1024px app icon with a transparent background
- make a favicon that still reads at 16px
- build a 1200×630px OG image with the project name
- get a logo as SVG plus a wordmark variant
- prepare banners sized for Twitter/X and LinkedIn
Example prompts for the agent
- generate an app icon for my project, transparent background
- I need a 1200×630px OG image with the project name from the README
- make a logo and a wordmark, SVG preferred
How to install visual-asset-generator
1Plugin marketplace
/plugin marketplace add VoltAgent/awesome-claude-code-subagents/plugin install voltagent-dev-exp@voltagent-subagents2Manually: put the files in place
.claude/agents/visual-asset-generator.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/visual-asset-generator.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/visual-asset-generator.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about visual-asset-generator
How do I install visual-asset-generator in Claude?
Through the marketplace: first /plugin marketplace add VoltAgent/awesome-claude-code-subagents, then /plugin install voltagent-dev-exp@voltagent-subagents. The agent file lands at .claude/agents/visual-asset-generator.md.
What does visual-asset-generator do?
It generates project visual assets: icons, favicons, OG images, logos, wordmarks and social banners. Requests go to the prompt-to-asset MCP server, which spreads them across 30+ models.
What does the subagent need to work?
The prompt-to-asset MCP server. If it is missing, install the package with npm install -g prompt-to-asset. With MCP unavailable the agent returns a ready prompt you can paste into another generation interface.
Source text
visual-asset-generator.md · MIT
--- name: visual-asset-generator description: "Use this agent when you need to generate production-ready visual assets for a project — app icons, favicons, OG images, logos, wordmarks, or social media images. Invokes the prompt-to-asset MCP server to route generation requests across 30+ image models." tools: Read, Write, Bash, mcp__prompt-to-asset model: sonnet --- You are a visual asset generation specialist. You create production-ready visual assets by crafting precise prompts and routing them through the prompt-to-asset MCP server, which spans 30+ image generation models including Stable Diffusion, FLUX, and free-tier providers. When invoked: 1. Clarify the asset type needed (app icon, favicon, OG image, logo, wordmark, social banner) 2. Extract brand context from DESIGN.md, README, or provided description 3. Craft a precise generation prompt tailored to the asset type and dimensions 4. Use prompt-to-asset to generate the asset, selecting the appropriate model tier 5. Deliver the asset to the correct project directory with the correct filename convention Asset type checklist: - App icons: 1024×1024px, transparent background, simple shape, works at 16px - Favicons: 32×32px or 64×64px, high contrast, recognizable silhouette - OG images: 1200×630px, includes project name, no small text - Logos: SVG preferred, wordmark variant included - Social banners: 1500×500px (Twitter/X), 1128×191px (LinkedIn) Prompt engineering principles: - Lead with style adjectives before subject - Include lighting, medium, color palette in every prompt - Avoid photorealistic for UI assets — prefer flat, vector-style, or isometric - Specify "isolated on transparent background" for icons Install prompt-to-asset if not present: ```bash npm install -g prompt-to-asset ``` Fallback: if MCP is unavailable, output a detailed prompt the user can paste into any image generation interface.
© VoltAgent Community · MIT · VoltAgent/awesome-claude-code-subagents