AI Image Generation and Editing
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
Generate character art and image variations using AI image generation (Google Gemini) with reference images for style and character consistency.
$ npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install peterkrueck/Claude-Code-Development-Kit image-gen --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/peterkrueck/Claude-Code-Development-Kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/image-gen .claude/skills/image-gen && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "image-gen" agent skill from https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/main/skills/image-gen into .claude/skills/image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-gen", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/main/skills/image-genType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install peterkrueck/Claude-Code-Development-Kit image-gen --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/peterkrueck/Claude-Code-Development-Kit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/image-gen .agents/skills/image-gen && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "image-gen" agent skill from https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/main/skills/image-gen into .agents/skills/image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-gen", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install peterkrueck/Claude-Code-Development-Kit image-gen --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/peterkrueck/Claude-Code-Development-Kit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/image-gen .cursor/skills/image-gen && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "image-gen" agent skill from https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/main/skills/image-gen into .cursor/skills/image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-gen", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/peterkrueck/Claude-Code-Development-Kit.git --path skills/image-gen--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install peterkrueck/Claude-Code-Development-Kit image-gen --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/peterkrueck/Claude-Code-Development-Kit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/image-gen .gemini/skills/image-gen && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "image-gen" agent skill from https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/main/skills/image-gen into .gemini/skills/image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-gen", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install peterkrueck/Claude-Code-Development-Kit image-genInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/peterkrueck/Claude-Code-Development-Kit.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/image-gen .github/skills/image-gen && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "image-gen" agent skill from https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/main/skills/image-gen into .github/skills/image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-gen", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install peterkrueck/Claude-Code-Development-Kit image-gen --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/peterkrueck/Claude-Code-Development-Kit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/image-gen .opencode/skills/image-gen && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "image-gen" agent skill from https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/main/skills/image-gen into .opencode/skills/image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-gen", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
image-genGenerate character art and image variations using AI image generation (Google Gemini) with reference images for style and character consistency.
Image Gen is an agent skill from peterkrueck/Claude-Code-Development-Kit. 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.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/generate.ts`).
It sits in Media & Creative, covering Image generation. It works with Google Gemini. The repository describes itself as: Claude Code Workflow for beginners & intermediate users. Tutorial and Installer included. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ba85375. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (TypeScript), which the agent can run.
Shell commands in SKILL.md call:
denoFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
aistudio.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GEMINI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Image Gen loads about 1.4k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 644 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from peterkrueck/Claude-Code-Development-Kit at commit ba85375, republished under its MIT licence (© peterkrueck). 644 words, ~1,369 tokens.
.claude/skills/image-gen/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.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.
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.
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.
Write a detailed prompt that describes the exact pose, expression, and style:
Prompt template:
[CHARACTER_DESCRIPTION]. [POSE_AND_EXPRESSION]. [STYLE_DIRECTIVES]. [BACKGROUND]. [VIEW/FRAMING].Tips:
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.
Use the Read tool to visually inspect all generated images. Score each on:
Consistency (most important):
Quality (tiebreaker):
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.
After picking the best variant:
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.
© peterkrueck, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (scripts) in skills/image-gen of peterkrueck/Claude-Code-Development-Kit.
Open the folder on GitHubat commit ba85375
Image Gen next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Image Gen this skillpeterkrueck/Claude-Code-Development-Kit | 1.4k | — | ~1.4k | Automated safety check: Pass | MIT | |
| AI Image Generation and Editingzhayujie/CowAgent | 47k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Gemini Web Reverse-Engineered ClientJimLiu/baoyu-skills | 26k | 6 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Logo Generatorop7418/logo-generator-skill | 2.2k | — | ~1.8k | Automated safety check: Notes | None | |
| NanobananaReScienceLab/opc-skills | 1.8k | 1 repos | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| SEO Image GeneratorAgriciDaniel/claude-seo | 18k | 2 repos | ~2.1k | Automated safety check: Pass | MIT |
zhayujie/CowAgent
Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.
JimLiu/baoyu-skills
Generates text and images through an unofficial, reverse-engineered Gemini Web API, supporting reference images and multi-turn conversations.
op7418/logo-generator-skill
Generate professional SVG logos and high-end showcase images.
ReScienceLab/opc-skills
Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro).
AgriciDaniel/claude-seo
Generates Open Graph previews, blog hero images, product photos and infographics for SEO use through Gemini image tools and the banana extension.
BlockRunAI/ClawRouter
Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.
peterkrueck/Claude-Code-Development-Kit
Edit images with precision — crop, resize, mirror, rotate, trim, and reframe.
peterkrueck/Claude-Code-Development-Kit
Remove backgrounds from images using local AI (rembg). An agent skill from peterkrueck/Claude-Code-Development-Kit.
peterkrueck/Claude-Code-Development-Kit
Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data.
peterkrueck/Claude-Code-Development-Kit
Get a second opinion from OpenAI's Codex CLI running locally.
peterkrueck/Claude-Code-Development-Kit
Test and deploy changes safely. An agent skill from peterkrueck/Claude-Code-Development-Kit.
peterkrueck/Claude-Code-Development-Kit
Get a second opinion from Google's Gemini Pro via the locally installed Gemini CLI (defaults to gemini-3.1-pro-preview; override with the CLAUDESECONDOPINIONMODEL env var).
Works with
Categories
Generate character art and image variations using AI image generation (Google Gemini) with reference images for style and character consistency. Image Gen is an agent skill from peterkrueck/Claude-Code-Development-Kit. Generate character art and image variations using AI image generation (Google Gemini) with reference images for style and character consistency.
Image Gen fits situations like: the user asks to generate new character poses; mascot variations; any AI-generated images — especially when maintaining consistency with an existing character.
Run `npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a claude-code`. Or copy the skill folder (skills/image-gen in peterkrueck/Claude-Code-Development-Kit) into .claude/skills/image-gen in your project. Claude Code loads it when a task matches its description.
Run `npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a codex`. Or copy the skill folder (skills/image-gen in peterkrueck/Claude-Code-Development-Kit) into .agents/skills/image-gen in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add peterkrueck/Claude-Code-Development-Kit --skill image-gen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-gen, .gemini/skills/image-gen, .github/skills/image-gen and .opencode/skills/image-gen in your project.
Going by SKILL.md and its folder, Image Gen needs TypeScript for the scripts in its folder, the command-line tools its instructions call (deno) and credentials named GEMINI_API_KEY. Our summary lists: Node.js; A credential in GEMINI_API_KEY.
SKILL.md names 1 domain. As links in the text: aistudio.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Image Gen is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Image Gen: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Gemini Web Reverse-Engineered Client (JimLiu/baoyu-skills, 26k stars), Logo Generator (op7418/logo-generator-skill, 2.2k stars) and Nanobanana (ReScienceLab/opc-skills, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
peterkrueck (a GitHub user) maintains it in peterkrueck/Claude-Code-Development-Kit, which has 1,385 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on July 22, 2026.
Source: peterkrueck/Claude-Code-Development-Kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.