← 返回 Skills 市场
1206
总下载
3
收藏
10
当前安装
1
版本数
在 OpenClaw 中安装
/install mindmap-generator
功能描述
Generates visual mindmap images from conversations, goals, decisions, and daily priorities — delivered as PNG images viewable directly in Telegram. Use when...
安全使用建议
This skill appears to do what it says (generate Mermaid mindmaps and send them to Telegram), but there are a few important inconsistencies and operational notes you should consider before installing or enabling it:
- TELEGRAM_BOT_TOKEN is required at runtime (used in scripts and README) but is not declared in the skill metadata or SKILL.md. Do not run the skill until you are ready to provide a bot token for a bot you control. Treat that token as sensitive.
- The skill expects node and npx (declared). It also calls curl and may rely on a local/global mmdc binary; if mmdc is not installed it will run 'npx -y @mermaid-js/mermaid-cli', which downloads packages from npm at runtime. If you have supply-chain concerns, pre-install @mermaid-js/mermaid-cli in a controlled environment rather than letting npx fetch it.
- All rendered images and any fallback text are sent to Telegram via the Bot API. Anything the agent includes in the mindmap (including meeting notes, transcripts, or other context) will be transmitted to Telegram servers. If the data is sensitive, consider using a private bot/account or avoid sending through Telegram.
- The skill's SKILL.md instructs the agent to use calendar/memory/voice transcript context; ensure you are comfortable with the agent exposing those contexts to the bot-mediated delivery channel.
- Operational recommendations: update the skill metadata to declare TELEGRAM_BOT_TOKEN and mention 'curl' as a dependency; run the scripts in a sandboxed environment first; verify the bot token scope and that the bot only has access to chats you expect; and, if you prefer, pre-install mermaid-cli to avoid runtime npx installs.
Given these inconsistencies (missing declared env var and an undeclared runtime dependency), treat this skill as suspicious until the manifest is corrected and you confirm the deployment/runtime policy for npm downloads and Telegram bot usage.
功能分析
Type: OpenClaw Skill
Name: mindmap-generator
Version: 1.0.0
The skill's primary function to generate and send mindmaps via Telegram is benign, but it contains suspicious elements and vulnerabilities. The `scripts/render_mindmap.sh` script attempts to load the `mmdc` executable from `/tmp/mmdc-test/node_modules`, which is an unusual and potentially exploitable search path that could allow an attacker to substitute a malicious executable. Furthermore, the `SKILL.md` instructions for the agent to `echo "$MERMAID_CONTENT" > /tmp/mindmap_input.mmd` introduce a prompt injection vulnerability, as a sophisticated agent could potentially be coerced into injecting shell commands into `$MERMAID_CONTENT`, leading to arbitrary code execution. The use of `npx -y` to auto-install `@mermaid-js/mermaid-cli` also presents a supply chain risk by bypassing user confirmation.
能力评估
Purpose & Capability
The skill's stated purpose (render Mermaid mindmaps and deliver PNGs to Telegram) matches the scripts and README: Node/npm (mermaid-cli) for rendering and Telegram Bot API for delivery. However, the skill metadata and SKILL.md declare required binaries as node and npx only and list no environment variables, while the scripts and README clearly require a TELEGRAM_BOT_TOKEN and also use curl. Omitting the bot token from the declared requirements is a material mismatch.
Instruction Scope
SKILL.md instructs the agent to extract hierarchical structure from user input, memory, calendar data and optional transcripts — which is expected for a 'Chief of Staff' mindmap generator. All network activity described goes to the Telegram Bot API (via sendPhoto/sendMessage) and to npm (via npx) for mermaid-cli if not present. The instructions do not ask the agent to read unrelated secrets or system files, but they do assume access to agent memory/calendar context. Fallback behavior posts raw Mermaid content to Telegram; be aware this transmits whatever text the agent generated or received.
Install Mechanism
There is no install spec (instruction-only), which reduces upfront install risk. At runtime render_mindmap.sh will prefer a local/global mmdc binary and otherwise calls 'npx -y @mermaid-js/mermaid-cli' to auto-install mermaid-cli. Auto-install via npx means code will be fetched from the npm registry during execution — expected for this use case but a moderate runtime supply-chain consideration.
Credentials
Declared 'required env vars: none' is inconsistent with the code/README: the scripts require TELEGRAM_BOT_TOKEN (or a passed bot token) to send images and messages. The skill does not request any unrelated credentials, but failing to declare the Telegram token is a notable omission that affects safety and installation planning. The skill uses only that token and no other external credentials.
Persistence & Privilege
The skill does not request always:true or modify other skills. It runs on demand and its scripts do not modify system-wide agent configuration. Temporary files are written in /tmp with timestamped names and are removed; no persistent privileges or automatic always-on behavior are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mindmap-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/mindmap-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of mindmap-generator:
- Generates visual mindmaps as PNG images from user input, including conversations, goals, decisions, priorities, and meeting notes.
- Delivers mindmap images directly in Telegram chats for immediate viewing.
- Automatically extracts structure and formats mindmaps using Mermaid syntax.
- Handles status markers, shapes, and formatting rules for clarity and quick understanding.
- Includes fallback to a text-based tree if image rendering fails.
- Offers a brief text summary with each mindmap and can suggest map adjustments.
元数据
常见问题
Mindmap Generator 是什么?
Generates visual mindmap images from conversations, goals, decisions, and daily priorities — delivered as PNG images viewable directly in Telegram. Use when... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1206 次。
如何安装 Mindmap Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mindmap-generator」即可一键安装,无需额外配置。
Mindmap Generator 是免费的吗?
是的,Mindmap Generator 完全免费(开源免费),可自由下载、安装和使用。
Mindmap Generator 支持哪些平台?
Mindmap Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mindmap Generator?
由 QvedaAI(@parasharnagle)开发并维护,当前版本 v1.0.0。
推荐 Skills