← 返回 Skills 市场
suka233

KMind Markdown To Mind Map

作者 suka233 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
220
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install kmind-markdown-to-mindmap
功能描述
Convert Markdown outlines or plain text into themed KMind mind maps. Export SVG or PNG images with theme presets, layouts, edge routes, dark mode, and rainbo...
使用说明 (SKILL.md)

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 outlines or plain text into KMind mind map images. It is a fully offline skill and does not require any network connection for local conversion.

Its main advantage is that it can generate polished, visually consistent mind maps locally and offline. It exports SVG or PNG images and supports theme presets, root layouts, branch edge routes, light/dark appearance, and rainbow branches.

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-to-mindmap workflows.

This is a publishable, self-contained skill. Always invoke the bundled entrypoint from {baseDir}:

node {baseDir}/scripts/kmind-render.mjs ...

Workflow:

  1. 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
  2. If the user provides raw Markdown text instead of a file path, pass it through stdin.
  3. Start the export with render-markdown.
  4. By default, the command tries to auto-launch the user's local Chromium browser in headless mode.
  5. The first stdout line is a JSON object with status: "ready".
  6. When the command finishes, the last stdout line is a JSON object with status: "done" and the final outputPath.
  7. Only use --browser manual when 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:

node {baseDir}/scripts/kmind-render.mjs render-markdown INPUT_OR_DASH --output OUTPUT.svg|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:

  • --output decides the output format when --image-format is omitted: .svg means vector output and .png means bitmap output.
  • --theme-preset should be chosen from the themes output. Recommended candidates: kmind-material-3-slate kmind-rainbow-breeze kmind-midnight-neon kmind-material-3-rounded-orthogonal-ocean kmind-material-3-rounded-orthogonal-forest
  • --layout should be chosen from the themes output. Common choices: logical-right logical-left mindmap-both-auto
  • --edge-route should be chosen from the themes output. Common choices: cubic edge-lead-quadratic center-quadratic orthogonal
  • --appearance dark forces dark mode.
  • --rainbow on forcibly enables rainbow branches even if the current theme does not enable them by default.
  • --png-scale 1 matches the current webapp default export. Only raise it when the user explicitly asks for a higher-resolution PNG.
  • --browser auto is the default and tries to auto-launch the local browser.
  • --browser manual is the manual fallback mode.
  • Do not proactively surface --svg-mode or --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.

Defaults when the user does not specify:

  • theme-preset: kmind-material-3-slate
  • image-format: inferred from --output first; fall back to svg if it cannot be inferred
  • layout: by default, do not explicitly override it; keep KMind's default root layout
  • edge-route: by default, do not explicitly override it; keep the preset theme's edge style
  • appearance: light
  • rainbow: auto
  • svg-mode: internal default fidelity
  • png-mode: internal default accurate
  • png-scale: 1
  • viewport-width: 1600
  • viewport-height: 900

Current publish-safe allowlist for this skill:

  • layouts: logical-right, logical-left, mindmap-both-auto
  • edge-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

安全使用建议
This skill appears to be what it claims (a local Markdown → KMind renderer) and only needs node and a local browser, but exercise caution before installing: 1) Inspect the bundled vendor files (scripts/vendor/*) for any network activity (search for fetch, XMLHttpRequest, ws, net, http, https, WebSocket) or eval/new Function/dynamic-code patterns. 2) Decode or remove any base64 or invisible unicode-control characters found in SKILL.md — they can hide instructions or data. 3) Run the skill in a sandboxed environment (or with network blocked) the first time to confirm it truly runs offline and does not phone home. 4) Do not feed sensitive secrets or private data via stdin until you confirm there is no unexpected transmission or logging. If you are not able to audit the bundled JS yourself, consider asking the publisher for a provenance statement or source repository before enabling the skill.
功能分析
Type: OpenClaw Skill Name: kmind-markdown-to-mindmap Version: 0.1.0 The skill is a legitimate tool for converting Markdown outlines into mind map images (SVG/PNG) using the KMind Zen engine. It operates by starting a temporary local HTTP server on 127.0.0.1 and auto-launching a local Chromium-based browser in headless mode to perform the rendering, which is a standard approach for web-based visualization tools. The bundled CLI logic in `scripts/vendor/cli.mjs` handles document state, theme application, and file I/O without any evidence of data exfiltration, unauthorized network access, or malicious persistence.
能力评估
Purpose & Capability
Name/description (Markdown → KMind mind maps) matches the included entrypoint (scripts/kmind-render.mjs) and large bundled renderer code. Requiring node and browser.enabled is coherent because the tool auto-launches a local Chromium instance to perform rendering.
Instruction Scope
SKILL.md keeps runtime instructions focused on invoking the bundled CLI from the skill baseDir and on export options. It instructs auto-launching a local Chromium in headless mode and fallback to manual browser open when needed. It does not request unrelated system files or environment variables. However, the SKILL.md contains injection-detection signals (base64-block, unicode-control-chars) which could indicate an attempt to smuggle instructions or data; that should be inspected.
Install Mechanism
No remote install spec — code is bundled with the skill and executed locally with node. This avoids runtime downloads. The large vendor bundles are included directly rather than pulled from arbitrary URLs, which reduces supply-chain download risk. Still, bundled JavaScript should be audited for network calls or dynamic code execution.
Credentials
The skill requests no environment variables and declares browser.enabled as a required config path, which is proportional to a renderer that needs a local browser. It does not ask for credentials or other unrelated secrets.
Persistence & Privilege
always is false and model invocation is allowed (default). The skill does not request system-wide privileges or modifications to other skills. The agent will only run the bundled node script when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kmind-markdown-to-mindmap
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kmind-markdown-to-mindmap 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of kmind-markdown-to-mindmap skill. - Converts Markdown outlines or plain text into themed KMind mind map images (SVG/PNG) locally and offline. - Supports theme presets, layout options, edge routing, appearance (light/dark), and rainbow branches. - Allows export of editable KMind packages as `.kmindz.svg` for seamless importing into KMind clients. - Provides both automatic and manual browser export modes, with clear guidance if no local Chromium is available. - Includes extensive parameter options and defaults for flexible conversion and export workflows.
元数据
Slug kmind-markdown-to-mindmap
版本 0.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

KMind Markdown To Mind Map 是什么?

Convert Markdown outlines or plain text into themed KMind mind maps. Export SVG or PNG images with theme presets, layouts, edge routes, dark mode, and rainbo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 220 次。

如何安装 KMind Markdown To Mind Map?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kmind-markdown-to-mindmap」即可一键安装,无需额外配置。

KMind Markdown To Mind Map 是免费的吗?

是的,KMind Markdown To Mind Map 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

KMind Markdown To Mind Map 支持哪些平台?

KMind Markdown To Mind Map 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 KMind Markdown To Mind Map?

由 suka233(@suka233)开发并维护,当前版本 v0.1.0。

💬 留言讨论