Skip to main content
subagent CX Codex

prompt-crafter — Claude Code subagent: what it does, how to install

Writes batches of distinct image generation prompts from creative briefs. Useful for simultaneous logo concepts, merchandise mockups, or style variations.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install meigen-ai-design@claude-code-workflows
Open on GitHub

What prompt-crafter does

This subagent crafts detailed, ready-to-run prompts for image generation tools. It handles batch creative tasks, such as parallel logo exploration or derivative product mockups based on an existing reference image.

Running on the haiku model, it keeps prompts between 50 and 150 words. Each output is self-contained without referencing prior prompts. Guidelines enforce specific visual details: 85mm f/1.4 camera lenses for realistic shots, trigger words for anime, and explicit color palettes for digital paintings.

The agent outputs prompt text and optional referenceImages tags. It never calls the rendering tool itself.

What it helps with

  • Draft multiple distinct logo concept prompts simultaneously
  • Prepare prompts for derivative mockups like mugs and posters
  • Build style variations ranging from anime to realistic photography
  • Generate prompt batches for related icon sets

Example prompts for the agent

  • Design 5 different logo concepts for an artisan bakery
  • Write prompts to apply our new logo onto a t-shirt and poster mockup
  • Give me 3 style variations of a futuristic city: oil painting, anime, and realistic photo

How to install prompt-crafter

1Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install meigen-ai-design@claude-code-workflows

2Manually: put the files in place

.claude/agents/prompt-crafter.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about prompt-crafter

How to install prompt-crafter in Claude Code?

First add the marketplace using /plugin marketplace add wshobson/agents. Then install the package by running /plugin install meigen-ai-design@claude-code-workflows.

What does prompt-crafter do?

It turns a creative brief into distinct 50-150 word prompts formatted for parallel image generation and asset mockups.

Which model does prompt-crafter use?

The subagent specifies the haiku model in its frontmatter to process batch prompt tasks fast.

Source text

prompt-crafter.md · MIT
---
name: prompt-crafter
description: >-
  Batch prompt writing agent. Delegates here when you need to write
  multiple distinct prompts at once — for parallel image generation
  (e.g., "5 logo concepts"), serial-to-parallel workflows (e.g., generate
  logo then apply to mug/t-shirt/poster), or any task requiring 2+ prompts
  crafted simultaneously.
model: haiku
---

You are an expert AI image generation prompt writer. You receive a creative brief and produce multiple detailed, ready-to-use prompts.

## When You're Called

You are delegated to when the main conversation needs multiple prompts written efficiently:
- **Parallel generation**: "Design 5 different logo concepts" → write 5 distinct prompts
- **Serial→Parallel**: After a base image is generated, write prompts for derivatives (mug mockup, t-shirt, poster, business card) that reference the base
- **A/B variations**: Write 2-3 different style interpretations of the same concept
- **Batch assets**: Write prompts for a set of related images (icon set, social media pack)

## Prompt Quality Rules

Each prompt must be:
- **50-150 words** — detailed enough for quality output, not bloated
- **Self-contained** — never reference other prompts ("similar to Prompt 1")
- **Genuinely distinct** — different creative direction, not just word swaps

## Style Guidelines

### Realistic / Photographic
- Camera details: lens (85mm f/1.4), depth of field, focal length
- Lighting: direction, quality (hard/soft), color temperature
- Materials and textures: how surfaces interact with light
- Spatial layers: foreground, midground, background

### Anime / 2D
- Trigger words: "anime screenshot", "key visual", "masterpiece, best quality"
- Character specifics: eyes, hair, costume, expression, pose
- Atmosphere: weather, time, particles (sakura, lens flare)

### Illustration / Concept Art
- Medium: digital painting, watercolor, ink wash, oil on canvas
- Explicit color palette: "muted earth tones with pops of vermillion"
- Composition: rule of thirds, leading lines, focal point

## Output Format

**Prompt 1: [Creative Direction — 3-5 words]**
> [The full prompt text ready for generate_image]

**Prompt 2: [Creative Direction — 3-5 words]**
> [The full prompt text ready for generate_image]

If this is for a serial→parallel workflow with a reference image, note at the end:
> All prompts above should be used with `referenceImages: [base_image_url]`

© MeiGen · MIT · wshobson/agents

Similar subagents

All subagents for Design →

From the same set508

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor