serenakeyitan/open-exam-skills/mindmap
Claude Code and agent skill by serenakeyitan/open-exam-skills
- community
Checking that the SKILL.md file is still in the repository.
Create interactive mind maps from notes or outlines.
Install
npx vskill@latest install serenakeyitan/open-exam-skills/mindmapSKILL.md
Mind Map
Convert Markdown files to interactive HTML mind maps with enhanced features. Uses official Markmap frontend with custom controls.
What This Skill Does
Input: Markdown file with heading hierarchy (# ## ### ####) Output: Interactive HTML with enhanced features
This is a pure converter - no LLM required. Agent generates Markdown → this skill converts to interactive HTML.
Output Contract
- Produces a self-contained HTML file with the interactive mind map.
- Export controls allow users to download PNG and HTML versions from the UI.
Enhanced Features
1. Smart Default Collapse
- Opens with only first level visible (minimalist view)
- Users can manually expand nodes one-by-one
- Reduces cognitive load on complex maps
2. Export Functionality
- Export PNG button: Export mindmap as high-quality PNG image
- Export HTML button: Export the current page as a standalone HTML file
- Both buttons located in top-right control panel
- Downloads automatically to your default download folder
3. Click-to-Discuss
- Click any node's text (not the branch circle)
- Generates discussion prompt: "讨论这些来源关于「[node title]」相关的内容"
- Appears in bottom panel with:
- Copy to Clipboard button
- Close button
- Clicking branch circles only expands/collapses (no prompt)
4. Markmap Standard Features
- Zoom with mouse wheel
- Pan by dragging
- Click circles to expand/collapse
- Responsive design
- Offline support (all assets embedded)
Workflow
Usage
Parameters:
--input,-i: Input Markdown file (required)--output,-o: Output HTML file (default: mindmap.html)
Example Markdown Format
Math (KaTeX)
Markmap includes a KaTeX plugin, so math renders automatically when you use LaTeX delimiters inside headings.
Notes:
- Inline math uses
$...$and block math uses$$...$$. - Escape literal dollar signs as
\$to avoid math parsing. - When math is present, a
fonts/folder is created next to the HTML output.
User Interactions
| Action | Behavior | |
|---|---|---|
| Click "Export PNG" button | Downloads mindmap as PNG image | |
| Click "Export HTML" button | Downloads current mindmap page as HTML | |
| Click node text | Shows discussion prompt at bottom | |
| Click node circle | Expands/collapses that branch only | |
| Mouse wheel | Zoom in/out | |
| Drag background | Pan the view | |
| Click "Copy" in prompt panel | Copies prompt to clipboard |
Generated HTML Structure
Technical Details
- No LLM/AI: Pure Markdown → HTML conversion
- No API Keys: No external API calls
- Frontend: Official Markmap library + custom enhancements
- Default State: Collapsed to level 1
- Export: PNG (SVG render via canvg) and HTML (full page)
- Prompt Format: Chinese template (customizable in code)
Dependencies
Python
Only requires: loguru (logging)
System
- Node.js/npx: For markmap-cli
- Auto-downloads on first use:
npx -y markmap-cli
Customization
To change the prompt format, edit main.py line 204:
Replace with your preferred template, e.g.:
Integration with Agent
When asking Agent to generate mind maps:
- Request heading-only format (# ## ### ####)
- No bullet points or numbered lists
- Keep headings concise (3-8 words)
Then convert:
Open mindmap.html in any browser for full interaction.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mindmap/SKILL.md
Popularity
- Repository stars
- 139
- Repository forks
- 21
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/serenakeyitan/open-exam-skills/mindmap)