首页龙虾技能列表 › Mindflow

Mindflow

v1.0.6

Converts text, Markdown files, or Txt files into mind map images. Use this skill when users want to generate mind maps/brain maps from articles, broadcast sc...

1· 233·0 当前·0 累计
by @newtoolai (zhangshulin)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/14
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
The skill's functionality and requested dependencies (markmap + Puppeteer) are coherent with converting text to mind‑map images, but the package installation instructions (npm/pupeteer) and an incomplete/truncated code listing leave unresolved risks (Chromium downloads, network activity, and possible unreviewed code).
评估建议
This skill appears to be what it claims (text → markmap → HTML → image) but proceed cautiously: 1) npm install will pull markmap and Puppeteer and Puppeteer will download a Chromium binary — only install on trusted hosts and consider pinning package versions or using a lockfile. 2) The SKILL.md expects an LLM conversion step; verify where that runs (locally vs external API) because sensitive content may be sent to a model endpoint. 3) Inspect the full html-to-image.js (the provided snippet was t...
详细分析 ▾
用途与能力
Name/description (convert text/markdown to mind-map images) matches the declared dependencies (markmap-cli, markmap-lib, markmap-render, puppeteer) and the included html-to-image.js script which renders HTML to image using Puppeteer.
指令范围
SKILL.md stays on-topic: it instructs using an LLM to convert input to a strict markmap-style Markdown, runs markmap to produce HTML, and a local Node script to render images. It writes a temp file (/tmp/mindmap.md) and runs local commands. One scope note: the LLM step is underspecified (which model/API is used and where conversion occurs), which could cause user data to be sent to an external model endpoint depending on agent configuration.
安装机制
There is no formal install spec in the package; SKILL.md instructs users/agents to run npm/bun installs for markmap and puppeteer. Puppeteer typically downloads a Chromium binary during install (network download from upstream). The instructions do not pin package versions or specify integrity checks, so running installs will fetch code/binaries from public registries and CDNs — a moderate operational risk that should be reviewed before running.
凭证需求
The skill requests no environment variables or credentials. This is proportionate to its stated purpose. Caveat: the LLM conversion step may require model credentials in the environment (not declared) depending on how the agent is configured; confirm where LLM calls will be executed.
持久化与权限
The skill is not forced-always, does not request elevated privileges, and does not declare modifications to other skills or system-wide configuration. It runs transient local commands and writes temporary files (e.g., /tmp/mindmap.md).
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.62026/3/18

- Added a requirement to use appropriate emojis to enhance visual expression in generated mind map content. - Clarified not to use emojis excessively.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install mindflow
镜像加速npx clawhub@latest install mindflow --registry https://cn.clawhub-mirror.com

技能文档

Text to Mind Map Skill

This skill converts user-input text, Markdown files, or Txt files into mind map images.

Dependency Installation

# Using npm
npm install markmap-cli markmap-lib markmap-render puppeteer

# Using bun bun install markmap-cli markmap-lib markmap-render puppeteer

Workflow

Input Content → text-to-markdown → markdown-to-html → html-to-image → Output Image
→ [If user uses openclaw, send the image to the user as a file]

Step 1: text-to-markdown

Use LLM to convert input content into mind map Markdown format according to the following rules:

Rule Specifications:

  • Extract Core Content: Extract key points from broadcast scripts with high information density, concise and clear, without omitting important points
  • Reduce Hallucinations: Generated content must come from the input broadcast script; do not fabricate, rewrite, exaggerate, flatter, omit, or produce hallucinations
  • Strictly Follow Node Hierarchy: Only one root node, subsequent nodes progress by hierarchy levels
  • Support All Basic Markdown Syntax: Bold, code, links, and LaTeX formulas can be embedded in node text
  • Output Format Compliance: Strictly follow the format below; do not output any other extraneous content
  • Use Appropriate Emoji: Use relevant emojis appropriately to enhance visual expression, but avoid excessive use
  • Content Limit: Ensure output content is limited to 300 tokens
  • Hierarchy Limit: Mind map generates maximum 4 levels (root node counts as level 1)

Output Format:

# Root Node (must have exactly one)

Level 2 Node

Level 3 Node

  • List items are also supported
  • Bold, code, link
  • $LaTeX formula$

Step 2: markdown-to-html

Use markmap command to convert Markdown to HTML:

markmap --offline --no-open --no-toolbar -o  

Step 3: html-to-image

Use html-to-image.js to convert HTML to image (default: jpg format):

node (or bun) scripts/html-to-image.js --auto-fit  

Parameter Specifications:

ParameterDescription
-t jpgOutput format is png (default)
--auto-fitAuto-detect mindmap content size and adapt dimensions
input-htmlInput HTML file path
output-imageOutput image path

Execution Steps

  • Read user-input text content or file path
  • Call LLM to convert content into mind map Markdown format according to the rules above
  • Save the generated Markdown to a temporary file (e.g., /tmp/mindmap.md)
  • Execute markmap --offline --no-open --no-toolbar -o to generate HTML
  • Execute node (or bun) scripts/html-to-image.js --auto-fit to generate PNG image
  • Inform user of the output image path | If user uses openclaw, send the image to the user as a file

Input Types

  • Directly input text content
  • .md file path
  • .txt file path

Output

  • Generated mind map image file (default: PNG format)

Examples

Example 1:

  • User Input: "How to learn React"
  • Output: PNG image of React learning path mind map

Example 2:

  • User Input: "Help me convert this markdown file to a mind map: /path/to/notes.md"
  • Output: PNG image of mind map corresponding to notes.md content
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务