mindmap

mindmap is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 154 tokens per session (772 once invoked), scanned A, original, Apache-2.0.

A tool that turns a Markdown outline into an interactive mind map in a single HTML file, with an optional PNG export. A mind map displays a central topic with branching ideas and details.

In plain words
What is it for?
Use it to map knowledge, organize content, plan a topic, show a SWOT analysis, or present a structured set of ideas.
Why use it?
It converts a structured outline into a visual hierarchy that is easier to explore than plain text. The outline’s headings and list items determine the branches and leaf nodes.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/zju-real/easel/mindmap
Any agent
npx skills add ZJU-REAL/Easel --skill mindmap
Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for mindmap

README.md
[![agentmods](https://agentmods.dev/badge/skills/zju-real/easel/mindmap.svg)](https://agentmods.dev/skills/zju-real/easel/mindmap)
Your own site
<a href="https://agentmods.dev/skills/zju-real/easel/mindmap"><img src="https://agentmods.dev/badge/skills/zju-real/easel/mindmap.svg" alt="Measured on agentmods" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00154 $0.00772
Opus 5 $0.00077 $0.00386
Sonnet 5 $0.00031 $0.00154
Haiku 4.5 $0.00015 $0.00077

Measured 5d ago against content hash 5410ab7ffe82, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mindmap 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 5d 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.

skills/openclaw/mindmap/SKILL.md · 63 lines

What it actually says

思维导图(Markdown → 脑图)

把 Markdown 大纲渲染成可交互思维导图 HTML,可选导出 PNG。走 skills/shared/scripts/mindmap.py (markmap)。

数据图表见 chart-visualization;信息图/流程图见 infographic;本 SKILL 专做层级大纲脑图

输入

Markdown 大纲(用标题 #/##/### 表示层级,- 列表表示叶子):

# 中心主题
## 分支一
- 要点 A
- 要点 B
## 分支二
- 要点 C

输出(outputs/主题名/

  • 思维导图 HTML(单文件;markmap JS 走 CDN,联网可交互展开/折叠,离线打开不可交互)
  • 可选 PNG 图片(--png

执行

脚本路径(相对项目根):skills/shared/scripts/mindmap.pymake -h)。

# 先把内容整理成 Markdown 大纲(你来做),存为 outline.md,再:
python skills/shared/scripts/mindmap.py make -i outline.md \
  -o outputs/主题名/mm.html --png

-i - 可从 stdin 读;--title 自定义标题;--bg 背景色。

用法要点

  1. 先把内容组织成清晰的 Markdown 大纲(层级分明、每节点简短)——这是脑图质量的关键, 由你(LLM)完成:从文章/主题提炼中心 → 分支 → 要点。
  2. 层级建议 2-4 层,节点文字精炼(几个字),别把整句话塞进节点。
  3. HTML 可交互(展开/折叠、缩放),适合分享或嵌入;PNG 适合直接发图。

前置(PNG)

PNG 渲染需 playwright + chromium + 外网(markmap JS 走 CDN)。仅要 HTML 则无额外依赖。

规则

  1. 内容先成 Markdown 大纲再渲染,不要把无结构的长文直接丢进去。
  2. 节点简洁;层级不宜过深(超过 4 层可读性差)。
  3. 产物统一进 outputs/主题名/

参考来源

markmap(Markdown → 交互式思维导图)是开源标准方案;本 SKILL 生成自包含 HTML(CDN 加载 markmap),并用 Chromium 无头渲染导出 PNG。

Changes

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.

  1. 5d ago First seen · 63 lines · 154 tokens per session scan A 5410ab7ffe82

Subscribe to this mod's changes

mindmap is a skill published in the GitHub repository ZJU-REAL/Easel (304 stars, last pushed yesterday), licensed Apache-2.0. It adds 154 tokens to every session and 772 once invoked, about $0.0008 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.