prompt-crafter — субагент для Claude Code: что делает и как установить
Генерирует пачки детальных промптов для создания изображений. Пригодится, когда нужно параллельно получить пять концептов логотипа или мокапы мерча на основе базового арта.
/plugin marketplace add wshobson/agents
/plugin install meigen-ai-design@claude-code-workflowsЧто делает prompt-crafter
Субагент берёт бриф и готовит готовые описания для генератора картинок generate_image. Он рассчитан на пакетную работу: параллельные концепции, серии мокапов вроде кружек или футболок по базовому референсу, а также стилевые вариации одной идеи.
В конфигурации задана модель haiku. Правила требуют писать каждый промпт объёмом от 50 до 150 слов, делать их автономными и творчески разными. Для реализма агент подбирает параметры оптики вроде 85mm f/1.4 и схему света, а для иллюстраций задаёт палитру и технику живописи.
Субагент отдаёт только текст промптов и разметку referenceImages. Сам рендер остаётся за основной средой.
Какие задачи решает
- Составить пачку независимых промптов для логотипа
- Описать мокапы футболки и постера с общим референсом
- Сгенерировать варианты сюжета в стилях аниме или живописи
- Подготовить пакет описаний для набора иконок
Примеры запросов агенту
- Придумай 5 разных концептов логотипа для кофейни и распиши промпты под каждый
- Возьми этот готовый логотип и составь промпты для мокапов кружки и постера
- Напиши 3 промпта в стилях аниме, живописи и реалистичного фото для горного пейзажа
Как установить prompt-crafter
1Через маркетплейс плагинов
/plugin marketplace add wshobson/agents/plugin install meigen-ai-design@claude-code-workflows2Вручную: положить файлы
.claude/agents/prompt-crafter.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/prompt-crafter.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/prompt-crafter.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы о prompt-crafter
Как установить prompt-crafter в Claude Code?
Сначала добавьте каталог командой /plugin marketplace add wshobson/agents. Затем установите плагин вызовом /plugin install meigen-ai-design@claude-code-workflows.
Что делает prompt-crafter?
Он берёт творческий бриф и пишет готовые текстовые описания длиной от 50 до 150 слов для параллельной генерации изображений.
Какая модель используется для работы?
В файле агента прописана модель haiku, поэтому подготовка описаний проходит быстро и экономно по токенам.
Исходный текст
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