hkuds avatar

Cli Anything Mermaid

This is a stateful CLI for creating and rendering Mermaid diagrams without touching a GUI. You get project files that track your diagram source, undo/redo history, and commands to spit out SVGs or PNGs via mermaid.ink. It's built for AI agents with JSON output mode, but the REPL works fine for humans too. The sample presets (flowchart, sequence, etc.) are handy if you're prototyping quickly. Honestly most useful when you're already scripting diagram generation or need programmatic access to Mermaid rendering. If you just want one diagram, the web editor is faster, but for batch work or agent workflows this makes sense.

skills.sh installs
559
GitHub stars
58.5K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/hkuds/cli-anything
Categories
Sales & Marketing, CLI & Terminal
First seen
Jun 3, 2026

More from hkuds/cli-anything

All 51
1firecrawl avatarfirecrawl-build-mapfirecrawl/skillsIntegrate Firecrawl `/map` into product code for URL discovery on a known site. Use when a feature needs to find pages before scraping or crawling, especially o554skills.sh installs
2aicoincom avataraicoin-tradingaicoincom/coinos-skills**CEX 中心化交易所**(Binance / OKX / Bybit / Bitget 等)的下单交易工具。严格规则:(1) 所有订单必须通过 node scripts/exchange.mjs create_order 执行,禁止写自定义代码下单 (2) create_order 分两步:第一次返回预览,展示给用545skills.sh installs
3alirezarezvani avatartc-trackeralirezarezvani/claude-skillsUse when the user asks to track technical changes, create change records, manage TC lifecycles, or hand off work between AI sessions. Covers init/create/update/544skills.sh installs
4longbridge avatarlongbridge-stock-researchlongbridge/skillsComprehensive equity research snapshot — integrates analyst consensus estimates, company fundamentals (revenue / profit / valuation), 60-day price history, and 543skills.sh installs
5openclaudia avatarcopywritingopenclaudia/openclaudia-skillsWrite marketing copy for any page type: landing pages, product pages, about pages, sales pages, ads, and more. Trigger phrases: "write copy", "marketing copy", 543skills.sh installs
6longbridge avatarlongbridge-fundamentallongbridge/skillsCompany fundamentals via Longbridge — latest financial report KPIs (revenue / net income / EPS / ROE / margins / cash flow), YoY trends, dividend history, forwa542skills.sh installs