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.
npx skills add nevergoodstudy-hub/wechat-article-summarizer --skill baoyu-imaginegit clone --depth 1 https://github.com/nevergoodstudy-hub/wechat-article-summarizerWrote 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.
[](https://agentmods.dev/skills/nevergoodstudy-hub/wechat-article-summarizer/baoyu-imagine)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
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:
{baseDir}= this SKILL.md file's directory- Script path =
{baseDir}/scripts/main.ts - Resolve
${BUN_X}runtime: ifbuninstalled →bun; ifnpxavailable →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.
What ships with it
23 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/config/first-time-setup.md 10 KB
- references/config/preferences-schema.md 3.6 KB
- scripts/main.test.ts 13 KB runs code
- scripts/main.ts 38 KB runs code
- scripts/providers/azure.test.ts 5.3 KB runs code
- scripts/providers/azure.ts 5.7 KB runs code
- scripts/providers/dashscope.test.ts 4.3 KB runs code
- scripts/providers/dashscope.ts 13 KB runs code
- scripts/providers/google.test.ts 3.3 KB runs code
- scripts/providers/google.ts 9.6 KB runs code
- scripts/providers/jimeng.test.ts 2.6 KB runs code
- scripts/providers/jimeng.ts 13 KB runs code
- scripts/providers/minimax.test.ts 5.0 KB runs code
- scripts/providers/minimax.ts 6.2 KB runs code
- scripts/providers/openai.test.ts 1.9 KB runs code
- scripts/providers/openai.ts 6.1 KB runs code
- scripts/providers/openrouter.test.ts 5.3 KB runs code
- scripts/providers/openrouter.ts 9.7 KB runs code
- scripts/providers/replicate.test.ts 2.4 KB runs code
- scripts/providers/replicate.ts 5.8 KB runs code
- scripts/providers/seedream.test.ts 6.4 KB runs code
- scripts/providers/seedream.ts 9.6 KB runs code
- scripts/types.ts 1.7 KB runs code
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.
- 2mo ago First seen · 409 lines · 91 tokens per session scan A 75e94053b767
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.
baoyu-imagine compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| baoyu-imaginenevergoodstudy-hub/wechat-article-summarizer | Skill | 5 | 5mo ago | MIT | A | 91 | Claude Code, Codex |
| syncnoschiimagnus/SyncNos | Skill | 236 | 4d ago | AGPL-3.0 | A | 31 | Claude Code, Codex |
| syncnos-zhchiimagnus/SyncNos | Skill | 236 | 4d ago | AGPL-3.0 | A | 34 | Claude Code, Codex |
| longitudinalmycelium-hq/ai-brain-starter | Skill | 61 | today | MIT | A | 114 | Claude Code |
| geotonydzi/second-brain-starter-kit | Skill | 16 | 3d ago | MIT | A | 74 | Claude Code |
| codex-mirrortonydzi/second-brain-starter-kit | Skill | 16 | 3d ago | MIT | A | 87 | Claude Code |
| precedenttonydzi/second-brain-starter-kit | Skill | 16 | 3d ago | MIT | A | 65 | Claude Code |