JB

jaderson-bit/mindmap-markmap-viewer

Data science & ML

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

75 stars Качество 56 Тренд 18MIT

A Claude Code skill that turns Markdown outlines into interactive, offline mind maps with markmap.js — white-on-dark, searchable (match + ancestors), with a zoom / expand / export toolbar.

Обзор

A Claude Code skill that turns hierarchical Markdown into an with markmap.js — readable white-on-dark by default, with expand-by-level control and a search that filters the tree to matches (so a hit always shows up in context, not floating alone). Works standalone or embedded in Streamlit. — an actual generated map, in your browser: pan, zoom, fold branches, export SVG/PNG. The page is one self-contained HTML file, exactly what the skill produces. No install needed — paste this into Claude (Claude Code or the app): Using this skill https://github.com/Jaderson-bit/mindmap-markmap-viewer, create a mindmap of Product Management. Claude clones the skill on the fly, follows its authoring rules (balanced branches, short labels), and hands back an interactive .html that opens offline plus the editable .md source of truth. Swap "Product Management" for anything you want mapped.

README

Показан фрагмент оригинального README. Открыть оригинал.

mindmap-markmap-viewer

A Claude Code skill that turns hierarchical Markdown into an interactive SVG mind map with markmap.js — readable white-on-dark by default, with expand-by-level control and a search that filters the tree to matches plus their ancestors and descendants (so a hit always shows up in context, not floating alone). Works standalone or embedded in Streamlit.

▶ Live demo — an actual generated map, in your browser: pan, zoom, fold branches, export SVG/PNG. The page is one self-contained HTML file, exactly what the skill produces.

Try it in one line

No install needed — paste this into Claude (Claude Code or the app):

Using this skill https://github.com/Jaderson-bit/mindmap-markmap-viewer, create a mindmap of Product Management.

Claude clones the skill on the fly, follows its authoring rules (balanced branches, short labels), and hands back an interactive .html that opens offline plus the editable .md source of truth. Swap “Product Management” for anything you want mapped.

Why this exists

markmap renders a Markdown outline as a zoomable mind map, but three things need a layer on top to be genuinely usable:

  • Visibility — a white font is invisible on the white default surface; the renderer paints its own dark backdrop so the map is readable everywhere, not just in a dark host.
  • Expand control — collapse to N levels or expand everything, without rebuilding the map.
  • Search that keeps context — filtering to just the matching nodes loses the path that explains where a hit lives; this keeps ancestors and the matched subtree.

Features

  • One call to a single self-contained HTML file (build_html / write_mindmap) — the markmap stack (vendored locally and pinned exact) is inlined into the page, so the one .html opens offline anywhere with no CDN, no network, and no sibling files to keep alongside it.
  • Built-in navigation toolbar: zoom in/out, fit-to-window, expand-all / collapse-all, and export to SVG / PNG (2× raster, current fold state).
  • Expand-by-level (set_expand_level), including expand-all (-1).
  • Accent-insensitive, context-preserving search (filter_markmap).
  • HTML-safe: ``, & in node text (List, a < b) round-trip correctly instead of breaking the page.
  • Zero runtime dependencies for the core — Python standard library only. Streamlit is an optional import, used only when you embed.

Install

Ask Claude Code to install it from this repo:

Install this skill from https://github.com/Jaderson-bit/mindmap-markmap-viewer

Or, as a developer, clone it into your skills directory:

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add jaderson-bit/mindmap-markmap-viewer
Новичок в MCP? Начните с руководства на mcpskill.org →