image-gen
Skill1.4k starsChanged 6 months agoMITView on GitHub
Generate character art and image variations using AI image generation (Google Gemini) with reference images for style and character consistency. Use this skill when the user asks to generate new character poses, mascot variations, art assets, illustrations, or any AI-generated images — especially when maintaining consistency with an existing character or style.
- Reads credentials
26 other projects use a version of this.
Trending
Quiet since April.thin dataabout the whole repository
Most recently taken up by
- t0ddharris/compound-marketingtheir own version, first seen Oct 5, 2026
- Sma1lboy/rovetheir own version, first seen Oct 4, 2026
- tymoshenko-dmytro/marketing-agent-kittheir own version, first seen Oct 1, 2026
- notque/vexjoy-agenttheir own version, first seen Sep 26, 2026
- suitedaces/dorabottheir own version, first seen Sep 22, 2026
- ksprashu/agent-skill-forgetheir own version, first seen Sep 10, 2026
Who's talking about peterkrueck/Claude-Code-Development-Kit
- A Hacker News story“My Personal Claude Code Development Kit”Hacker News · Jul 11, 2025 · 3 points
- UfoMiao/zcf“Miscellaneous set of tools”GitHub · Aug 18, 2025 · 2 reactions
- xiaolai/nlpm“Audit candidate: peterkrueck/Claude-Code-Development-Kit”GitHub · Apr 25, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
Used with
Projects with it also use video-gen, paid-ads and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
buildoakSkillvideo-gen
Video generation via fal.ai -- from quick one-off clips to multi-scene productions with keyframes, state tracking, and assembly. 10+ models including Kling 3.0, Veo 3.1, Sora 2, LTX-2.3. Two modes: light (fire-and-forget) and project (structured pipeline with gates).
Also in 3 projects that use this
silvainfmSkillpaid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
Also in 3 projects that use this
seedprodSkillsummarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
Also in 3 projects that use this
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 4 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- notque/vexjoy-agent★ 424same name
- suitedaces/dorabot★ 245same name
- wpsnote/wpsnote-skills★ 179same name
- Sma1lboy/rove★ 147same name
- bozhouDev/bozhou-skills★ 78same name
- marswaveai/skills★ 78same name
- LocalSymmetry/lofn★ 23same name
- crealwork/ai-marketing-kit★ 18same name
- buildoak/fieldwork-skills★ 15same name
- claude-world/claude-agent★ 4same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- bg-removeSkill
- context7-guidanceSkill
- deploySkill
- image-editSkill
- review-workSkill
- second-opinion-geminiSkill
- second-opinionSkill
- update-docsSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Always use 1-2 reference images for consistency:
- Distinctive: line 36
Write a detailed prompt that describes the exact pose, expression, and style:
- Distinctive: line 51
Always specify the background explicitly
- Distinctive: line 56
Run the bundled generation script:
- Distinctive: line 92
Use the Read tool to visually inspect all generated images.
- Distinctive: line 104
If none are good enough, explain what went wrong and offer to regenerate with prompt adjustments.
- Distinctive: line 108
After picking the best variant:
- Distinctive: line 111
Use the image-edit skill if the user needs a different crop or size
- Distinctive: line 115
If some variants fail with 429 errors: wait 60 seconds, then rerun with only the missing number of variants.
- Distinctive: line 117
If all fail with 429: wait 60 seconds and try again.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Image Generation (Gemini)
Generate image variations using Google's Gemini image generation model with reference images for style and character consistency. The model supports up to 14 reference images per request and can maintain consistency across multiple characters.
Prerequisites
- GEMINI_API_KEY environment variable must be set
- Get a key at https://aistudio.google.com/apikey
- The key needs billing enabled for image generation (~$0.067/image at 1K resolution)
- Deno runtime installed (for the generation script)
Workflow
Step 1 — Understand what the user wants
Clarify the subject, pose, expression, context, and where the asset will be used (app screen, social media, website, etc.). This context helps craft the right prompt and choose the right aspect ratio.
Step 2 — Select reference images
Always use 1-2 reference images for consistency:
- Primary reference (always first): The most canonical image of the character/subject. This anchors identity — face shape, color palette, defining features.
- Style/pose reference (second, optional): Pick the closest existing approved asset to the target pose. This anchors proportions and art style.
The primary reference anchors identity; the style reference anchors proportions. Both together produce the most consistent results.
Step 3 — Craft the prompt
Write a detailed prompt that describes the exact pose, expression, and style:
- Character/subject description — physical traits that define the character (so the model doesn't drift)
- Pose and expression — what the character is doing
- Style directives — art style, line style, shading approach
- Background — color, scene, or transparent
- Framing — full body, bust, three-quarter view, etc.
Prompt template:
[CHARACTER_DESCRIPTION]. [POSE_AND_EXPRESSION]. [STYLE_DIRECTIVES]. [BACKGROUND]. [VIEW/FRAMING].Tips:
- Be specific about what each hand/arm is doing — vague descriptions lead to random poses
- Always specify the background explicitly
- Include style keywords consistently (e.g., "flat color fills", "3D render", "watercolor")
Step 4 — Generate variations
Run the bundled generation script:
deno run --allow-env --allow-read --allow-write --allow-net \
.claude/skills/image-gen/scripts/generate.ts \
--prompt "your prompt here" \
--ref path/to/primary-reference.png \
--ref path/to/style-reference.png \
--output-dir /tmp/image-gen \
--variants 4 \
--aspect "<choose based on use case>" \
--size "2K"Parameters:
| Flag | Default | Options |
--variants | 4 | 1-8 (each is a separate API call) |
--aspect | 1:1 | 1:1, 3:4, 4:3, 9:16, 16:9, 2:3, 3:2 |
--size | 1K | 512, 1K, 2K, 4K |
Always default to 2K for size — higher resolution gives better quality and can always be downscaled.
Choose aspect ratio based on use case:
| Use Case | Aspect Ratio |
| Full-body character poses | 3:4 |
| App icons, avatars, social profiles | 1:1 |
| Mobile screens, in-app cards | 9:16 or 3:4 |
| Banner/header images, OG images | 16:9 or 4:3 |
| Bust/upper-body portraits | 1:1 or 4:3 |
Cost: ~$0.10/image at 2K = ~$0.40 for 4 variants.
Step 5 — Pick the best variant
Use the Read tool to visually inspect all generated images. Score each on:
Consistency (most important):
- Does it match the reference images — face, proportions, colors, style?
- Is the art style consistent (not drifting to photorealistic, 3D, etc.)?
Quality (tiebreaker):
- Does the image have personality and visual appeal?
- Would this work well as a production asset?
Pick the single best variant and copy it to the project's assets directory with a descriptive name. Briefly explain why you picked it.
If none are good enough, explain what went wrong and offer to regenerate with prompt adjustments.
Step 6 — Post-process
After picking the best variant:
- Copy the chosen file to the appropriate assets directory
- Clean up: delete the rejected variants and the temp output directory
- Use the image-edit skill if the user needs a different crop or size
Rate Limits
If some variants fail with 429 errors: wait 60 seconds, then rerun with only the missing number of variants. Don't retry all — just fill in the gaps.
If all fail with 429: wait 60 seconds and try again. If it keeps failing, the daily quota may be exhausted — try later or enable billing for higher limits.
Troubleshooting
- "GEMINI_API_KEY not set" — Get a key at https://aistudio.google.com/apikey
- "Billing not enabled" or 403 — Enable billing in Google AI Studio for image generation
- 429 rate limit — Wait 60 seconds and retry
- Character looks wrong — Be more specific about physical traits, ensure both reference images are included
- Style drifted — Reinforce style keywords more strongly in the prompt
- Pose is wrong — Be extremely specific about what each arm/hand is doing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

