Home / Commands / wshobson/agents

gen

>-

commandLicense: MIT Source: wshobson/agents

Install

Copy this folder into your Claude Code project (needs Node.js):

curl -fsSL --create-dirs -o .claude/commands/gen.md https://raw.githubusercontent.com/wshobson/agents/HEAD/plugins/meigen-ai-design/commands/gen.md

Or install it for every project:

curl -fsSL --create-dirs -o ~/.claude/commands/gen.md https://raw.githubusercontent.com/wshobson/agents/HEAD/plugins/meigen-ai-design/commands/gen.md

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
description: >-
  Quick image generation. Use when user runs /meigen-ai-design:gen with a prompt.
  Skips intent assessment, generates directly.
argument-hint: <prompt>
---

# Quick Generate

Generate an image immediately from the user's description. This is the fast path — skip exploration and go straight to generation.

## Instructions

1. Look at the user's prompt: `$ARGUMENTS`
2. If the prompt is very short (under 10 words), call `mcp__meigen__enhance_prompt` first to enrich it, then use the enhanced result
3. If the prompt is already detailed (10+ words), use it directly
4. Delegate to the **image-generator** agent with the prompt (keeps base64 data out of main context)
5. When the agent returns, show a brief one-line creative comment about the generation

Do NOT:
- Ask for confirmation before generating
- Suggest alternatives or options
- Run mcp__meigen__search_gallery for references
- Give lengthy explanations or describe the image
- Call generate_image directly — always delegate to image-generator agent

This is a quick-fire command. Generate and show.