Generate offline interactive mindmap HTML and convert Markdown, outlines, meeting notes, chapter structures, or JSON trees into markmap-compatible format. Use when organizing long text into mindmaps, converting meeting notes to mindmap pages, generating final HTML via markmap-cli, or adding browsable mindmaps to deliverables.
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
First organize input into a clear tree hierarchy, then call scripts/generate_mindmap_html.py to generate offline HTML.
Prioritize reusing existing heading structure; do not modify visual code first — get structure correct, then let the script generate the output.
Tip: The generated HTML page now includes a top toolbar: Export PNG / Fullscreen. Content generation logic remains identical.
text / children, then render directly.CONFIG block at the top of scripts/generate_mindmap_html.py.input_path: Input file path.output_html_path: Output HTML path.output_markdown_path: Intermediate Markdown path.page_title: Page title.fallback_title: Fallback title when no root heading exists.auto_bold_levels: Heading levels to bold by default, recommend keeping [1, 2].plain_text_root_max_children: Maximum level-1 branches when auto-splitting plain text.plain_text_child_max_children: Maximum child items per level-1 branch when auto-splitting plain text.Run:
python scripts/generate_mindmap_html.pyThe script will:
npx markmap-cli to export offline HTML.npx or markmap-cli is missing, install the Node.js environment first..md, .txt, .json.# to ######), then indented lists.text and children.CONFIG — do not pile CLI arguments.# and ## level headings are bold by default; ### and below automatically remove bold.CONFIG["auto_bold_levels"], but bolding level-3+ is not recommended.MARKMAP_INIT_OPTIONS["colorFreezeLevel"] = 2. This freezes colors at "root + level-1 branch"; setting to 1 makes the entire map nearly monochrome.MARKMAP_THEME — do not manually edit line colors in exported HTML.scripts/generate_mindmap_html.pyConverts structured text to markmap source Markdown and generates offline HTML.
references/input-patterns.mdRead when deciding how to organize input — contains recommended structure templates and examples.
encoding="utf-8".ensure_ascii=False.| Field | Required | Format/Source | Example | If Missing |
|---|---|---|---|---|
| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |
| Primary input material | Depends on task | Text, file path, ID, table, or literature | PMID, PDF, CSV, DOCX, keywords, etc. | Specify which material type is missing |
| Output preference | No | Text | Language, format, target journal, template | Use skill default format |
This skill accepts requests that match the documented purpose of mindmap-html-generator and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions.
f5ef65b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.