baoyu-image-gen SKILL.md skillA
baoyu-image-gen from jimliu/baoyu-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jimliu/baoyu-skills/baoyu-image-gen@v2.2.0Pins v2.2.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jimliu/baoyu-skills
- Path
skills/baoyu-image-gen/SKILL.md- Versions recorded
- 5
- Latest version
- v2.2.0, committed Nov 1, 2026
- First version recorded
- May 29, 2026
- Size
- 16,622 bytes
- Repository stars
- 27,167
- License
- MIT
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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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
`{baseDir}` = this SKILL.md's directory; `scripts/...` paths are relative to it. Main script: `{baseDir}/scripts/main.ts`. Batch payload helper: `{baseDir}/scripts/build-batch.ts`. Resolve `${BUN_X}`: prefer `bun`; else `npx -y bun`; else suggest `brew install oven-sh/bun/bun`.
## Step 0: Load Preferences (blocking)
No image generation until EXTEND.md exists. Check in order; first hit wins:
| Path | Scope |
…Read the whole file at its exact version.
How to install
mdr add jimliu/baoyu-skills/baoyu-image-gen@sha256:c92cc35968807c17The line at the top of this page pins the label v2.2.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_afky2aqtowgwragx)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 29, 2026 and Nov 1, 2026, about one every 39 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.2.0 latest | 2026-11-01 | d2b8bc3 | 16,622 B | A | view · diff |
| v2.2.0 | 2026-09-10 | 1567581 | 21,384 B | A | view · diff |
| v2.2.0 | 2026-09-09 | 8ae8c33 | 21,384 B | A | view · diff |
| v2.1.0 | 2026-06-05 | 591614c | 20,666 B | A | view · diff |
| v2.1.0 | 2026-05-29 | d79ebe4 | 20,412 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (16622 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jimliu/baoyu-skills · 27,167 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_afky2aqtowgwragx GET https://markdownregistry.com/api/v1/resolve?ref=jimliu/baoyu-skills/baoyu-image-gen GET https://markdownregistry.com/api/v1/blob/c92cc35968807c179015f5f5751bb060bd6d64624dd4631bcaeb1f3378d33e8e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from jimliu/baoyu-skills
Every file in jimliu/baoyu-skills