markmap-generator

A tool for turning hierarchical notes into interactive mind maps—diagrams that show ideas as connected branches. It produces an HTML file that can be opened and zoomed in a web browser.

In plain words
What is it for?
Use it to map concepts, plan a project, brainstorm, or display a hierarchy in a shareable browser file.
Why use it?
It makes large outlines or brainstorming notes easier to see and navigate than a flat list of text.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/smartbrainactivity/visual-diagramming-export/markmap-generator
Any agent
npx skills add smartbrainactivity/visual-diagramming-export --skill markmap-generator
Clone the repo
git clone --depth 1 https://github.com/smartbrainactivity/visual-diagramming-export

Made for: Claude Code, Codex.

Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 657 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00070 $0.00657
Opus 5 $0.00035 $0.00329
Sonnet 5 $0.00014 $0.00131
Haiku 4.5 $0.00007 $0.00066

Measured 2d ago against content hash 1ffcfb1918e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

markmap-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/build_map.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

markmap-generator/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Markmap Generator

This skill enables Claude to generate fully interactive, zoomable HTML mind maps on the user's local machine without needing API keys or deep third-party plugins, relying on the Markdown translation package markmap-cli.

When to Use This Skill

  • The user requests a mind map, brainstorming diagram, or concept tree.
  • The user wants a standalone HTML file they can easily open in their browser or share.
  • The data is hierarchical and suited for bullet-point Markdown representation.

How to Execute the Workflow

Follow these steps strictly to produce the final diagram:

1. Design the Markdown Source

Translate the user's idea or the structure you want to visualize into a strict Markdown unordered list format using - (bullets) and proper indentation for nested branches.

  • Use the H1 # tag as the root node of the mind map.
  • Strictly adhere to ESTILO_TIPOGRAFICO_SENTENCE_CASE.md (if available in context) or, generally, use sentence case for the text inside the nodes (capitalizing only the first letter of the first word).

2. Write the Temporary Markdown File

Save your generated Markdown content into a temporary file inside the diagrams/ folder of this skill. Include math equations or inline styles if necessary, but keep it clean. For example, save to diagrams/temp_mindmap.md.

3. Compile the Markmap HTML using the Bundled Script

Instead of running raw npx commands and handling files manually, use the automated builder script included in this skill.

Command to run: Use the run_command tool to execute the Node compilation script located in the scripts/ directory alongside this SKILL.md. Point to the files in the diagrams/ folder:

node "C:\Users\FL2024\.gemini\antigravity\skills\visual-diagramming-export\markmap-generator\scripts\build_map.js" "diagrams/temp_mindmap.md" "diagrams/mindmap_result.html"

(Note: If the terminal returns an error like "node is not recognized", you MUST stop and run node c:\Users\FL2024\.gemini\antigravity\skills\visual-diagramming-export\scripts\start-skill.js to trigger the installation wizard for the user). Note: The script compiles the markdown, saves it, and completely handles temporary file cleanup automatically.

Read the full file on GitHub · 45 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 45 lines · 70 tokens per session scan A 1ffcfb1918e9

Subscribe to this mod's changes

markmap-generator is a skill published in the GitHub repository smartbrainactivity/visual-diagramming-export (3 stars, last pushed 5mo ago), licensed MIT. It adds 70 tokens to every session and 657 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

c4-architecture-c4-architecture

Generate comprehensive C4 architecture documentation for an existing repository/codebase using a bottom-up analysis approach.

rmyndharis/antigravity-skills · 28 tokens

code-review-ai-ai-review

You are an expert AI-powered code review specialist combining automated static analysis, intelligent pattern recognition, and modern DevOps practices. Leverage AI tools (GitHub Copilot, Qodo, GPT-5, C.

rmyndharis/antigravity-skills · 48 tokens

angular-migration

Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.

rmyndharis/antigravity-skills · 42 tokens

architecture-decision-records

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

rmyndharis/antigravity-skills · 41 tokens

arm-cortex-expert

Senior embedded software engineer specializing in firmware and driver development for ARM Cortex-M microcontrollers (Teensy, STM32, nRF52, SAMD). Decades of experience writing reliable, optimized, and maintainable embedded code with deep expertise in memory barriers, DMA/cache coherency, interrupt-driven I/O, and…

rmyndharis/antigravity-skills · 72 tokens

article-illustrations

Generate hand-drawn 16:9 article illustrations featuring the Grav character IP. Turns article concepts into memorable whiteboard-sketch explanations with a recurring floating character, sparse annotations, and absurd metaphors.

rmyndharis/antigravity-skills · 45 tokens