baoyu-imagine

baoyu-imagine is a skill for Claude Code, Codex from nevergoodstudy-hub/wechat-article-summarizer. It costs 91 tokens per session (5,738 once invoked), scanned A, a copy of baoyu-image-gen, MIT.

An AI image-generation tool that creates pictures from text or reference images using multiple image services.

In plain words
What is it for?
Use it to create images, guide results with reference pictures, choose image proportions, or generate batches from saved prompts.
Why use it?
It gives one workflow for generating images instead of requiring separate tools for each service.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions subagents; names the AskUserQuestion tool; built for openclaw.

Good fit Use it to create images, guide results with reference pictures, choose image proportions, or generate batches from saved prompts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nevergoodstudy-hub/wechat-article-summarizer --skill baoyu-imagine
Clone the repo
git clone --depth 1 https://github.com/nevergoodstudy-hub/wechat-article-summarizer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for baoyu-imagine

README.md
[![agentmods](https://agentmods.dev/badge/skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine/github.svg)](https://agentmods.dev/skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine)
Your own site
<a href="https://agentmods.dev/skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine"><img src="https://agentmods.dev/badge/skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for baoyu-imagine

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine"><img src="https://agentmods.dev/badge/skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,738 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.05738
Opus 5.5 $0.00036 $0.02295
Sonnet 5.5 $0.00018 $0.01148
Haiku 4.5 $0.00009 $0.00574

Measured 2mo ago against content hash 75e94053b767, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

baoyu-imagine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 21 executable files (scripts/main.test.ts, scripts/main.ts, scripts/providers/azure.test.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

92% identical to baoyu-image-gen — 30 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.warp/skills/baoyu-imagine/SKILL.md · 409 lines

How it starts

The opening of the file, as written. The whole thing — 409 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Generation (AI SDK)

Official API-based image generation. Supports OpenAI, Azure OpenAI, Google, OpenRouter, DashScope (阿里通义万象), MiniMax, Jimeng (即梦), Seedream (豆包) and Replicate providers.

Script Directory

Agent Execution:

  1. {baseDir} = this SKILL.md file's directory
  2. Script path = {baseDir}/scripts/main.ts
  3. Resolve ${BUN_X} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bun

Step 0: Load Preferences ⛔ BLOCKING

CRITICAL: This step MUST complete BEFORE any image generation. Do NOT skip or defer.

Check EXTEND.md existence (priority: project → user):

# macOS, Linux, WSL, Git Bash
test -f .baoyu-skills/baoyu-imagine/EXTEND.md && echo "project"
test -f "${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-imagine/EXTEND.md" && echo "xdg"
test -f "$HOME/.baoyu-skills/baoyu-imagine/EXTEND.md" && echo "user"
# PowerShell (Windows)
if (Test-Path .baoyu-skills/baoyu-imagine/EXTEND.md) { "project" }
$xdg = if ($env:XDG_CONFIG_HOME) { $env:XDG_CONFIG_HOME } else { "$HOME/.config" }
if (Test-Path "$xdg/baoyu-skills/baoyu-imagine/EXTEND.md") { "xdg" }
if (Test-Path "$HOME/.baoyu-skills/baoyu-imagine/EXTEND.md") { "user" }
Result Action
Found Load, parse, apply settings. If default_model.[provider] is null → ask model only (Flow 2)
Not found ⛔ Run first-time setup (references/config/first-time-setup.md) → Save EXTEND.md → Then continue

CRITICAL: If not found, complete the full setup (provider + model + quality + save location) using AskUserQuestion BEFORE generating any images. Generation is BLOCKED until EXTEND.md is created.

Path Location
.baoyu-skills/baoyu-imagine/EXTEND.md Project directory
$HOME/.baoyu-skills/baoyu-imagine/EXTEND.md User home

Legacy compatibility: if .baoyu-skills/baoyu-image-gen/EXTEND.md exists and the new path does not, runtime renames it to baoyu-imagine. If both files exist, runtime leaves them unchanged and uses the new path.

Read the full file on GitHub · 409 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 409 lines · 91 tokens per session scan A 75e94053b767

Subscribe to this mod's changes

baoyu-imagine is a skill published in the GitHub repository nevergoodstudy-hub/wechat-article-summarizer (5 stars, last pushed 5mo ago), licensed MIT. It adds 91 tokens to every session and 5,738 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to baoyu-image-gen, differing in 30 lines, and is treated as a copy.

Related

baoyu-imagine compared with skills from other repositories

baoyu-imagine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
baoyu-imaginenevergoodstudy-hub/wechat-article-summarizerSkill55mo agoMITA91Claude Code, Codex
syncnoschiimagnus/SyncNosSkill2364d agoAGPL-3.0A31Claude Code, Codex
syncnos-zhchiimagnus/SyncNosSkill2364d agoAGPL-3.0A34Claude Code, Codex
longitudinalmycelium-hq/ai-brain-starterSkill61todayMITA114Claude Code
geotonydzi/second-brain-starter-kitSkill163d agoMITA74Claude Code
codex-mirrortonydzi/second-brain-starter-kitSkill163d agoMITA87Claude Code
precedenttonydzi/second-brain-starter-kitSkill163d agoMITA65Claude Code