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.
AI image generation with OpenAI, Google, DashScope and Replicate APIs.
$ npx skills add XY121718/baoyu-skills --skill baoyu-image-gen -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install XY121718/baoyu-skills baoyu-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/XY121718/baoyu-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/baoyu-image-gen .claude/skills/baoyu-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 "baoyu-image-gen" agent skill from https://github.com/XY121718/baoyu-skills/tree/main/skills/baoyu-image-gen into .claude/skills/baoyu-image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-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/XY121718/baoyu-skills/tree/main/skills/baoyu-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 XY121718/baoyu-skills --skill baoyu-image-gen -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install XY121718/baoyu-skills baoyu-image-gen --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XY121718/baoyu-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/baoyu-image-gen .agents/skills/baoyu-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 "baoyu-image-gen" agent skill from https://github.com/XY121718/baoyu-skills/tree/main/skills/baoyu-image-gen into .agents/skills/baoyu-image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-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 XY121718/baoyu-skills --skill baoyu-image-gen -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install XY121718/baoyu-skills baoyu-image-gen --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XY121718/baoyu-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/baoyu-image-gen .cursor/skills/baoyu-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 "baoyu-image-gen" agent skill from https://github.com/XY121718/baoyu-skills/tree/main/skills/baoyu-image-gen into .cursor/skills/baoyu-image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-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/XY121718/baoyu-skills.git --path skills/baoyu-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 XY121718/baoyu-skills --skill baoyu-image-gen -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install XY121718/baoyu-skills baoyu-image-gen --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XY121718/baoyu-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/baoyu-image-gen .gemini/skills/baoyu-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 "baoyu-image-gen" agent skill from https://github.com/XY121718/baoyu-skills/tree/main/skills/baoyu-image-gen into .gemini/skills/baoyu-image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-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 XY121718/baoyu-skills baoyu-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 XY121718/baoyu-skills --skill baoyu-image-gen -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/XY121718/baoyu-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/baoyu-image-gen .github/skills/baoyu-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 "baoyu-image-gen" agent skill from https://github.com/XY121718/baoyu-skills/tree/main/skills/baoyu-image-gen into .github/skills/baoyu-image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-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 XY121718/baoyu-skills --skill baoyu-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 XY121718/baoyu-skills baoyu-image-gen --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XY121718/baoyu-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/baoyu-image-gen .opencode/skills/baoyu-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 "baoyu-image-gen" agent skill from https://github.com/XY121718/baoyu-skills/tree/main/skills/baoyu-image-gen into .opencode/skills/baoyu-image-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-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.
baoyu-image-genAI image generation with OpenAI, Google, DashScope and Replicate APIs.
Baoyu Image Gen is an agent skill from XY121718/baoyu-skills. AI image generation with OpenAI, Google, DashScope and Replicate APIs. Supports text-to-image, reference images, aspect ratios. Sequential by default; parallel generation available on request. Use when user asks to generate, create, or draw images.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `references/config/first-time-setup.md`, `references/config/preferences-schema.md` and `scripts/main.ts`).
It sits in Media & Creative, covering Image generation. It works with OpenAI.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e6ccd5c. 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 7 files in scripts/ (TypeScript), which the agent can run.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
api.xheai.ccFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENAI_API_KEYGOOGLE_API_KEYDASHSCOPE_API_KEYREPLICATE_API_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Baoyu Image Gen loads about 2.3k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 666 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 noted patterns worth knowing about, such as sudo or a known installer.
END.md > env vars > `<cwd>/.baoyu-skills/.env` > `~/.baoyu-skills/.env`Cross-Platform Paths**: `~/.baoyu-skills/.env` automatically resolves to:macOS: `/Users/<username>/.baoyu-skills/.env`- Linux: `/home/<username>/.baoyu-skills/.env`g Mode**: Set `DEBUG_ENV=1` to see which .env files are loaded and which API keys are detected: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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 666 words (~2,346 tokens).
“Official API-based image generation. Supports OpenAI, Google, DashScope (阿里通义万象), Replicate, and xheai (中转站) providers.”
SKILL.md and 9 other files (scripts, references) in skills/baoyu-image-gen of XY121718/baoyu-skills.
Open the folder on GitHubat commit e6ccd5c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in XY121718/baoyu-skills, which our catalogue first saw on October 7, 2026.
Baoyu 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 |
|---|---|---|---|---|---|---|
| Baoyu Image Gen this skillXY121718/baoyu-skills | 103 | 1 repos | ~2.3k | Automated safety check: Notes | None | |
| AI Image Generation and Editingzhayujie/CowAgent | 47k | — | ~1.3k | Automated safety check: Pass | MIT | |
| GPT Image Generation CLIwuyoscar/GPT-Image2-Skill | 5.7k | — | ~2.5k | Automated safety check: Notes | MIT | |
| Imagegentheowenyoung/home | 115 | 4 repos | ~4.8k | Automated safety check: Pass | Apache-2.0 | |
| Openai Image Gentrpc-group/trpc-agent-go | 1.9k | 12 repos | ~843 | Automated safety check: Pass | Apache-2.0 | |
| Image Generationonyx-dot-app/onyx | 32k | 1 repos | ~1.7k | Automated safety check: Pass | Custom licence |
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.
wuyoscar/GPT-Image2-Skill
Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.
theowenyoung/home
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts.
trpc-group/trpc-agent-go
Batch-generate images via OpenAI Images API. An agent skill from trpc-group/trpc-agent-go.
onyx-dot-app/onyx
Generate or edit raster images (photos, illustrations, textures, sprites, mockups, logos, infographics) using the workspace's configured image-generation provider via onyx-cli image.
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.
XY121718/baoyu-skills
Generates professional infographics with 21 layout types and 20 visual styles.
Works with
Categories
AI image generation with OpenAI, Google, DashScope and Replicate APIs. Baoyu Image Gen is an agent skill from XY121718/baoyu-skills. AI image generation with OpenAI, Google, DashScope and Replicate APIs.
Baoyu Image Gen fits situations like: user asks to generate; tasks that involve Image generation.
Run `npx skills add XY121718/baoyu-skills --skill baoyu-image-gen -a claude-code`. Or copy the skill folder (skills/baoyu-image-gen in XY121718/baoyu-skills) into .claude/skills/baoyu-image-gen in your project. Claude Code loads it when a task matches its description.
Run `npx skills add XY121718/baoyu-skills --skill baoyu-image-gen -a codex`. Or copy the skill folder (skills/baoyu-image-gen in XY121718/baoyu-skills) into .agents/skills/baoyu-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 XY121718/baoyu-skills --skill baoyu-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/baoyu-image-gen, .gemini/skills/baoyu-image-gen, .github/skills/baoyu-image-gen and .opencode/skills/baoyu-image-gen in your project.
Going by SKILL.md and its folder, Baoyu Image Gen needs TypeScript for the scripts in its folder, the command-line tools its instructions call (npx) and credentials named OPENAI_API_KEY, GOOGLE_API_KEY, DASHSCOPE_API_KEY and REPLICATE_API_TOKEN. Our summary lists: Node.js; A credential in OPENAI_API_KEY; A credential in GOOGLE_API_KEY.
SKILL.md names 1 domain. As links in the text: api.xheai.cc. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. 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.
No licence was found for Baoyu Image Gen or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 2.3k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Baoyu Image Gen: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), GPT Image Generation CLI (wuyoscar/GPT-Image2-Skill, 5.7k stars), Imagegen (theowenyoung/home, 115 stars) and Openai Image Gen (trpc-group/trpc-agent-go, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
XY121718 (a GitHub user) maintains it in XY121718/baoyu-skills, which has 103 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on March 2, 2026.
Source: XY121718/baoyu-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.