Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

diagram

Skill by HybridAIOne

Creates, validates, updates and renders diagram-as-code artifacts for the assistant. Built for users who want Mermaid, PlantUML, Graphviz DOT or Excalidraw diagrams.

  • Score 61
  • 166 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install diagram

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HybridAIOne/hybridclaw /tmp/hybridclaw && mkdir -p ~/.claude/skills && cp -r /tmp/hybridclaw/skills/diagram ~/.claude/skills/diagram

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install diagram in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Diagram is a skill that turns a request into diagram source and, optionally, a rendered file. It defaults to Mermaid and picks a type such as sequence, flowchart, state, ER, class, gantt, git-graph, mindmap or pie. It also has adapters for PlantUML, Graphviz DOT and Excalidraw JSON, and it picks one of these when the user names it or when the shape fits it better.

The skill uses three tools: diagram_create, diagram_update and diagram_validate. Source is validated before rendering, and invalid source is still saved so the operator can inspect or repair it. Rendered output defaults to SVG, with PNG or PDF when the adapter supports them. Artifacts are stored under .generated-diagrams/skills/diagram/. It suits users who want editable, validated diagram source for documents or design work.

Written from the project's SKILL.md and checked against it.

What it can do

  • diagram_createCreates diagram source, validates it, saves it and optionally renders it.
  • diagram_updateUpdates existing diagram source, validates it and saves a new source artifact.
  • diagram_validateValidates diagram source without rendering it.
  • Mermaid diagramsSupports sequence, flowchart, state, ER, class, gantt, git-graph, mindmap and pie diagrams.
  • PlantUML, Graphviz and Excalidraw adaptersAdds PlantUML UML diagrams, Graphviz DOT layouts and editable Excalidraw JSON sketches.
  • Fix-up on validation failureUses returned errors and suggested fixes to revise source, with at most 2 fix-up attempts.

What you need

  • Local Mermaid renderer (mmdc) for full Mermaid syntax checking
  • Local Graphviz renderer for DOT rendering
  • PlantUML server URL, only if PlantUML rendering is wanted

Try asking

  • Draw a sequence diagram of the login API call flow as Mermaid
  • Validate this flowchart source and fix any errors before rendering
  • Update the release git-graph to add a hotfix branch and render an SVG

Good to know

  • Full Mermaid syntax checking happens only when mmdc renders the source
  • Without a PlantUML server, SVG requests fall back to source-backed SVG files
  • Excalidraw defaults to no render, because the JSON is the editable deliverable
  • Generated diagrams are not authoritative for security, legal, medical or financial decisions

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/diagram/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to diagram

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

diagram: common questions

What diagram formats does the diagram skill support?

It defaults to Mermaid and also supports PlantUML, Graphviz DOT and Excalidraw JSON through adapters. The source says the choice depends on the user's request or on which format fits the shape best.

What happens if the diagram source is invalid?

Validation returns success and valid as false, with errors and a suggested fix when available. The invalid source is still saved with source_artifact_valid set to false so it can be inspected or repaired.

Where are the generated diagram files stored?

Artifacts are stored under the skill-scoped path .generated-diagrams/skills/diagram/. Rendered diagrams also emit a diagram.rendered event in runtime_events.

How do I install diagram?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is diagram free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is diagram safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to diagram?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

diagram Install

Add to stack

Loading.