xmind-editor

xmind-editor is a skill for Claude Code, Codex from Erlichooo/xmind-mcp. It costs 0 tokens per session (901 once invoked), scanned A, original, MIT.

A workflow for creating and editing XMind mind maps, which are visual diagrams that organize ideas into connected branches.

In plain words
What is it for?
It helps create or modify XMind files, structure information into levels, and apply optional colors to nodes and branches.
Why use it?
It gives the agent a controlled way to plan, read, and change a mind map while avoiding accidental bulk edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create or modify XMind files, structure information into levels, and apply optional colors to nodes and branches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/erlichooo/xmind-mcp/xmind-editor
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 Erlichooo/xmind-mcp --skill xmind-editor
Clone the repo
git clone --depth 1 https://github.com/Erlichooo/xmind-mcp

Made for: Claude Code, Codex.

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 xmind-editor

README.md
[![agentmods](https://agentmods.dev/badge/skills/erlichooo/xmind-mcp/xmind-editor.svg)](https://agentmods.dev/skills/erlichooo/xmind-mcp/xmind-editor)
Your own site
<a href="https://agentmods.dev/skills/erlichooo/xmind-mcp/xmind-editor"><img src="https://agentmods.dev/badge/skills/erlichooo/xmind-mcp/xmind-editor.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 901 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.00000 $0.00901
Opus 5 $0.00000 $0.00451
Sonnet 5 $0.00000 $0.00180
Haiku 4.5 $0.00000 $0.00090

Measured 7d ago against content hash 76406ca42b9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

xmind-editor 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 7d ago.

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.

skills/xmind-editor/SKILL.md · 80 lines

What it actually says

xmind-editor — XMind 思维导图编辑工作流

触发条件

用户提及"思维导图"、"xmind"、"mindmap",或要求整理/可视化信息结构时触发本 Skill。

前置要求

xmind-tools MCP Server 已注册并运行(通过 /mcp 确认 xmind-tools 在线)。

工作流

新建导图

  1. 确认目标文件路径(询问用户或使用用户指定路径)
  2. 规划导图结构(列出根节点和一级分支,征得用户确认)
  3. 调用 write_mindmap 创建文件(传入完整树结构)
  4. 逐个调用 add_node 添加二级及以下节点,每次确认成功再继续
  5. 完成后提示:「请在 XMind 中打开/重新加载文件查看结果」

修改现有导图

  1. 确认目标文件路径
  2. 调用 read_mindmap 读取当前结构
  3. 向用户展示当前节点树(用缩进文本表示层级)
  4. 规划修改列表,逐条确认
  5. 每次只执行一个 add_node / update_node / delete_node,确认成功后继续
  6. 完成后提示:「请在 XMind 中重新加载文件查看变化」

操作纪律

  • 每步操作前说明要做什么,操作后确认结果
  • 遇到错误立即停止,报告当前状态,不继续写入
  • 不批量操作——每次只调用一个写入工具
  • 节点引用始终用 id,不用标题(标题可能重复)

样式字段说明

style 对象三个字段均为可选:

  • bg:节点背景色(十六进制,如 #4a90d9)
  • fg:文字颜色
  • branch:分支连线颜色

不填则保留 XMind 原有样式。

思维导图方法论(规划结构时遵循)

核心原则

1. 放射状结构(Tony Buzan)

  • 中心主题放最高层,所有分支从中心向外辐射
  • 层级代表从抽象→具体,从整体→细节

2. 关键词原则

  • 每个节点只用 1-4 个词,不写完整句子
  • 用名词/动词/形容词,避免虚词和连接词
  • 标题越短,越容易被记住和关联

3. MECE 原则(McKinsey,业务/知识类导图)

  • Mutually Exclusive:同层兄弟节点不重叠
  • Collectively Exhaustive:同层节点合并后覆盖父节点全部含义
  • 适用于分析、方案、报告类导图;头脑风暴阶段可先放宽

结构数量建议

层级 建议数量 说明
一级分支(主干) 3-7 个 少于 3 个说明主题没展开;超过 7 个认知负荷过高
二级分支(子主题) 2-5 个 每个主干下的子节点
总层级深度 最多 4 层 超过 4 层考虑拆分成独立导图
单节点子节点 ≥2 个 只有 1 个子节点通常意味着可以合并或重新归类

结构设计规则

  • 避免孤立子节点:一个父节点只挂一个子节点时,考虑合并到父节点或重新分组
  • 层级过深时拆图:超过 4 层且内容还在增加,新建一张子导图处理该分支
  • 先发散再收敛:头脑风暴阶段先不管结构,把所有想法列出来;整理阶段再按 MECE 归并
  • 同色同族:同一主干的所有子节点使用相同 branch 颜色,视觉上形成组
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. 7d ago First seen · 80 lines · 0 tokens per session scan A 76406ca42b9d

Subscribe to this mod's changes

xmind-editor is a skill published in the GitHub repository Erlichooo/xmind-mcp (0 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 901 tokens. 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.