mind-map-skill

Generate a PNG mind map from Markdown using free (auto), center, or horizontal layout. Use when user asks to produce a brain map/思维导图 from notes.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mind-map-skill" with this command: npx skills add sawyer-shi/mind-map-skill

Mind Map Skill

Generate mind map images locally from Markdown content.

Invocation

Use this skill directly:

  • /mind-map-skill free docs/plan.md
  • /mind-map-skill center "# 项目\n## 模块\n- A\n- B"
  • /mind-map-skill horizontal notes.md

Arguments are mapped as:

  • $0: layout type (free, center, horizontal)
  • $1: markdown file path or inline markdown text

If layout argument is missing, use free.

Execution steps

  1. Parse $ARGUMENTS.
  2. Resolve markdown input:
    • If $1 is a file path, read file content.
    • Otherwise treat $1 as inline markdown.
  3. Run from repository root (D:\Work\skills\mind_map):
python mind-map-skill/scripts/run_mind_map.py --layout <layout> --input "<file-or-markdown>" --output-dir mind_map_output

By default, output files are grouped by date under mind_map_output/YYYY-MM-DD/. Use --flat-output to write directly into mind_map_output/.

  1. Report:
    • selected layout
    • output PNG path
    • input markdown saved path (same dated folder)
    • node count and depth

Layout behavior

  • center: radial structure (equivalent to mind_map_center capability)
  • horizontal: left-to-right structure (equivalent to mind_map_horizontal capability)
  • free: auto select based on complexity (equivalent to mind_map_free capability)

Auto rule in free mode:

  • choose center when depth <= 4 and total_nodes <= 100
  • otherwise choose horizontal

Supporting files

  • Runtime engine: mind-map-skill/scripts/mind_map_generator.py
  • Runner script: mind-map-skill/scripts/run_mind_map.py
  • Example markdown: mind-map-skill/examples/sample.md
  • Parameter schema (optional compatibility): mind-map-skill/skill.yaml
  • Detailed reference: mind-map-skill/reference.md
  • Usage examples: mind-map-skill/examples.md

Font behavior

  • On first run, the skill attempts to download a CJK font to local cache: ~/.cache/mind-map-skill/chinese_font.ttc.
  • Download source in repository: resources/chinese_font.ttc (not part of skill upload package).
  • If download is unavailable, it falls back to prioritized system CJK fonts (Linux/macOS/Windows specific order).

Project metadata

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ephemeral Media Hosting

自動削除機能付き一時メディアホスティングシステム

Registry SourceRecently Updated
General

Ethereum Read Only

Foundry castを使用したウォレット不要のオンチェーン状態読み取り

Registry SourceRecently Updated
General

OpenClaw Memory

Manage, optimize, and troubleshoot the OpenClaw memory system — MEMORY.md curation, daily logs (memory/YYYY-MM-DD.md), memory_search tuning, compaction survi...

Registry SourceRecently Updated
General

ImageRouter

Generate AI images with any model using ImageRouter API (requires API key).

Registry SourceRecently Updated
2.6K2dawe35