mvp-ai's picture
|
download
raw
9.55 kB

๐Ÿง  Mind Map Generator โ€” Claude Skill

A Claude skill that generates interactive, visually polished mind maps from any content โ€” text, documents, conversations, topics, brainstorms, or ideas.

Live demo โ†’ ยท Download .skill ยท MIT

What It Does

Feed it any content and it produces a React artifact with:

  • Radial mind map with semantic grouping (related branches sit adjacent)
  • Interactive controls: pan, zoom, collapse/expand, focus mode, fullscreen
  • Content intelligence: contradiction detection (โšก), gap analysis (โ“), cross-branch links, frequency weighting
  • Progressive disclosure: toggle between keyword-only map view and full detail reading mode
  • Hover tooltips with expanded context for compressed labels
  • Source attribution with clickable ๐Ÿ”— links on individual nodes and a footer reference list
  • 4 color palettes switchable at runtime via ๐ŸŽจ selector
  • 7 export formats: SVG, PNG, PDF, Markdown, Mermaid, embeddable HTML
  • Conversational editing: add, remove, move, rename, merge, split nodes through natural language โ€” no full regeneration needed
  • Adaptive layout: auto-selects radial, semi-circular, top-down tree, or left-to-right flow based on content shape โ€” or override manually
  • Knowledge Atlas: one private published page that stores every map in a database, links maps by shared concepts, and opens any map at #slug โ€” Claude writes maps into it directly, so no rendering code is generated
  • Markmap download: every map has a โฌ‡ .md button that exports a portable Markmap file, built in code with no extra model call
  • Dual output: React artifact (default) for interactive exploration in Claude, or Markmap .md for portable use in VS Code, browsers, and markmap.js.org
  • Deep mode: say --deep on complex documents โ€” generates three competing structures, scores them on six dimensions, and synthesizes the strongest one

Installation

claude.ai โ€” install the .skill file

  1. Download mindmap.skill from the Releases page
  2. Drag it into any Claude chat, or go to Settings โ†’ Profile โ†’ Custom Skills and upload it

Claude Code โ€” install the plugin

/plugin marketplace add 0x-man/mindmap-skill
/plugin install mindmap@mindmap-marketplace

Manual install

Clone this repo and copy skills/mindmap/ into your Claude skills directory.

File Structure

.claude-plugin/
โ”œโ”€โ”€ plugin.json                           # Claude Code plugin manifest
โ””โ”€โ”€ marketplace.json                      # Plugin marketplace catalog

skills/mindmap/                           # Single source of truth
โ”œโ”€โ”€ SKILL.md                              # Core instructions + mandatory code
โ””โ”€โ”€ references/
    โ”œโ”€โ”€ template.md                       # Complete working React template
    โ”œโ”€โ”€ mindmap-best-practices.md         # Cognitive science, palettes, keyword compression
    โ”œโ”€โ”€ export-patterns.md                # SVG/PNG/PDF/Mermaid/Markdown/Embed export code
    โ”œโ”€โ”€ layout-engine.md                  # 4 layout algorithms (radial, semicircle, tree, flow)
    โ”œโ”€โ”€ atlas.html                        # Published Knowledge Atlas page (db-backed)
    โ”œโ”€โ”€ atlas-storage.md                  # Chat fallback: window.storage save and atlas
    โ””โ”€โ”€ judge-panel.md                    # Multi-agent deep structure mode

docs/                                     # GitHub Pages demo site

Both distribution channels read from skills/mindmap/. The .skill file attached to each release is built from this same folder โ€” edit once, ship everywhere.

Usage

Just ask Claude to make a mind map:

  • "Mind map this article" (paste or upload content)
  • "Map out the key concepts of machine learning"
  • "Turn this PDF into a visual summary"
  • "Visualize the structure of this meeting transcript"

Then build your knowledge graph over time:

  • "Save this map" โ€” persists across sessions
  • "Show my atlas" โ€” see all your maps as a connected network
  • "Open my Deep Work map" โ€” reload a saved map
  • "What connects to my crypto map?" โ€” discover cross-map links

Or export as a portable Markmap file:

  • "Mind map this article --md" โ€” generates Markmap directly
  • "Convert to markmap" โ€” converts an existing React map
  • "Make it portable" โ€” same as above

For dense documents where structure really matters:

  • "Mind map this paper --deep" โ€” runs the judge panel for a better structure
  • "Think harder about this one" โ€” same as above

Features in Detail

Feature What it does
Semantic gravity Groups related branches adjacent on the circle
Contradiction detection Flags conflicting claims with โšก and red dashed connectors
Inquiry nodes Adds โ“ nodes where source material has genuine gaps
Cross-links Dotted arcs between nodes in different branches
Focus mode Click โ—Ž on a branch to isolate it, fading everything else
Fullscreen โ›ถ button expands the map to fill the viewport; Escape to exit
Progressive disclosure Toggle "โŠ• Details" to show/hide expanded text under nodes
Palette selector ๐ŸŽจ button with 4 named palettes (Bauhaus, Ocean Sunset, Nordic Forest, Pastel Garden)
Source linking ๐Ÿ”— on hover opens source URL; footer shows numbered reference list
Embed export </> button downloads a self-contained HTML file and copies an iframe snippet
Edge anchoring Connectors start/end at pill edges, not node centers โ€” no text overlap
Conversational editing "Add X under Y", "move Z", "merge these two" โ€” surgical updates without regenerating from scratch
Adaptive layout Auto-selects radial, semi-circular, tree, or flow layout based on content. "Make it a tree" to override.
Knowledge Atlas Where the session can publish artifacts, Claude saves each map as data in a private atlas page (owner-only access rule) and links you straight to it. In claude.ai chat, the ๐Ÿ’พ button saves to browser-side storage instead.
โฌ‡ .md One-click Markmap export from the atlas or any chat map. Opens in VS Code, markmap.js.org, or npx markmap-cli.
Markmap output Say "markmap" or "--md" to get portable Markdown that works in VS Code, markmap.js.org, and any browser via npx.
Deep mode Say "--deep" for dense documents. Three proposers, six-dimension scoring, one synthesizer. Slower and pricier, noticeably better structure.

Token Usage Estimates

Mind map generation is a single-turn operation. Here's what to expect:

Component First map Follow-ups
Input: SKILL.md (always loaded) ~2,300 ~2,300
Input: best-practices reference ~2,500 โ€” (skipped)
Input: export-patterns reference ~1,400 โ€” (skipped)
Input: layout-engine reference ~1,500 โ€” (skipped)
Input: atlas-storage reference ~1,800 โ€” (only when atlas requested)
Input: your content (text/PDF) 1,000โ€“5,000 200โ€“1,000
Input: system prompt overhead ~1,000 ~1,000
Output: response + artifact ~5,500 ~3,000
Total ~15,000โ€“19,000 ~7,000โ€“8,000

In practice: The hybrid architecture (prose for content analysis, inline code for rendering) keeps SKILL.md lean at ~2,300 tokens. Reference files are loaded only on first generation, then skipped โ€” saving ~55% on follow-ups. On Claude Pro, this is well within normal usage. On the API, expect ~$0.05โ€“0.12 per first map and ~$0.02โ€“0.04 per follow-up.

What affects cost:

  • Longer input documents โ†’ more input tokens (but output stays ~5K regardless โ€” the skill compresses aggressively)
  • Follow-ups are significantly cheaper than the first generation
  • Asking for structural changes ("add a branch", "merge these two") regenerates the full artifact (~5K output); cosmetic changes ("change palette") are lighter

Troubleshooting

Claude occasionally drops specific rendering features (save button, edge anchoring, opaque pills) when generating mind maps from scratch. This is a known limitation of LLM code generation โ€” the content analysis and structure extraction work reliably, but visual implementation details can vary between generations.

Quick fix using inline editing (works every time):

Claude now supports inline artifact editing. If a feature is missing from your generated mind map:

  1. Click the artifact to select it
  2. Highlight the area where the feature should be (e.g., the toolbar region)
  3. Type your instruction directly, for example:
    • "Add a ๐Ÿ’พ Save button here that saves to window.storage"
    • "Make all pill backgrounds fully opaque with fillOpacity={1}"
    • "Fix connectors to start at pill edges instead of centers"

Claude will edit the existing artifact code โ€” which it does reliably, since it's modifying code rather than generating from scratch.

Features that work reliably on first generation:

  • Radial layout with semantic gravity
  • 4โ€“7 branch structure with keyword compression
  • Content intelligence (contradictions, gaps, cross-links)
  • Palette system and switching
  • Pan, zoom, collapse/expand
  • Hover tooltips

Features that may need an inline edit prompt:

  • ๐Ÿ’พ Save button
  • Edge-anchored connectors (vs center-to-center)
  • Fully opaque pills (vs semi-transparent)
  • Fullscreen toggle

License

MIT

Xet Storage Details

Size:
9.55 kB
ยท
Xet hash:
14d1558be448a94d57182359afe87fcbb88f6a6476608b55a6914e5649761411

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.