← 返回
未分类

Mind Map

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.
将 Markdown转换为 PNG 思维导图,支持自由(自动)、居中或水平布局,适用于生成脑图/思维导图的请求。
sawyer-shi sawyer-shi 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 1
Stars
📥 540
下载
💾 1
安装
1
版本
#latest

概述

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

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-03 07:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 332 📥 94,234
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 431 📥 117,370
design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 135 📥 53,039