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.

Install it, pinned
mdr add jimliu/baoyu-skills/baoyu-image-gen@v2.2.0

Pins 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

The exact contents, by fingerprint
mdr add jimliu/baoyu-skills/baoyu-image-gen@sha256:c92cc35968807c17

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_afky2aqtowgwragx.svg)](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.

versioncommittedcommitsizeaudit
v2.2.0 latest2026-11-01 d2b8bc3 16,622 BA view · diff
v2.2.02026-09-10 1567581 21,384 BA view · diff
v2.2.02026-09-09 8ae8c33 21,384 BA view · diff
v2.1.02026-06-05 591614c 20,666 BA view · diff
v2.1.02026-05-29 d79ebe4 20,412 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

release-skills SKILL.md skill
jimliu/baoyu-skills · .claude/skills/release-skills/SKILL.md · Universal release workflow. Auto-detects version files and changelogs. Supports Node.js, Python, Rust, Claude Plugin…
git:20260505.80a1c29 · audit A · 27,167 stars
CLAUDE.md CLAUDE.md file
jimliu/baoyu-skills · CLAUDE.md
git:20260613.b0ac523 · audit B · 27,167 stars
baoyu-article-illustrator SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-article-illustrator/SKILL.md · Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style ×…
v1.117.4 · audit A · 27,167 stars
baoyu-comic SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-comic/SKILL.md · Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed…
v1.117.4 · audit B · 27,167 stars
baoyu-compress-image SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-compress-image/SKILL.md · Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image"…
v1.56.1 · audit A · 27,167 stars
baoyu-cover-image SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-cover-image/SKILL.md · Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and…
v1.117.5 · audit A · 27,167 stars
baoyu-danger-gemini-web SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-danger-gemini-web/SKILL.md · Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from…
v1.56.2 · audit B · 27,167 stars
baoyu-danger-x-to-markdown SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-danger-x-to-markdown/SKILL.md · Converts X (Twitter) tweets and articles to markdown with YAML front matter. Uses reverse-engineered API requiring user…
v1.117.3 · audit A · 27,167 stars
baoyu-diagram SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-diagram/SKILL.md · Create professional diagrams with configurable dark/light theme via CSS custom properties. Use this skill whenever the…
v1.118.0 · audit A · 27,167 stars
baoyu-electron-extract SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-electron-extract/SKILL.md · Extracts resources and JavaScript from any installed Electron app (`.asar` bundle), restoring original sources from…
v1.119.0 · audit A · 27,167 stars
baoyu-format-markdown SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-format-markdown/SKILL.md · Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use…
v1.57.0 · audit A · 27,167 stars
baoyu-infographic SKILL.md skill
jimliu/baoyu-skills · skills/baoyu-infographic/SKILL.md · Generate professional infographics with 21 layout types and 22 visual styles. Analyzes content, recommends layout×style…
v1.117.4 · audit A · 27,167 stars

Every file in jimliu/baoyu-skills

Other files named baoyu-image-gen

baoyu-image-gen SKILL.md skill
quriosity-agent/qcut · qcut/resources/default-skills/qcut-toolkit/baoyu/baoyu-image-gen/SKILL.md · AI image generation with OpenAI, Google, DashScope, Replicate and fal.ai APIs. Supports text-to-image, reference…
git:20260305.7e4067d · audit A · 43 stars
baoyu-image-gen SKILL.md skill
quriosity-agent/qcut · qcut/.agents/skills/qcut-toolkit/baoyu/baoyu-image-gen/SKILL.md · AI image generation with OpenAI, Google, DashScope, Replicate and fal.ai APIs. Supports text-to-image, reference…
git:20260525.2b74e19 · audit A · 43 stars
baoyu-image-gen SKILL.md skill
quriosity-agent/qcut · qcut/.claude/skills/qcut-toolkit/baoyu/baoyu-image-gen/SKILL.md · AI image generation with OpenAI, Google, DashScope, Replicate and fal.ai APIs. Supports text-to-image, reference…
git:20260305.7e4067d · audit A · 43 stars
baoyu-image-gen SKILL.md skill
ethanyoq/skill-hub · archives/user-installed-skills/baoyu-image-gen/a731a72a5659ea55/baoyu-image-gen/SKILL.md · AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax…
git:20260912.84c6c93 · audit A · 11 stars

Browse by kind, by grade A, or by owner.