Individual skill
baoyu-image-gen
AI image generation with OpenAI GPT Image 2.5, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream, Replicate and Agnes 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.
skills/baoyu-image-gen/SKILL.md
Source commit b436d6bb494c8731c8181783f75fdc5c28013912
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 990
- Repository last updated
- Nov 8, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-skills Repository topic
- workflows Repository topic
- skills Repository topic
- anthropic-skills Repository topic
- planning Repository topic
- superpowers Repository topic
- context-engineering Repository topic
- ui-ux-design Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 16,622 bytesSKILL.mdcore · 16,622 bytesSKILL.mdcore · 16,622 bytesreferences/codex-image2-fallback.mddoc · 1,680 bytesreferences/codex-oauth-vs-openai-api-key.mddoc · 1,433 bytesreferences/config/first-time-setup.mddoc · 9,012 bytesreferences/config/preferences-schema.mddoc · 2,579 bytesreferences/providers/agnes.mddoc · 1,991 bytesreferences/providers/codex-cli.mddoc · 5,152 bytesreferences/providers/dashscope.mddoc · 4,309 bytesreferences/providers/minimax.mddoc · 1,115 bytesreferences/providers/openrouter.mddoc · 707 bytesreferences/providers/replicate.mddoc · 1,476 bytesreferences/providers/zai.mddoc · 953 bytesreferences/usage-examples.mddoc · 4,994 bytesscripts/build-batch.test.tsruns · 4,575 bytesscripts/build-batch.tsruns · 7,593 bytesscripts/codex-imagegen/cache.tsruns · 2,300 bytesscripts/codex-imagegen/logger.tsruns · 1,356 bytesscripts/codex-imagegen/main.tsruns · 12,193 bytesscripts/codex-imagegen/parser.tsruns · 2,072 bytesscripts/codex-imagegen/spawn.tsruns · 6,659 bytesscripts/codex-imagegen/types.tsruns · 1,632 bytesscripts/codex-imagegen/validator.tsruns · 2,353 bytesscripts/main.test.tsruns · 18,799 bytesscripts/main.tsruns · 46,560 bytesscripts/providers/agnes.test.tsruns · 6,810 bytesscripts/providers/agnes.tsruns · 5,002 bytesscripts/providers/azure.test.tsruns · 5,425 bytesscripts/providers/azure.tsruns · 5,828 bytesscripts/providers/codex-cli.test.tsruns · 1,674 bytesscripts/providers/codex-cli.tsruns · 5,892 bytesscripts/providers/dashscope.test.tsruns · 11,671 bytesscripts/providers/dashscope.tsruns · 18,543 bytesscripts/providers/google.test.tsruns · 4,212 bytesscripts/providers/google.tsruns · 10,754 bytesscripts/providers/jimeng.test.tsruns · 2,737 bytesscripts/providers/jimeng.tsruns · 12,845 bytesscripts/providers/minimax.test.tsruns · 5,254 bytesscripts/providers/minimax.tsruns · 6,331 bytesscripts/providers/openai.test.tsruns · 6,179 bytesscripts/providers/openai.tsruns · 12,687 bytesscripts/providers/openrouter.test.tsruns · 5,450 bytesscripts/providers/openrouter.tsruns · 9,957 bytesscripts/providers/replicate.test.tsruns · 7,190 bytesscripts/providers/replicate.tsruns · 17,822 bytesscripts/providers/seedream.test.tsruns · 6,544 bytesscripts/providers/seedream.tsruns · 9,855 bytesscripts/providers/zai.test.tsruns · 5,274 bytesscripts/providers/zai.tsruns · 8,950 bytesscripts/types.tsruns · 2,337 bytes
Read excerpt
# Image Generation (AI SDK)
## 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