Study mindmap
Mind-map sub-skill (orchestrated by study-assistant; also usable standalone). Use whenever a chapter knowledge-point mind map needs to be generated or refreshed — the user says "思维导图" "知识图谱" "脑图", or any knowledge point's mastery/status changed. Renders knowledge.json into a zero-dependency offline-capable interactive HTML with collapse/expand, drag/zoom, search, and mastery coloring.From its SKILL.md
npx -y skills add 2362094903-ops/study-assistant-skills --skill study-mindmapAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 1 command, including `python3 ~/.claude/skills/study-mindmap/scripts/build_mindmap.py <study-dir>/internal/state/knowledge.json --chapter <N>`.
SKILL.md
1.6 KB, 306 tokens by cl100k_base, as published. Nobody here has run it
Study Mind Map
Render the knowledge tree in knowledge.json into an interactive HTML mind map. Never hand-write the HTML.
New layout:
python3 ~/.claude/skills/study-mindmap/scripts/build_mindmap.py \
<study-dir>/internal/state/knowledge.json --chapter <N>
Output: <study-dir>/internal/mindmaps/chapter-XX.html. Legacy root knowledge.json outputs to legacy mindmaps/.
Preconditions
knowledge.json must exist and pass validate_workspace.py. This skill renders only; it does not split chapters into points.
Each leaf should be a small teachable/testable unit. A missing formula, law, graph-reading method, or definition is worse than an extra point.
Features to mention to the learner
- Click nodes to collapse/expand.
- Drag to pan, wheel to zoom.
- Search highlights matches and expands their path.
- Leaf colors: 灰 = 未学, 红 = 薄弱, 黄 = 基本, 浅绿 = 熟练, 绿 = 精通.
- High-importance points show a star.
- Hover shows id, importance, status, mastery, note.
Regenerate when
- Any point status/mastery/note changes.
- The knowledge list is revised.
Re-running overwrites the file in place. The browser tab only needs refresh.
What ships with it: 2 files
13.7 KB alongside SKILL.md, 1 of them executable
assets/
- template.html9.8 KB
scripts/
- build_mindmap.pyruns3.9 KB