Borrowing it
Nothing to install: this file belongs to IssacW228/student-llm-wiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/IssacW228/student-llm-wiki/main/.claude/skills/wiki-diagram/SKILL.mdgit clone --depth 1 https://github.com/IssacW228/student-llm-wikiWrote 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/issacw228/student-llm-wiki/wiki-diagram)<a href="https://agentmods.dev/skills/issacw228/student-llm-wiki/wiki-diagram"><img src="https://agentmods.dev/badge/skills/issacw228/student-llm-wiki/wiki-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/issacw228/student-llm-wiki/wiki-diagram"><img src="https://agentmods.dev/badge/skills/issacw228/student-llm-wiki/wiki-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00070 | $0.00714 |
| Opus 5 | $0.00035 | $0.00357 |
| Sonnet 5 | $0.00014 | $0.00143 |
| Haiku 4.5 | $0.00007 | $0.00071 |
Grade A, and why
wiki-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 12d 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
Wiki Diagram — Mermaid 可视化
用 Mermaid 给概念页配图。Obsidian 原生渲染 ```mermaid 代码块,无需安装插件。
何时配图 When to Diagram
只在"文字描述比图更难懂"时配图,不要每页都加。适合配图的情况:
- 多步骤流程/算法 → flowchart
- 协议交互/攻击步骤,含时序(适合 COMP4337) → sequenceDiagram
- 系统架构/模型结构,含组件关系 → flowchart
- 概念分类/知识地图 → mindmap
- 状态转换/生命周期 → stateDiagram-v2
- 概念间关系网(跨课程连接) → graph
不适合配图:单一定义、纯数学公式推导、线性叙述无分支无关系的内容。
图表类型映射 Diagram Type Mapping
| 内容类型 | Mermaid 类型 |
|---|---|
| 算法步骤/数据处理流程 | flowchart TD |
| 协议/攻击交互序列 | sequenceDiagram |
| 模型架构/系统组件 | flowchart LR |
| 概念分类/知识地图 | mindmap |
| 状态机/生命周期 | stateDiagram-v2 |
| 概念间关系网 | graph TD |
放置位置 Placement
在概念页的 直觉 Intuition 或 详细解释 Detailed 章节之后,新增 ## 图解 Diagram 小节。局部插入,不重写全页。
## 图解 Diagram
\`\`\`mermaid
flowchart TD
A[输入 Input] --> B[处理 Process]
B --> C[输出 Output]
\`\`\`
质量规则 Quality Rules
- ≤10 个节点:超过就简化或只画核心路径
- 双语标签:节点文字用"中文 English"或保持和页面其他部分一致的语言风格
- 一页最多 1-2 个图:避免视觉噪音
- 语法要对:节点 ID、箭头、括号/引号配对正确,避免渲染失败
- 若图表来自课件原图:先在来源页文字描述要点,再判断是否用 Mermaid 重绘成更清晰的逻辑图(不需要 1:1 还原)
触发方式 Triggers
- 自动:ingest/review 创建或更新概念页时,按上述标准判断是否需要配图(见 wiki-ingest 步骤)
- 手动:用户说"画图"/"画个图"/"配图"/"diagram this"/"visualize X",或用
/diagram {concept}命令,针对指定概念页生成/补充图表
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.
- 12d ago First seen · 60 lines · 70 tokens per session scan A 4bb0eabe9e44
wiki-diagram is a skill published in the GitHub repository IssacW228/student-llm-wiki (176 stars, last pushed 2mo ago), licensed MIT. It adds 70 tokens to every session and 714 once invoked, about $0.0003 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
llm-wiki
Build and maintain an LLM-curated personal knowledge base — the "LLM Wiki" pattern from Andrej Karpathy's April 2026 gist. Use this skill whenever the user wants to ingest a source (paper, article, transcript, PDF, notes) into a persistent compounding knowledge base, ask a question against accumulated notes, lint or…
wiki-ingest
A workflow for bringing URLs, files, and pasted external material into a LoreKit knowledge collection, then saving it as wiki pages with source links and tracking records.
wiki-lint
A health-check skill for a document knowledge base, also called a corpus. It reports missing metadata, broken links, isolated pages, unreadable sources, and reviews that are overdue.
wiki-output
A workflow for creating outward-facing slides, article drafts, charts, and briefing materials from an existing knowledge base. It saves the finished materials in designated output folders.
corpus-ingest
A cross-project entry point for saving URLs, articles, PDFs, files, and other outside material into a configured LoreKit knowledge collection. It routes the work to that collection's own filing rules.
wiki-ingest
Ingest exactly one research paper or source document into an open-llm-wiki vault. Use when the user explicitly asks to add, ingest, process, or publish a paper into the wiki. The workflow parses the source, drafts a source page, runs independent QA, publishes only after the quality gate passes, extracts and normalizes…