Diagram Design
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
Command-line interface for Drawio - A CLI harness for Draw.io — create, edit, and export diagrams from the command line....
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HKUDS/CLI-Anything cli-anything-drawio --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-anything-drawio .claude/skills/cli-anything-drawio && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cli-anything-drawio" agent skill from https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-drawio into .claude/skills/cli-anything-drawio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-anything-drawio", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-drawioType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HKUDS/CLI-Anything cli-anything-drawio --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cli-anything-drawio .agents/skills/cli-anything-drawio && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cli-anything-drawio" agent skill from https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-drawio into .agents/skills/cli-anything-drawio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-anything-drawio", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HKUDS/CLI-Anything cli-anything-drawio --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cli-anything-drawio .cursor/skills/cli-anything-drawio && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cli-anything-drawio" agent skill from https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-drawio into .cursor/skills/cli-anything-drawio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-anything-drawio", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HKUDS/CLI-Anything.git --path skills/cli-anything-drawio--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HKUDS/CLI-Anything cli-anything-drawio --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cli-anything-drawio .gemini/skills/cli-anything-drawio && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cli-anything-drawio" agent skill from https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-drawio into .gemini/skills/cli-anything-drawio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-anything-drawio", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HKUDS/CLI-Anything cli-anything-drawioInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cli-anything-drawio .github/skills/cli-anything-drawio && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cli-anything-drawio" agent skill from https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-drawio into .github/skills/cli-anything-drawio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-anything-drawio", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HKUDS/CLI-Anything cli-anything-drawio --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cli-anything-drawio .opencode/skills/cli-anything-drawio && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cli-anything-drawio" agent skill from https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-drawio into .opencode/skills/cli-anything-drawio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-anything-drawio", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cli-anything-drawioCommand-line interface for Drawio - A CLI harness for Draw.io — create, edit, and export diagrams from the command line....
CLI Anything Drawio is an agent skill from HKUDS/CLI-Anything. Command-line interface for Drawio - A CLI harness for Draw.io — create, edit, and export diagrams from the command line....
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Diagrams. It works with draw.io. The repository describes itself as: "CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 34f5195. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
CLI Anything Drawio loads about 1.2k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 455 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HKUDS/CLI-Anything at commit 34f5195, republished under its Apache-2.0 licence (© HKUDS). 455 words, ~1,189 tokens.
.claude/skills/cli-anything-drawio/SKILL.md (or your agent's skills folder).A CLI harness for Draw.io — create, edit, and export diagrams from the command line.
This CLI is installed as part of the cli-anything-drawio package:
pip install cli-anything-drawioPrerequisites:
# Show help
cli-anything-drawio --help
# Start interactive REPL mode
cli-anything-drawio
# Create a new project
cli-anything-drawio project new -o project.json
# Run with JSON output (for agent consumption)
cli-anything-drawio --json project info -p project.jsonWhen invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-drawio
# Enter commands interactively with tab-completion and historyProject management: new, open, save, info.
| Command | Description |
|---|---|
new | Create a new blank diagram |
open | Open an existing .drawio project file |
save | Save the current project |
info | Show detailed project information |
xml | Print the raw XML of the current project |
presets | List available page size presets |
Shape operations: add, remove, move, resize, style.
| Command | Description |
|---|---|
add | Add a shape to the diagram |
remove | Remove a shape by ID |
list | List all shapes on a page |
label | Update a shape's label text |
move | Move a shape to new coordinates |
resize | Resize a shape |
style | Set a style property on a shape |
info | Show detailed info about a shape |
types | List all available shape types |
Connector operations: add, remove, style.
| Command | Description |
|---|---|
add | Add a connector between two shapes |
remove | Remove a connector by ID |
label | Update a connector's label |
style | Set a style property on a connector |
list | List all connectors on a page |
styles | List available edge styles |
Page operations: add, remove, rename, list.
| Command | Description |
|---|---|
add | Add a new page |
remove | Remove a page by index |
rename | Rename a page |
list | List all pages |
Export operations: render to PNG, PDF, SVG.
| Command | Description |
|---|---|
render | Export the diagram to a file |
formats | List available export formats |
Session management: status, undo, redo.
| Command | Description |
|---|---|
status | Show current session status |
undo | Undo the last operation |
redo | Redo the last undone operation |
save-state | Save session state to disk |
list | List all saved sessions |
Create a new drawio project file.
cli-anything-drawio project new -o myproject.json
# Or with JSON output for programmatic use
cli-anything-drawio --json project new -o myproject.jsonStart an interactive session with undo/redo support.
cli-anything-drawio
# Enter commands interactively
# Use 'help' to see available commands
# Use 'undo' and 'redo' for history navigationExport the project to a final output format.
cli-anything-drawio --project myproject.json export render output.pdf --overwriteThe CLI maintains session state with:
All commands support dual output modes:
--json flag): Structured JSON for agent consumption# Human output
cli-anything-drawio project info -p project.json
# JSON output for agents
cli-anything-drawio --json project info -p project.jsonWhen using this CLI programmatically:
--json flag for parseable output1.0.0
© HKUDS, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/cli-anything-drawio of HKUDS/CLI-Anything.
Open the folder on GitHubat commit 34f5195
CLI Anything Drawio next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| CLI Anything Drawio this skillHKUDS/CLI-Anything | 52k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Diagram Designcathrynlavery/diagram-design | 45k | 1 repos | ~7.5k | Automated safety check: Pass | MIT | |
| Draw.io Diagram StudioAgents365-ai/drawio-skill | 10k | — | ~2.4k | Automated safety check: Notes | MIT | |
| Draw.io Diagram ReconstructionHKUSTDial/Supervisor-Skills | 8.5k | — | ~5.4k | Automated safety check: Pass | MIT | |
| Scibox Diagramjihe520/sci-box | 248 | 1 repos | ~983 | Automated safety check: Notes | None | |
| Drawio Diagram BuilderWill-hxw/drawio-diagram-builder | 412 | — | ~5.9k | Automated safety check: Pass | MIT |
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
Agents365-ai/drawio-skill
Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.
HKUSTDial/Supervisor-Skills
Rebuilds a reference diagram image as an editable, high-fidelity Draw.io file, mixing native elements, SVG icons and cropped PNGs, with a batch workflow for a folder of images.
jihe520/sci-box
制作与修改可编辑的 draw.io / diagrams.net 示意图(.drawio XML),产出 .drawio + PNG/PDF。三条路径:套用内置模板(五带技术路线图、三栏研究框架图、三栏阶段流程图、横版任务流水线图)、从零手写…
Will-hxw/drawio-diagram-builder
Create, edit, replicate, and iteratively refine editable research and technical diagrams in diagrams.net/draw.io (.drawio XML) from prompts, papers, repositories, screenshots, or existing diagrams.
sparklabx/drawio-ai-kit
A skill your agent uses when the user asks for an Azure architecture diagram — VNet/networking, App Service, AKS, landing zone, multi-region, or any diagram built with Azure service icons.
HKUDS/CLI-Anything
Lets Codex build, refine, test, validate and list CLI-Anything harnesses for GUI applications or source repositories, following the project's full methodology.
HKUDS/CLI-Anything
Adapts the CLI-Anything methodology so Reasonix can build, refine, test and validate a command-line harness for an existing GUI application or source repository.
HKUDS/CLI-Anything
Guides Hermes Agent through building, refining and testing a CLI-Anything harness that wraps a GUI application or source repository in a scriptable command line.
HKUDS/CLI-Anything
Builds, refines, tests or validates a CLI-Anything harness that wraps a GUI application or source repository as a stateful Click CLI with JSON output and a REPL mode.
HKUDS/CLI-Anything
Drives Krita from the command line to create projects, add layers, apply filters, resize the canvas and export images, with JSON output for agents.
HKUDS/CLI-Anything
Defines, lists, inspects and runs parameterized GUI macros from the command line, with the runtime choosing the execution backend.
Works with
Categories
Command-line interface for Drawio - A CLI harness for Draw.io — create, edit, and export diagrams from the command line.... CLI Anything Drawio is an agent skill from HKUDS/CLI-Anything.io — create, edit, and export diagrams from the command line....
CLI Anything Drawio fits situations like: tasks that involve Diagrams.
Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a claude-code`. Or copy the skill folder (skills/cli-anything-drawio in HKUDS/CLI-Anything) into .claude/skills/cli-anything-drawio in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a codex`. Or copy the skill folder (skills/cli-anything-drawio in HKUDS/CLI-Anything) into .agents/skills/cli-anything-drawio in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/CLI-Anything --skill cli-anything-drawio -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-anything-drawio, .gemini/skills/cli-anything-drawio, .github/skills/cli-anything-drawio and .opencode/skills/cli-anything-drawio in your project.
Going by SKILL.md and its folder, CLI Anything Drawio needs the command-line tools its instructions call (pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
CLI Anything Drawio is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with CLI Anything Drawio: Diagram Design (cathrynlavery/diagram-design, 45k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars), Draw.io Diagram Reconstruction (HKUSTDial/Supervisor-Skills, 8.5k stars) and Scibox Diagram (jihe520/sci-box, 248 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HKUDS (a GitHub organization) maintains it in HKUDS/CLI-Anything, which has 51,696 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on September 22, 2026.
Source: HKUDS/CLI-Anything on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.