Install
openclaw skills install @markingyang/mindbox生成与续改可编辑的离线脑图,16套样式,支持阅读演示和图像导出
openclaw skills install @markingyang/mindboxUse the bundled renderer for 16 styles, layout, fonts, editing, reading and export. Do not rewrite HTML/CSS/JS for an ordinary map. Node.js >=22.20; rendering needs no npm dependencies, server or network. The host assistant supplies the model and source access.
mermaid block starting with mindmap, one root, space indentation. Plain labels or root((Title)); no arrows, icons, classes or rich text. Choose detail and depth from content complexity, not node quotas. Never pad or truncate to meet a count; deeper styles adapt automatically.<skill-dir> with the installed directory and select a workspace path:node "<skill-dir>/scripts/render.cjs" --input - --output "/absolute/path/map.html" --preset "彩虹经典" <<'MINDMAP'
```mermaid
mindmap
root((Topic))
Point
Evidence
```
MINDMAP
For files use --input draft.md. Names, aliases, six-character style codes and legacy P IDs work with --preset. Honor the requested style; otherwise choose by purpose, defaulting to MMK0V1.
Reading MMK0V1 极简; study MMR0C2 自然; long notes MMV0EA 知识提纲; revision MMS0BF 语义索引. Code MMT0H3 石板经典; briefing MMC0Y9 商务蓝图; responsibilities MMF0KB 组织分层; project MMA0RE 项目分解. Presentation MMB0Q4 彩虹经典; creative writing MMW0F5 暗夜粉彩; sketch MMD0N6 随手画画; concepts MMN0WD 概念分组. Brainstorm MMP0A7 脑洞涂鸦; everyday reflection MMH0S8 浮生小趣; ideas MMQ0DC 便签共创; discussion MME0TG 彩色研讨.
Details: style guide. Use --list --compact only for a catalogue request or unresolved name. Keep component configuration internal.
Track the topic and HTML path. Follow-up content or style changes update that file; a new topic or explicit save-as gets a separate file. If edited in a browser, use the latest saved HTML, not stale paired Markdown.
Extract with --input map.html --extract, revise the complete current Markdown retaining unrelated content and notes, then update in place (--revise - accepts stdin):
node "<skill-dir>/scripts/render.cjs" --input "/absolute/path/map.html" --revise "/absolute/path/revised.md"
Revisions retain style, surviving IDs and valid view state; invalid content preserves existing files. Style-only changes use:
node "<skill-dir>/scripts/render.cjs" --input "/absolute/path/map.html" --output "/absolute/path/map.html" --switch-to "商务" --force
If the latest HTML is unavailable, obtain it instead of reconstructing browser edits from old Markdown.
After exit 0 and validation.passed: true, link the actual HTML. Do not deliver a blank template or only a localhost URL. Markdown stays internal unless requested. --input map.html --check validates final bytes and hashes without executing imported scripts; structural validation is separate from browser verification and content accuracy.
HTML supports node/Markdown editing, undo/redo, folding, zoom, reading guidance, PNG and animated WebP. Invalid drafts survive Save HTML and --extract. Saving downloads a new file; no silent overwrite or autosave. Ask for that file before AI follow-ups. Browser exports only when requested; do not invent CLI export flags.
Read usage for format, editing, exports, versions or errors; maintenance for lifecycle or renderer work; combinations only for explicit library/legacy maintenance. $mindbox invokes the Skill; discovery depends on the host. Do not claim measured Token savings or a hosted Agent/MCP service.