baoyu-skills is a collection of reusable skills that give AI coding agents instructions for tasks such as preparing and publishing content. It supports agents including Claude Code, Codex, and OpenClaw, with users installing only the workflows they need. The catalogue contains selected skills from this collection.
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 JimLiu/baoyu-skills --skill baoyu-diagramgit clone --depth 1 https://github.com/JimLiu/baoyu-skillsWrote 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/jimliu/baoyu-skills/baoyu-diagram)<a href="https://agentmods.dev/skills/jimliu/baoyu-skills/baoyu-diagram"><img src="https://agentmods.dev/badge/skills/jimliu/baoyu-skills/baoyu-diagram/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/jimliu/baoyu-skills/baoyu-diagram"><img src="https://agentmods.dev/badge/skills/jimliu/baoyu-skills/baoyu-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high System Prompt Leakage · line 210 Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
- medium MCP Rug Pull · line 224 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00146 | $0.03514 |
| Opus 5 | $0.00073 | $0.01757 |
| Sonnet 5 | $0.00029 | $0.00703 |
| Haiku 4.5 | $0.00015 | $0.00351 |
Grade A, and why
baoyu-diagram 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 13d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- baoyu-diagram — 100% identical, 0 lines differ
- baoyu-diagram — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram Generator
Create professional SVG diagrams across multiple diagram types. All output is a single self-contained .svg file with embedded styles and fonts.
Supported Diagram Types
| Type | When to Use | Key Characteristics |
|---|---|---|
| Architecture | System components & relationships | Grouped boxes, connection arrows, region boundaries |
| Flowchart | Decision logic, process steps | Diamond decisions, rounded step boxes, directional flow |
| Sequence | Time-ordered interactions between actors | Vertical lifelines, horizontal messages, activation bars |
| Structural | Class diagrams, ER diagrams, org charts | Compartmented boxes, typed relationships (inheritance, composition) |
| Mind Map | Brainstorming, topic exploration | Central node, radiating branches, organic layout |
| Timeline | Chronological events | Horizontal/vertical axis, event markers, period spans |
| Illustrative | Conceptual explanations, comparisons | Free-form layout, icons, annotations, visual metaphors |
| State Machine | State transitions, lifecycle | Rounded state nodes, labeled transitions, start/end markers |
| Data Flow | Data transformation pipelines | Process bubbles, data stores, external entities |
Design System
Color Palette
Semantic colors for component categories:
| Category | Fill (rgba) | Stroke | Use For |
|---|---|---|---|
| Primary | rgba(8, 51, 68, 0.4) |
#22d3ee (cyan) |
Frontend, user-facing, inputs |
| Secondary | rgba(6, 78, 59, 0.4) |
#34d399 (emerald) |
Backend, services, processing |
| Tertiary | rgba(76, 29, 149, 0.4) |
#a78bfa (violet) |
Database, storage, persistence |
| Accent | rgba(120, 53, 15, 0.3) |
#fbbf24 (amber) |
Cloud, infrastructure, regions |
| Alert | rgba(136, 19, 55, 0.4) |
#fb7185 (rose) |
Security, errors, warnings |
| Connector | rgba(251, 146, 60, 0.3) |
#fb923c (orange) |
Buses, queues, middleware |
| Neutral | rgba(30, 41, 59, 0.5) |
#94a3b8 (slate) |
External, generic, unknown |
| Highlight | rgba(59, 130, 246, 0.3) |
#60a5fa (blue) |
Active state, focus, current step |
What ships with it
5 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.
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.
- 13d ago First seen · 249 lines · 146 tokens per session scan A 55a2d050c3a2
baoyu-diagram is a skill published in the GitHub repository JimLiu/baoyu-skills (25,839 stars, last pushed 2d ago), licensed MIT. It adds 146 tokens to every session and 3,514 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
web-frontend-designer
Scaffold frontend architecture, components, routing, and UI dependencies from project config and wireframes.
web-ux-architect
Generate sitemap and wireframe specifications from project-config.json and produce UX planning artifacts.
daftai-image-to-svg
Converts transparent or solid-background single-color PNG files and SVG files containing one embedded or local PNG into verified path-only SVG output. Removes pure-color backgrounds automatically. Uses Potrace threshold and parameter scans with alpha error metrics to preserve detailed logos, stamps, engravings, and…
understand-figma
Analyze a Figma file via the Figma REST API and generate an interactive design knowledge graph (pages, screens, components, component sets, instances, design tokens) with a kind:"design" dashboard.
design-dna
Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure/schema, (2) a user provides…
pm-brand-motion
A guided process for defining a brand's motion style and making a logo animation demonstration.