Agent skill

Baoyu Image Gen

by aiskillstore in aiskillstore/marketplace

AI image generation with OpenAI and Google APIs. An agent skill from aiskillstore/marketplace.

No licenceAuto-check: notesMedia & Creative

Install Baoyu Image Gen

skills CLI
$ npx skills add aiskillstore/marketplace --skill baoyu-image-gen -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace baoyu-image-gen --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/jimliu/baoyu-image-gen .claude/skills/baoyu-image-gen && rm -rf skills-src

Use ~/.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/

Facts

Skill name
baoyu-image-gen
GitHub stars
433
Token cost
~1.4k tokens
SKILL.md length
341 words
Files
6 (incl. scripts)
Skills in repo
1,044
Repo updated
First seen
Licence
None found

At a glance

AI image generation with OpenAI and Google APIs. An agent skill from aiskillstore/marketplace.

  • Works in 2 steps: SKILL_DIR = this SKILL.md file's directory → Script path = ${SKILL_DIR}/scripts/main.ts
  • User asks to generate
  • SKILL.md covers Script Directory, Preferences (EXTEND.md), Usage and Options, plus 7 more sections
  • Runs TypeScript scripts from its folder; calls npx; needs OPENAI_API_KEY and GOOGLE_API_KEY

What it does

Baoyu Image Gen is an agent skill from aiskillstore/marketplace. AI image generation with OpenAI and Google APIs. Supports text-to-image, reference images, aspect ratios, and parallel generation (recommended 4 concurrent subagents). Use when user asks to generate, create, or draw images.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts (for example `scripts/main.ts`, `scripts/providers/google.ts` and `scripts/providers/openai.ts`).

It sits in Media & Creative, covering Image generation. It works with OpenAI. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • User asks to generate
  • Tasks that involve Image generation

Example prompts

  • “/baoyu-image-gen”

Requirements

  • Node.js
  • A credential in OPENAI_API_KEY
  • A credential in GOOGLE_API_KEY

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. SKILL_DIR = this SKILL.md file's directory
  2. Script path = ${SKILL_DIR}/scripts/main.ts

What it can do on your machine

Read from SKILL.md and the folder at commit 44923f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 4 files in scripts/ (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY
    • GOOGLE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Baoyu Image Gen loads about 1.4k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 341 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:96
    I args > env vars > `<cwd>/.baoyu-skills/.env` > `~/.baoyu-skills/.env`

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 341 words (~1,392 tokens).

“Official API-based image generation. Supports OpenAI and Google providers.”

— opening of SKILL.md by aiskillstore
name
baoyu-image-gen

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts) in skills/jimliu/baoyu-image-gen of aiskillstore/marketplace.

  • SKILL.md
  • scripts/main.ts
  • scripts/providers/google.ts
  • scripts/providers/openai.ts
  • scripts/types.ts
  • skill-report.json

Open the folder on GitHubat commit 44923f3

Compare with similar skills

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.

Baoyu Image Gen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Baoyu Image Gen this skillaiskillstore/marketplace433—~1.4kAutomated safety check: NotesNone
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
GPT Image Generation CLIwuyoscar/GPT-Image2-Skill5.7k—~2.5kAutomated safety check: NotesMIT
Imagegentheowenyoung/home1154 repos~4.8kAutomated safety check: PassApache-2.0
Openai Image Gentrpc-group/trpc-agent-go1.9k12 repos~843Automated safety check: PassApache-2.0
Image Generationonyx-dot-app/onyx32k1 repos~1.7kAutomated safety check: PassCustom licence

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • GPT Image Generation CLI

    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.

    5.7k GitHub stars~2.5k tokensUpdated 11 days ago
    Media & CreativeAuto-check: notes
  • Imagegen

    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.

    115 GitHub starsUsed in 4 repos~4.8k tokens
    Media & CreativeAuto-check passed
  • Openai Image Gen

    trpc-group/trpc-agent-go

    Batch-generate images via OpenAI Images API. An agent skill from trpc-group/trpc-agent-go.

    1.9k GitHub starsUsed in 12 repos~843 tokens
    Media & CreativeAuto-check passed
  • Image Generation

    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.

    32k GitHub starsUsed in 1 repo~1.7k tokens
    Media & CreativeAuto-check passed
  • BlockRun Image Generation

    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.

    6.6k GitHub stars~2.1k tokensUpdated 5 days ago
    Media & CreativeAuto-check passed

More from aiskillstore/marketplace

All 1,040 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    433 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    433 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    433 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    433 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Works with

Questions about Baoyu Image Gen

What does Baoyu Image Gen do?

AI image generation with OpenAI and Google APIs. An agent skill from aiskillstore/marketplace. Baoyu Image Gen is an agent skill from aiskillstore/marketplace. AI image generation with OpenAI and Google APIs.

When should I use Baoyu Image Gen?

Baoyu Image Gen fits situations like: user asks to generate; tasks that involve Image generation.

How do I install Baoyu Image Gen in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill baoyu-image-gen -a claude-code`. Or copy the skill folder (skills/jimliu/baoyu-image-gen in aiskillstore/marketplace) into .claude/skills/baoyu-image-gen in your project. Claude Code loads it when a task matches its description.

How do I install Baoyu Image Gen in Codex?

Run `npx skills add aiskillstore/marketplace --skill baoyu-image-gen -a codex`. Or copy the skill folder (skills/jimliu/baoyu-image-gen in aiskillstore/marketplace) into .agents/skills/baoyu-image-gen in your project. Codex loads it when a task matches its description.

Can I use Baoyu Image Gen in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --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.

What does Baoyu Image Gen need to run?

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 and GOOGLE_API_KEY. Our summary lists: Node.js; A credential in OPENAI_API_KEY; A credential in GOOGLE_API_KEY.

Does Baoyu Image Gen access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Baoyu Image Gen safe to install?

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.

What licence does Baoyu Image Gen use?

No licence was found for Baoyu Image Gen or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Baoyu Image Gen use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Baoyu Image Gen?

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.

Who maintains Baoyu Image Gen?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 433 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 10, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.