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 CavinHuang/lume --skill lume-mermaidgit clone --depth 1 https://github.com/CavinHuang/lumeWrote 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/cavinhuang/lume/lume-mermaid)<a href="https://agentmods.dev/skills/cavinhuang/lume/lume-mermaid"><img src="https://agentmods.dev/badge/skills/cavinhuang/lume/lume-mermaid/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/cavinhuang/lume/lume-mermaid"><img src="https://agentmods.dev/badge/skills/cavinhuang/lume/lume-mermaid.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.00052 | $0.00584 |
| Opus 5.5 | $0.00021 | $0.00234 |
| Sonnet 5.5 | $0.00010 | $0.00117 |
| Haiku 4.5 | $0.00005 | $0.00058 |
Grade A, and why
Lume Mermaid 图解 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 3mo 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.
What it actually says
Lume Mermaid 图解
只输出 Lume 当前渲染器能够正确显示的 Mermaid,不套用官方 Mermaid 的完整语法能力。
选择图类型
- 流程、架构、依赖、层级:使用
flowchart TD或flowchart LR。 - 交互顺序、调用链:使用
sequenceDiagram。 - 状态变化:使用
stateDiagram-v2。 - 类型关系:使用
classDiagram。 - 数据实体关系:使用
erDiagram。
兼容语法
- Flowchart 节点使用
A[普通单行文本],不要写成A["带引号文本"]。 - 标签保持单行;不要使用
<br/>、<br>、Markdown 或其他 HTML。需要分隔时使用·、/或缩短文案。 - 使用简短稳定的 ASCII 节点 ID,把中文放在标签中。
- 只使用简单连线,如
-->、-.->、==>;边标签使用-->|标签|。 - 只在关闭
subgraph时使用end,不要在普通 Flowchart 末尾添加end。 - 不要输出当前渲染器不支持的
accTitle、accDescr、click或初始化指令。 - 默认不超过 12 个节点;更复杂时拆成多张小图。
工作流程
- 先选择最能表达关系的图类型和方向。
- 再把节点文案缩短到一眼可读,避免在图中复述正文。
- 输出一个
mermaidfenced code block。 - 输出前检查:无 Flowchart 标签引号、无 HTML、无多余
end、无孤立节点、节点不超过 12 个。
示例
架构或依赖关系:
flowchart LR
Root[Lume monorepo] --> Apps[apps · 可部署应用]
Root --> Packages[packages · 共享库]
Root --> Crates[crates · Rust 原生模块]
调用顺序:
sequenceDiagram
User->>Web: 提交请求
Web->>Sidecar: 执行任务
Sidecar-->>Web: 返回结果
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.
- 3mo ago First seen · 55 lines · 52 tokens per session scan A 3c6581bc7e7a
Lume Mermaid 图解 is a skill published in the GitHub repository CavinHuang/lume (3 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 584 once invoked, about $0.0002 per session on Opus 5.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-31.
Lume Mermaid 图解 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Lume Mermaid 图解CavinHuang/lume | Skill | 3 | 3mo ago | MIT | A | 52 | Claude Code, Codex |
| mermaid-diagramshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 55 | Claude Code, Codex |
| echo-accessibility-checkfuyuxiang/echo-agent | Skill | 1.0k | today | AGPL-3.0 | A | 43 | Claude Code |
| guizang-ppt-skillproma-ai/Proma | Skill | 2.3k | 2mo ago | AGPL-3.0 | A | 161 | Claude Code, Codex |
| proma-coachproma-ai/Proma | Skill | 2.3k | 2mo ago | AGPL-3.0 | A | 386 | Claude Code, Codex |
| skill-creatorproma-ai/Proma | Skill | 2.3k | 2mo ago | AGPL-3.0 | A | 64 | Claude Code, Codex |
| automationproma-ai/Proma | Skill | 2.3k | 2mo ago | AGPL-3.0 | A | 390 | Claude Code, Codex |