xmind-cloud
Original:🇺🇸 English
Translated
Interact with Xmind online mind maps. Use when the user wants to read, edit, or create cloud mind maps in real-time.
2installs
Sourcexmindltd/xmind-cli
Added on
NPX Install
npx skill4agent add xmindltd/xmind-cli xmind-cloudTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Xmind Cloud CLI
Setup
bash
which xmind || npm install -g @xmindltd/xmind-cliAuth
bash
xmind cloud auth statusIf :
{"authenticated":false}bash
xmind cloud auth login
# → Opens browser automatically, waits for authorization
# → {"authenticated":true,"source":"config"}Alternative (if you already have a token):
bash
xmind cloud auth token <value>Session Rules
- Reuse sessions: before opening, check . If the document already has an active session, reuse it.
xmind cloud sessions - Don't close after every edit: sessions persist and auto-close after 30 minutes of inactivity. Only close when the user is done or explicitly asks.
- Daemon persists across sessions: closing a session doesn't kill the daemon. Next is faster.
open
Create
Step 1: Discover
bash
xmind skill listReview all available recipes, layout features, and editing helpers.
Step 2: Load Skills + Execute
Load a recipe and a feature strategy in one call:
bash
xmind skill show recipes/<name> features features/strategy/<name>Then follow the loaded instructions:
-
Phase 1 — Content: Follow recipe rules to plan content.
-
Phase 2 — Render: Follow features + strategy rules to produce markdown, select skeleton and color. Substitute the execute command with cloud upload:bash
cat <<'MD' | xmind cloud create --stdin --skeleton <name> --color <name> # Central Topic ## Branch ### Sub-branch MDReturns.{"success":true,"fileId":"...","url":"https://app.xmind.com/<id>"}
If a subtree needs a different strategy during Phase 2:
bash
xmind skill show features/strategy/<other>Edit
Connect (only if no active session)
bash
xmind cloud sessions
# If empty or no session for this document:
xmind cloud open <link-or-fileId>
# → {"session":"abc","fileId":"...","root":"..."}Quick Edit
bash
xmind cloud read --session <id>
xmind cloud add --session <id> --parent <title> --topic <text>
xmind cloud update --session <id> --topic <old-title> --title <new-title>
xmind cloud delete --session <id> --topic <title>
cat <<'BATCH_EOF' | xmind cloud batch --session <id>
[{"op": "...", ...}]
BATCH_EOFGuided Edit
For complex edits (optimize, review, restructure, restyle), load the edit guide:
bash
xmind skill show editing/guideFollow the guide's analysis template, then apply changes via .
xmind cloud batch --session <id>Upload Existing File
bash
xmind cloud upload output.xmindError Handling
- → Token expired. Re-authenticate with
{"error":"token_expired"}.xmind cloud auth login - → Re-open:
{"error":"Session not found"}.xmind cloud open <link> - → Token invalid.
{"error":"Authentication failed"} - → Cloud storage full.
{"error":"exceed_files_limit"}