← 返回 Skills 市场
pretty-mermaid
作者
caowen2211891
· GitHub ↗
· v1.0.0
· MIT-0
213
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install pretty-mermaid
功能描述
Generate beautiful Mermaid.js diagrams with custom styling and themes. Create flowcharts, sequence diagrams, Gantt charts, class diagrams, etc. with enhanced...
安全使用建议
This skill appears coherent for creating Mermaid diagrams. Things to consider before installing: (1) install.sh runs npm install -g @mermaid-js/mermaid-cli — global npm installs modify your environment and require trust in the mermaid-cli package; consider installing in a controlled environment or using a node version manager. (2) The generated interactive HTML loads Mermaid from jsdelivr CDN — if you need fully offline or air-gapped generation, prefer PNG/SVG generation via a local mmdc/Puppeteer install. (3) Review the Python script if you plan to run it on sensitive systems (it invokes subprocesses and creates temporary files, which is normal here). If you are comfortable with these tradeoffs, the skill is internally consistent with its stated purpose.
功能分析
Type: OpenClaw Skill
Name: pretty-mermaid
Version: 1.0.0
The skill is a legitimate utility for generating Mermaid.js diagrams (flowcharts, sequence diagrams, etc.) using the standard mermaid-cli. The bundle includes a Python wrapper (mermaid-gen.py) that safely handles subprocess calls and provides a fallback to generate interactive HTML diagrams using a reputable CDN (jsDelivr). No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (Mermaid diagram generation) matches the provided scripts and examples. The skill bundles an installation script and a Python wrapper that invoke mermaid-cli (mmdc) to produce images/HTML, which is exactly what the skill claims to do.
Instruction Scope
SKILL.md tells the agent to install and use mermaid-cli and to run the included Python script. The runtime instructions reference only local files, temporary files, and mermaid-cli; they do not attempt to read unrelated system files or environment variables. The generated HTML references an external CDN (jsdelivr) for Mermaid — expected for interactive output but worth noting.
Install Mechanism
There is no platform install spec in the registry metadata, but the repo includes scripts/install.sh which performs a global npm install -g @mermaid-js/mermaid-cli. Installing a global npm package modifies the host environment and requires npm/node present; this is expected for a mermaid-based tool but is higher-impact than a purely local/portable install.
Credentials
The skill declares no required environment variables, configuration paths, or credentials. The included code does not attempt to access credentials or other environment variables beyond typical runtime inspection (temporary files, subprocess).
Persistence & Privilege
The skill does not request always:true, nor does it attempt to modify other skills or system-wide config. Its install script installs a global npm binary (mmdc), which is normal for this functionality but not a persistent privileged agent modification.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pretty-mermaid - 安装完成后,直接呼叫该 Skill 的名称或使用
/pretty-mermaid触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
pretty-mermaid 1.0.0
- Initial release of pretty-mermaid skill.
- Generate Mermaid.js diagrams (flowcharts, sequence, Gantt, class, etc.) with custom themes and styling.
- Includes bundled Python script for enhanced diagram generation and styling options.
- Supports multiple export formats: PNG, SVG, PDF, HTML.
- Provides templates, advanced layout, and batch/export options for visually appealing diagrams.
元数据
常见问题
pretty-mermaid 是什么?
Generate beautiful Mermaid.js diagrams with custom styling and themes. Create flowcharts, sequence diagrams, Gantt charts, class diagrams, etc. with enhanced... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。
如何安装 pretty-mermaid?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pretty-mermaid」即可一键安装,无需额外配置。
pretty-mermaid 是免费的吗?
是的,pretty-mermaid 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
pretty-mermaid 支持哪些平台?
pretty-mermaid 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 pretty-mermaid?
由 caowen2211891(@caowen2211891)开发并维护,当前版本 v1.0.0。
推荐 Skills