mindmap

mindmap is a skill for Claude Code from clearsmog/claude-skills. It costs 39 tokens per session (618 once invoked), scanned A, original, MIT.

A tool that turns indented plain text into mind-map images in PNG or SVG format. A mind map places a central topic in the middle and organizes related ideas into branches.

In plain words
What is it for?
Use it to create concept maps, topic overviews, planning diagrams, or visual summaries from text.
Why use it?
It helps turn an unstructured topic or outline into a visual overview. The input can be used directly or expanded into branches and leaves from a short topic.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create concept maps, topic overviews, planning diagrams, or visual summaries from text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clearsmog/claude-skills/mindmap
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.

Any agent
npx skills add clearsmog/claude-skills --skill mindmap
Clone the repo
git clone --depth 1 https://github.com/clearsmog/claude-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mindmap

README.md
[![agentmods](https://agentmods.dev/badge/skills/clearsmog/claude-skills/mindmap/github.svg)](https://agentmods.dev/skills/clearsmog/claude-skills/mindmap)
Your own site
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/mindmap"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/mindmap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mindmap

Your own site · 80×15
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/mindmap"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/mindmap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 618 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00039 $0.00618
Opus 5 $0.00019 $0.00309
Sonnet 5 $0.00008 $0.00124
Haiku 4.5 $0.00004 $0.00062

Measured 8d ago against content hash a374fc29fd30, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mindmap 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_mindmap.mjs), 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.

mindmap/SKILL.md · 70 lines

What it actually says

Generate a mind map image from a topic or plaintext mind map content.

Setup (first run only)

If {baseDir}/scripts/node_modules does not exist, run:

cd {baseDir}/scripts && npm install

Workflow

  1. Generate plaintext mind map content from $ARGUMENTS. If the user provides a short topic, expand it into a full mind map tree (3-4 branches, 3-5 leaves each). If the user provides plaintext content, use it directly.

  2. Write the plaintext to a temp file at /tmp/mindmap-input.txt.

  3. Run the script to render the mind map:

node {baseDir}/scripts/generate_mindmap.mjs -i /tmp/mindmap-input.txt -o "<output-path>" [flags...]
  1. Print the script's stdout to the user. Open the output file with open <path>.

Plaintext format

Use mind-elixir plaintext: a markdown-style indented list. Two-space indentation per level.

- Root Topic
  - Branch 1
    - Leaf 1a
    - Leaf 1b
    - Leaf 1c
  - Branch 2
    - Leaf 2a
    - Leaf 2b
  - Branch 3
    - Leaf 3a
    - Leaf 3b
    - Leaf 3c

Keep topics short (2-5 words per node). Aim for 3-5 branches, 3-5 leaves per branch, max 3 levels deep.

For node colors, arrows, and summaries, see references/advanced-syntax.md.

Flags

-i input, -o output, -f png|svg, -t academic|latte|dark, -d side|right|left, -s scale (default 3), --typst, --caption "...", --typst-width 90%

Defaults: --dir mindmaps/, auto-generates filename from topic.

Example invocation

For /mindmap "Portfolio Theory":

node {baseDir}/scripts/generate_mindmap.mjs \
  -i /tmp/mindmap-input.txt \
  -o "mindmaps/portfolio-theory.png"
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. 8d ago First seen · 70 lines · 39 tokens per session scan A a374fc29fd30

Subscribe to this mod's changes

mindmap is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 39 tokens to every session and 618 once invoked, about $0.0002 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.