xmind-to-emmx.skill: Convert XMind Zen Maps to eMindMap EMMX

Preface

A common disconnect exists in teams: mind maps are maintained in XMind, while downstream tools or colleagues use eMindMap (.emmx). Manually redrawing hierarchies is costly and prone to missing nodes. If you only need to migrate the text and parent-child structure rather than fully restore styles, a script that focuses solely on format conversion with minimal dependencies is often more suitable. This article introduces the community Skill xmind-to-emmx.skill on SkillHub: it uses the Python standard library to convert .xmind to .emmx. It can be run directly via the local command line or invoked by assistants following instructions as an Agent Skill.

What is this

xmind-to-emmx.skill is an XMind → EMMX format conversion tool: it reads XMind mind maps (.xmind) and outputs eMindMap format (.emmx).

  • Coordinates: @user_dda00956/xmind-to-emmx
  • Version: 1.0.0 (2026-05-05)
  • Source: community (SkillHub publisher user_dda00956)
  • Category: dev-programming
  • Tags: requires_api_key=false (No API Key required)

The package is very small (approx. 3 KB ZIP), containing SKILL.md and scripts/convert.py. Logic is executed locally with no network requests.

Core Functions

Verified capabilities are as follows:

  1. Parses XMind Zen format: The .xmind file is actually a ZIP. The script unzips it and reads content.json; it is compatible with both top-level array and dictionary JSON structures and retrieves the rootTopic of the first Sheet.
  2. Generates EMMX structure: Recursively traverses nodes, mapping the root node to MainIdea and child nodes to SubTopic; assigns a UUID to each node and records SubLevel in the XML to preserve hierarchy.
  3. Packages output: Writes page/page.xml to a temporary directory, then ZIPs it into .emmx; the temporary directory is cleaned up in a finally block.
  4. Runtime dependencies: Only Python 3.6+ standard library (zipfile, json, xml.etree.ElementTree, os, sys, shutil, tempfile, uuid); no third-party packages need to be installed via pip.

A third-party deep inspection report (2026-05-06) performed a full link test on real Zen format samples (including a mind map with 615 nodes); the conversion results matched the node count. This report is consistent with the “Known Limitations” in the official description and serves as a supplementary reference for the boundary of capabilities.

Installation and Activation

Get the package from SkillHub

  • API Page: https://api.skillhub.cn/user_dda00956/xmind-to-emmx
  • Display Page: https://www.skillhub.cn/skills/user_dda00956/xmind-to-emmx

Page statistics (based on scraped data): Rating 100000, Downloads 1263. When installing to a specific Agent product, please pull @user_dda00956/xmind-to-emmx according to the SkillHub / IDE integration method you are using; the materials do not separately list difference commands for Cursor, Codex CLI, or Claude Code, so unverified steps will not be expanded upon here.

Local extraction and environment

The .skill file is essentially a renamed ZIP. You can change the extension to .zip and extract it, or open it with any ZIP tool to get:

xmind-to-emmx.skill/
├── SKILL.md
└── scripts/
    └── convert.py

Confirm your local Python version:

python --version

Python 3.6 or above is required. No additional libraries need to be installed.

Typical Usage

Execute in the extracted Skill directory (or an environment where scripts/convert.py has been placed in the working path):

python scripts/convert.py <input_file.xmind> [output_file.emmx]

Specify the output filename:

python scripts/convert.py mymap.xmind mymap.emmx

If the second parameter is omitted, a .emmx file with the same name is generated in the same directory as the input file by default:

python scripts/convert.py mymap.xmind

If arguments are insufficient, the file does not exist, or other exceptions occur, the script prints a message and exits with a non-zero exit code, facilitating failure detection in scripts or CI.

Use Cases and Precautions

Suitable for:

  • Migrating the mind map skeleton from XMind 2019 and above (Zen format, containing content.json) to eMindMap.
  • One-time or batch conversions on machines without external networks or extra Python dependencies (you can write a shell loop to call the same command).
  • When you want an Agent to read SKILL.md and complete conversion instructions or run the script on behalf of the user following a fixed command.

Format and Content Limitations (Consistent with official and design descriptions):

Item Description
Input Only XMind Zen (.xmind + content.json), does not support legacy content.xml
Output EMMX basic structure, does not include layout coordinates; layout depends on eMindMap auto-arrangement
Multiple Sheets Processes only the first Sheet
Rich Content Only text and hierarchy; does not preserve styles, colors, icons, images, notes, links, priority markers, etc.

Please confirm that the source file is a Zen export before use, and that your expectation of “keeping only the structure” is consistent with downstream eMindMap usage. If multiple canvases or complete visual information are required, you should merge Sheets in XMind first or accept manual completion.

Conclusion

xmind-to-emmx.skill condenses the migration from XMind Zen to eMindMap into a single reproducible command: zero third-party dependencies, implemented with a cross-platform standard library, with boundaries clearly written in the official documentation. If your pain point is structural migration rather than pixel-perfect restoration, you can prioritize trying this out.

  • Official Address: https://api.skillhub.cn/user_dda00956/xmind-to-emmx
  • SkillHub Page: https://www.skillhub.cn/skills/user_dda00956/xmind-to-emmx
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye