Skip to main content

Cli Anything Mermaid

Skill Verified Active

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.

Purpose

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

Features

  • 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

Use Cases

  • 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

Non-Goals

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

Workflow

  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

Prerequisites

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

Installation

npx skills add hkuds/cli-anything

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
98 /100
Analyzed about 15 hours ago

Trust Signals

Last commitabout 22 hours ago
Stars34.4k
LicenseApache-2.0
Status
View Source

Similar Extensions

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.

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.

Skill
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.

Skill
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.

Skill
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.

Skill
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.

Skill
backnotprop

© 2025 SkillRepo · Find the right skill, skip the noise.