Agent skill · DevOps & Cloud

baoyu-imagine

AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream and Replicate APIs. Supports text-to-image, reference images, aspect ratios, and batch generation from saved prompt files. Sequential by default; use batch parallel generation when the user already has multiple prompts or wants stable multi-image throughput. Use when user asks to generate, create, or draw images.

guanyanggithub.com/guanyangGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add guanyang/open-agent-hub --skill baoyu-imagine --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 36
SKILL.md size: 18 KB
Bundled scripts: yes
Version: 1.58.0
Path: skills/baoyu-imagine/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 940
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Image Generation (AI SDK) Official API-based image generation. Supports OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope (阿里通义万象), Z.AI GLM-Image, MiniMax, Jimeng (即梦), Seedream (豆包) and Replicate. ## User Input Tools When this skill prompts the user, follow this tool-selection rule (priority order): 1. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent. 2. **Fallback**: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question. 3. **Batching**: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order. Concrete `AskUserQuestion` references below are examples — substitute the local equivalent in other runtimes. ## Script Directory `{baseDir}` = this SKILL.md's directory. Main script: `{baseDir}/scripts/main.ts`. Resolve `${BUN_X}`: prefer `bun`; else `npx -y bun`; else suggest `brew install oven-sh/bun/bun`. ## Step 0: Load Preferences ⛔ BLOCKING This step MUST complete b

What's inside
Steps it walks through
  1. User Input Tools
  2. Script Directory
  3. Step 0: Load Preferences ⛔ BLOCKING
  4. Usage
  5. Identity-preserving reference prompts
  6. Reference-Image Identity Preservation
  7. Options
  8. Environment Variables
  9. Codex/ChatGPT OAuth is not an OpenAI API key
  10. Model Resolution
  11. OpenAI-Compatible Gateway Dialects
  12. Provider-Specific Guides
  13. Provider Selection
  14. Quality Presets
Ships with 24 files
  • references/codex-image2-fallback.md
  • references/codex-oauth-vs-openai-api-key.md
  • references/config/first-time-setup.md
  • references/config/preferences-schema.md
  • references/providers/dashscope.md
  • references/providers/minimax.md
  • references/providers/openrouter.md
  • references/providers/replicate.md
  • references/providers/zai.md
  • references/usage-examples.md
  • scripts/build-batch.test.ts
  • scripts/build-batch.ts
  • scripts/main.test.ts
  • scripts/main.ts
  • scripts/providers/azure.test.ts
  • scripts/providers/azure.ts
  • scripts/providers/dashscope.test.ts
  • scripts/providers/dashscope.ts
  • scripts/providers/google.test.ts
  • scripts/providers/google.ts
  • scripts/providers/jimeng.test.ts
  • scripts/providers/jimeng.ts
  • scripts/providers/minimax.test.ts
  • scripts/providers/minimax.ts
first 24 of 36
Commands it runs
Basic
With aspect ratio and high quality
Prompt from files
With reference image
Specific provider
OpenAI GPT Image 2
Batch mode
More from open-agent-hub
All skills →
About this skill
What does the baoyu-imagine skill do?

AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream and Replicate APIs. Supports text-to-image, reference images, aspect ratios, and batch generation from saved prompt files. Sequential by default; use batch parallel generation when the user already has multiple prompts or wants stable multi-image throughput. Use when user asks to generate, create, or draw images.

How do I install it?

Run `npx skills add guanyang/open-agent-hub --skill baoyu-imagine --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From guanyang/open-agent-hub, a repository with 940 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going