跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Cli Anything Mermaid

技能 已验证 活跃

Command-line interface for Mermaid Live Editor - Create, edit, and render Mermaid diagrams via stateful project files and mermaid.ink renderer URLs. Designed for AI agents and power users who need to generate flowcharts, sequence diagrams, and other visualizations without a GUI.

目的

To enable AI agents and power users to generate and manage Mermaid diagrams programmatically without relying on a graphical user interface.

功能

  • Create, open, save, and manage Mermaid project files
  • Edit Mermaid source code via text or file input
  • Render diagrams to SVG or PNG using mermaid.ink
  • Generate shareable Mermaid Live Editor URLs
  • Interactive REPL mode with history and tab-completion
  • JSON output for machine-readable agent consumption

使用场景

  • AI agents generating flowcharts or sequence diagrams from specifications
  • Power users creating complex visualizations programmatically
  • Automating diagram updates in documentation or project management workflows
  • Generating diagrams as part of CI/CD pipelines

非目标

  • Graphical user interface for diagram editing
  • Real-time collaboration features
  • Management of diagrams not in Mermaid format
  • Complex vector graphics manipulation beyond diagramming

工作流

  1. Start interactive REPL mode or use command-line arguments
  2. Create or open a Mermaid project file
  3. Modify diagram source using 'diagram set' or project commands
  4. Export the diagram to SVG/PNG or generate a shareable URL
  5. Save the project state

先决条件

  • Python 3.10+
  • No external software required (rendering uses mermaid.ink cloud service)

安装

npx skills add hkuds/cli-anything

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标34.4k
许可证Apache-2.0
状态
查看源代码

类似扩展

Cli Creator

100

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.

技能
openai

Markdown and Mermaid Writing

100

Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.

技能
K-Dense-AI

Mermaid Diagrams

99

Teaches PMs to create syntactically valid mermaid diagrams by selecting the right diagram type for their communication need, following syntax validity rules, and validating before shipping. Covers all 15 mermaid diagram types with PM-relevant examples and a dual-lens navigation system.

技能
product-on-purpose

AlterLab Mermaid

99

Part of the AlterLab Academic Skills suite. Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.

技能
AlterLab-IEU

Generate Workflow Diagram

99

Generate themed Mermaid flowchart diagrams from putior workflow data. Covers theme selection (9 themes including 4 colorblind-safe), output modes (console, file, clipboard, raw), interactive features (clickable nodes, source info), and embedding in README, Quarto, and R Markdown. Use after annotating source files and ready to produce a visual diagram, when regenerating a diagram after workflow changes, or when switching themes or output formats for different audiences.

技能
pjt222

Plannotator Visual Explainer

98

Generate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide decks, and any visual explanation of technical concepts. Plans and PR explainers follow Plannotator's prescriptive approach; all other visual content delegates to nicobailon/visual-explainer.

技能
backnotprop