Install
openclaw skills install xmind-generatorGenerate XMind mind map files (.xmind) from Markdown outlines or plain text descriptions. Use when a user asks to create a mind map, visualize a structure, or export to XMind format. Supports both Markdown outline syntax (# headings, - bullets, indentation) and free-form text descriptions. Output is saved as a .xmind file in the workspace directory, openable directly in XMind app.
openclaw skills install xmind-generatorGenerate .xmind files from Markdown outlines or plain text using the XMind SDK.
scripts/generate_xmind.js — main generator. Requires Node.js and the xmind npm package.
Install dependencies before first use:
cd <skill_dir>
npm install
# From Markdown outline file
node scripts/generate_xmind.js --input outline.md --output /path/to/output.xmind
# From inline text (use \n for newlines)
node scripts/generate_xmind.js --text "# Root\n- Branch 1\n - Leaf\n- Branch 2" --output output.xmind
# From stdin
echo "..." | node scripts/generate_xmind.js --output output.xmind
Always run from the skill directory:
cd <skill_dir>
Default output location: the OpenClaw workspace directory.
Both formats are supported:
Markdown outline:
# Root Topic
- Main Branch 1
- Sub topic 1
- Sub topic 2
- Main Branch 2
- Sub topic 3
- Leaf node
Plain text / free-form description: When user provides a description instead of an outline, first convert it to Markdown outline structure, then pass to the script.
--text or --input