Huo15 Mind Map

v1.1.1

规范 + 时尚的思维导图生成。输入 Markdown 大纲 / JSON / OPML / XMind,输出 XMind 2021+ (.xmind)、OPML、FreeMind (.mm)、Markdown、PNG、PDF、SVG;内置 10 种风格(modern / classic / dark / xiao...

0· 149·0 current·0 all-time
byJob Zhao@zhaobod1

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zhaobod1/huo15-mind-map.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Huo15 Mind Map" (zhaobod1/huo15-mind-map) from ClawHub.
Skill page: https://clawhub.ai/zhaobod1/huo15-mind-map
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install huo15-mind-map

ClawHub CLI

Package manager switcher

npx clawhub@latest install huo15-mind-map
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description, CLI examples, Python API, and code files all implement the same functionality: parse outlines/XMind/OPML/JSON and produce XMind/OPML/FreeMind/Markdown and rendered images. Required libraries (matplotlib, Pillow) are appropriate for rendering. Minor metadata mismatch: registry lists v1.1.1 while _meta.json and SKILL.md show v1.1.0; this is an administrative/versioning inconsistency but not a functional security concern.
Instruction Scope
Runtime instructions and the scripts only read input files or stdin and write files to the specified output path. There are no instructions to read unrelated system files, environment variables, or to transmit data externally. The code uses standard libraries for parsing and rendering; parsing XMind/OPML/Markdown occurs locally.
Install Mechanism
This is instruction-only (no install spec). SKILL.md declares python-packages (matplotlib, Pillow) which are reasonable for rendering but the skill does not provide an automated installer — the runtime must already have these packages. This is operational rather than a security issue; users should ensure dependencies are installed in a trusted environment.
Credentials
The skill requests no environment variables, secrets, or config paths. Its operations (file reads/writes) are proportional to the stated purpose.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does not modify other skills or global agent settings.
Assessment
This skill appears to do exactly what it claims: local parsing and rendering of mind maps. Before installing/running: (1) ensure the runtime environment has the declared Python packages (matplotlib, Pillow) from trusted sources; (2) review any input files you pass (untrusted archives may contain unexpected content, though this code only reads content.json from XMind ZIPs and XML for OPML); (3) be aware the scripts will write files to paths you specify — avoid pointing outputs at sensitive system locations. Also note the small version metadata mismatch (v1.1.1 vs v1.1.0) — confirm you have the intended release if that matters to you.

Like a lobster shell, security has layers — review code before you run it.

latestvk97a2qtftqv3pwsp1jrmffpwhh85fdyx
149downloads
0stars
3versions
Updated 4d ago
v1.1.1
MIT-0

火一五思维导图技能 v1.0

规范 + 时尚的思维导图生成器 — 青岛火一五信息科技有限公司


一、核心能力

  1. 一端多出 — 同一个输入可同时导出:
    • .xmind(XMind 2021+ ZIP,含 content.json / metadata.json / manifest.json)
    • .opml(OPML 2.0,兼容 MindNode / 幕布 / WorkFlowy / Apple Notes)
    • .mm(FreeMind 格式,兼容 XMind、EdrawMind、亿图图示、幕布)
    • .md(Markdown outline,方便回写知识库 / 复用)
    • .png / .pdf / .svg(渲染图,发群/导入幻灯都合适)
    • .json(内部统一结构,编程复用)
  2. 十种风格modern / classic / dark / xiaohongshu / ocean / forest / sunset / minimal / pastel / github(中文别名:现代 / 经典 / 暗色 / 小红书 / 海洋 / 森林 / 夕阳 / 极简 / 马卡龙 / 极客)。
  3. 多种输入 — Markdown 大纲 / 内部 JSON / OPML / 已有的 XMind 文件都能读;Markdown 支持标题 (#) 与无序/有序列表混排。
  4. 中文友好 — 自动选取系统内的 PingFang SC / Microsoft YaHei / Noto Sans CJK 等字体。

二、输入格式

2.1 Markdown 大纲(推荐)

# 火一五产品矩阵              # 第 1 个标题成为根节点

## 核心平台                   # ##  → 一级分支
### 龙虾 OpenClaw             # ### → 二级分支
- 插件体系                    # 缩进列表 → 下一级叶子
- 技能市场
- 场景编排
### 辉火云管家·贾维斯
- 跨应用代理
- 记忆系统

## 行业解决方案
### 机器人企业
- 数字化管家
...

规则:

  • 第一个出现的 # 标题升格为根节点;
  • 后续 ## ### 依次作为子级;
  • - item / * item / 1. item 可接续在标题后面作为更深层级;
  • 连续非标题非列表的文本行会挂到当前节点的 note 上,导出 XMind 时会写入 notes.plain.content

2.2 内部 JSON

{
  "title": "火一五产品矩阵",
  "children": [
    {"title": "核心平台", "children": [
      {"title": "龙虾 OpenClaw"}, {"title": "辉火云管家"}
    ]},
    {"title": "行业解决方案"}
  ]
}

2.3 OPML / XMind 导入

直接喂路径给 --input,用 --input-format opml|xmind 强制解析器。


三、命令行

3.1 基础用法

# 1. 从 Markdown 生成 XMind(默认 modern 风格)
python3 scripts/create-mind-map.py \
  --input outline.md \
  --output /tmp/map.xmind

# 2. 同时导出 PNG + PDF + OPML(基于 --output 的同名文件)
python3 scripts/create-mind-map.py \
  --input outline.md \
  --output /tmp/map.xmind \
  --also png,pdf,opml \
  --style xiaohongshu

# 3. 仅渲染为 PNG,指定分辨率
python3 scripts/create-mind-map.py \
  --input outline.md \
  --output /tmp/map.png \
  --style dark --dpi 300

# 4. 把现有 XMind 转换为 Markdown
python3 scripts/create-mind-map.py \
  --input existing.xmind --input-format xmind \
  --output /tmp/existing.md

# 5. 从 stdin 读 Markdown
cat outline.md | python3 scripts/create-mind-map.py \
  --output /tmp/map.png --style modern

3.2 参数速查

参数说明
--input / -i输入文件路径(md / json / opml / xmind)
--input-text直接传 Markdown / JSON / OPML 字符串
--input-formatauto (默认) / markdown / json / opml / xmind
--output / -o主输出路径;扩展名决定格式
--also逗号分隔的额外格式(基于 --output 同名)
--stylemodern / classic / dark / xiaohongshu / ocean / forest / sunset / minimal / pastel / github(默认 modern,支持中文别名)
--dpiPNG 分辨率(默认 200)
--sheet-nameXMind sheet 名称(默认用根节点标题)
--title手动覆盖根节点标题

四、Python API

import sys
sys.path.insert(0, 'scripts')

from mindmap_tree import parse_markdown, to_xmind, to_opml, to_json
from mindmap_render import render

with open('outline.md', encoding='utf-8') as fh:
    root = parse_markdown(fh.read())

to_xmind(root, '/tmp/map.xmind')
print(to_opml(root)[:200])
render(root, '/tmp/map.png', style_name='xiaohongshu', dpi=240)

主要 API:

函数说明
parse_markdown(text) → NodeMarkdown outline → 树
parse_json(text) → Node内部 JSON → 树
parse_opml(text) → NodeOPML 2.0 → 树
parse_xmind(path) → NodeXMind 2021+ → 树
to_xmind(root, path)写 XMind
to_opml(root) → strOPML 字符串
to_markdown(root) → strMarkdown 字符串
to_freemind(root) → strFreeMind .mm 字符串
to_json(root) → str内部 JSON
render(root, path, style_name, dpi)渲染 PNG/PDF/SVG

Node 数据结构(可自由增删):

@dataclass
class Node:
    title: str
    note: str = ''
    children: List[Node] = []

五、风格

key名称背景主色适用场景
modern(默认)现代商务白底 #FFFFFF深蓝灰 #2C3E50对外汇报、产品方案
classic经典稳重浅灰 #FAFAFA靛蓝 #374785正式文档、技术白皮书
dark暗色霓虹深蓝 #0F172A亮蓝 #38BDF8大屏演示、暗色幻灯
xiaohongshu (xhs, 小红书)小红书暖奶油奶油 #FFF8F3小红书红 #FF2442营销帖、品牌故事
ocean (海洋, )海洋蓝冰蓝 #F8FBFE深蓝 #0077B6SaaS 产品、技术架构
forest (森林, 绿, 自然)森林绿米白 #F7FAF8墨绿 #2D6A4F环保、农业、健康
sunset (夕阳, 暖橙, )夕阳暖橙奶杏 #FFFBF5赤橙 #E76F51运营活动、温暖叙事
minimal (极简, 素雅, 学术)极简素雅纯白 #FFFFFF近黑 #2E2E2E学术论文、出版物
pastel (马卡龙, , 儿童)马卡龙粉嫩粉白 #FFFBFC天蓝 #B5D8FA儿童教育、女性向
github (极客, 程序员)极客 GitHub纯白 #FFFFFF深灰 #24292E开源文档、README

风格只影响配色、字号、圆角;结构层级、字体选择是自适应的。


六、与主流软件互通

软件导入方式
XMind直接打开 .xmind(2021+ 格式)或导入 .opml / .mm
MindNode / MindMeister导入 .opml
幕布 / WorkFlowy / Notion粘贴 .md,或导入 .opml
EdrawMind / 亿图图示导入 .xmind / .mm
Apple Notes / Outlook粘贴 .md

当甲方拿的是微软 Visio / Miro 这类工具时,直接发 PNG / PDF / SVG 即可。


七、触发词

  • 思维导图 / 脑图 / 心智图 / mind map / mindmap
  • 画思维导图 / 做思维导图 / 生成思维导图
  • 导出 xmind / 生成 xmind / 转 xmind
  • outline 转思维导图

八、版本历史

  • v1.1.0(当前) — 扩展 6 种预设风格:ocean 海洋蓝 / forest 森林绿 / sunset 夕阳暖橙 / minimal 极简素雅 / pastel 马卡龙粉嫩 / github 极客 GitHub;完善中文别名。

  • v1.0.0 — 首版。支持 Markdown/JSON/OPML/XMind 输入;输出 XMind/OPML/FreeMind/Markdown/PNG/PDF/SVG/JSON;内置 modern/classic/dark/xiaohongshu 四风格。


技术支持: 青岛火一五信息科技有限公司

Comments

Loading comments...