Skip to content
hkuds avatar

Cli Anything Mermaid

Command-line Mermaid diagram tool that creates, edits, and renders diagrams via stateful project files.

CCM score
60 of 100
skills.sh installs
624
GitHub stars
67.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the project lifecycle, diagram source editing, rendering to SVG or PNG, sharing, and session undo and redo
  • Includes project commands (new, open, save, info, samples), diagram commands (set, show), export commands (render, share), and session commands (status, undo, redo)
  • Supports dual output, with human-readable tables by default and structured JSON via the --json flag for agent consumption
  • Designed for AI agents and power users who need flowcharts and sequence diagrams without a GUI, using the mermaid.ink cloud renderer

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-mermaid -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

cli-anything-mermaid

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

Installation

This CLI is installed as part of the cli-anything-mermaid package:

pip install cli-anything-mermaid

Prerequisites:

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

Usage

Basic Commands

# Show help
cli-anything-mermaid --help

# Start interactive REPL mode
cli-anything-mermaid

# Create a new project
cli-anything-mermaid project new -o diagram.json

# Run with JSON output (for agent consumption)
cli-anything-mermaid --json project info

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-mermaid
# Enter commands interactively with tab-completion and history

Command Groups

Project

Project lifecycle commands.

Details

Repository
github.com/hkuds/cli-anything
Categories
Technical Documentation, 3D, CAD & Modeling, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does cli-anything-mermaid do?

cli-anything-mermaid is a command-line interface for the Mermaid Live Editor that creates, edits and renders Mermaid diagrams through stateful project files. It renders flowcharts, sequence diagrams and other visualizations to SVG or PNG without a GUI.

How do I install cli-anything-mermaid?

Run pip install cli-anything-mermaid, which needs Python 3.10 or newer. Rendering uses the mermaid.ink cloud service, so no other external software is required.

Who is cli-anything-mermaid built for?

cli-anything-mermaid is designed for AI agents and power users who need to generate diagrams from the command line. Its --json flag gives agents structured output to parse.

Which category does cli-anything-mermaid sit in?

cli-anything-mermaid is listed in the Technical Documentation category, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It stands out for letting an agent create, undo and render Mermaid diagrams from stored project files.

How do I render a diagram with cli-anything-mermaid?

Create a project with cli-anything-mermaid project new, set the diagram source with diagram set, then run export render with an SVG or PNG output file. You can also generate a Mermaid Live Editor link with export share.

More from hkuds/cli-anything

All 51

Similar to Cli Anything Mermaid

More Technical Documentation