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 | $0.00046 | $0.02869 |
| Sonnet 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 6d 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.
- 6d 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 2mo ago), licensed MIT. It adds 91 tokens to every session and 5,738 once invoked, about $0.0005 per session on Opus 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.
Other skills, from other repositories
canvas
Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, spatial layouts, adding vault notes or media to a .canvas file, and requests such as create canvas, add to canvas, or put this on the canvas.
plannotator-visual-explainer
Generate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide decks, and any visual explanation of technical concepts. Plans and PR explainers follow Plannotator's prescriptive approach; all other visual content delegates to…
json-canvas
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.
knowledge-base-management
A lifecycle system for managing an Obsidian knowledge base, which is a folder of linked notes. It organizes raw material, AI-maintained wiki pages, and generated views into separate layers.
douyin-favorites-to-knowledge
A tool for copying videos saved in an authorised Douyin account into a local Markdown or Obsidian knowledge base. Douyin is a Chinese short-video platform, and Obsidian is an app for organising linked notes.
repurpose-talk
Use when the user just gave a talk, panel, fireside chat, keynote, workshop, podcast, or webinar and wants content made from it — triggers like "I just gave a talk", "the panel is done", "just finished speaking", "turn my talk into LinkedIn posts", "repurpose this recording/transcript into posts, notes, or clips", or…