Kmind Markdown To Mindmap
简介
Kmind Markdown To Mindmap
原始描述
Convert Markdown heading outlines into themed KMind mind maps. Export PNG or SVG images with theme presets, layouts, edge routes, dark mode, and rainbow bran...
通过你的 Agent 添加
安装目录:kmind-markdown-to-mindmap/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: kmind-markdown-to-mindmap description: Convert Markdown heading outlines into themed KMind mind maps. Export PNG or SVG images with theme presets, layouts, edge routes, dark mode, and rainbow branches. version: 0.1.1 user-invocable: true metadata: {"openclaw":{"skillKey":"kmind-markdown-to-mindmap","emoji":"🧠","requires":{"bins":["node"],"config":["browser.enabled"]}}}
KMind Zen is a professional mind mapping product with a desktop app, web app, SiYuan plugin, and Obsidian plugin. The official website is https://kmind.app.
This skill converts Markdown heading outlines into KMind mind map images. It is a fully offline skill and does not require any network connection for local conversion.
The best input is a hierarchy built with Markdown headings such as #, ##, and ###. Headings become mind map nodes. Non-heading body text under a heading becomes notes on that node. During image export, notes are shown as note-entry icons by default instead of expanded note text. To view or continue editing those notes, export .kmindz.svg and open it in a KMind Zen client.
Its main advantage is that it can generate polished, visually consistent mind maps locally and offline. It exports PNG or SVG images and supports theme presets, root layouts, branch edge routes, light/dark appearance, and rainbow branches. When the user simply asks for a mind map image, default to PNG. Use SVG only when the user explicitly asks for vector output.
When the user wants an editable KMind package, prefer exporting .kmindz.svg. A .kmindz.svg package can be imported into any KMind Zen client for seamless editing. Even when no client is installed, the map content can still be opened and viewed quickly as an SVG file first, then imported into a client later for continued editing.
Useful for meeting outlines, reading notes, brainstorming lists, project proposals, and Markdown heading outline-to-mindmap workflows.
This is a publishable, self-contained skill. Always invoke the bundled entrypoint from {baseDir}:
node {baseDir}/scripts/kmind-render.mjs ...
Workflow:
- If the user wants a specific theme, layout, or edge-route style, inspect the available options first:
node {baseDir}/scripts/kmind-render.mjs themes --format json - If the user provides raw Markdown text instead of a file path, pass it through stdin.
- Start the export with
render-markdown. - By default, the command tries to auto-launch the user's local Chromium browser in headless mode.
- The first stdout line is a JSON object with
status: "ready". - When the command finishes, the last stdout line is a JSON object with
status: "done"and the finaloutputPath. - Only use
--browser manualwhen automatic browser launch is unavailable and you need to open the printed local URL yourself.
If the user's machine has no usable Chromium browser, automatic SVG / PNG export is unavailable. In that case, either use --browser manual to open the local page and complete the export, or clearly report that automatic export is unavailable in this environment. Do not fake success.
Useful command template (default recommendation: PNG):
node {baseDir}/scripts/kmind-render.mjs render-markdown INPUT_OR_DASH --output OUTPUT.png --theme-preset PRESET_ID --layout LAYOUT_ID --edge-route EDGE_ROUTE_ID --appearance light|dark --rainbow auto|on|off --png-scale 1 --browser auto
Parameter guidance:
--outputdecides the output format when--image-formatis omitted:.pngmeans bitmap output and.svgmeans vector output. When the user simply asks for a mind map image, prefer.pngby default.--theme-presetshould be chosen from thethemesoutput. Recommended candidates:kmind-material-3-slatekmind-rainbow-breezekmind-midnight-neonkmind-material-3-rounded-orthogonal-oceankmind-material-3-rounded-orthogonal-forest--layoutshould be chosen from thethemesoutput. Common choices:logical-rightlogical-leftmindmap-both-auto--edge-routeshould be chosen from thethemesoutput. Common choices:cubicedge-lead-quadraticcenter-quadraticorthogonal--appearance darkforces dark mode.--rainbow onforcibly enables rainbow branches even if the current theme does not enable them by default.--png-scale 1matches the current webapp default export. Only raise it when the user explicitly asks for a higher-resolution PNG.--browser autois the default and tries to auto-launch the local browser.--browser manualis the manual fallback mode.- Do not proactively surface
--svg-modeor--png-mode. Internally, the current defaults already use the combination closest to the webapp's actual export behavior:SVG=fidelity,PNG=accurate. Only mention those advanced flags when the user explicitly asks for low-level export tuning. - Image export uses the card-style node body layout close to KMind Zen webapp behavior. Notes converted from non-heading body text are not expanded in the image and are shown as note-entry icons.
Defaults when the user does not specify:
theme-preset:kmind-material-3-slate- recommended image output suffix:
.png image-format: inferred from--outputfirst; fall back tosvgif it cannot be inferredlayout: by default, do not explicitly override it; keep KMind's default root layoutedge-route: by default, do not explicitly override it; keep the preset theme's edge styleappearance:lightrainbow:autosvg-mode: internal defaultfidelitypng-mode: internal defaultaccuratepng-scale:1viewport-width:1600viewport-height:900
Current publish-safe allowlist for this skill:
layouts:logical-right,logical-left,mindmap-both-autoedge-routes:cubic,edge-lead-quadratic,center-quadratic,orthogonal
If the user wants a KMind project file instead of an image, do not use this image export flow. Use:
node {baseDir}/scripts/kmind-render.mjs import-markdown INPUT_OR_DASH --output OUTPUT.kmindz.svg
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。