diagram-kit

Agents are bad at placing boxes. diagram-kit gives Claude Code and Codex a layout engine (ELK.js) and a skill with the instructions and intuition to draw clear, well-positioned diagrams in whatever medium you work in.

How it works

Install the plugin

Claude Code
/plugin marketplace add Alireza29675/diagram-kit
/plugin install diagram-kit@diagram-kit
Codex
codex plugin marketplace add Alireza29675/diagram-kit
codex plugin add diagram-kit@diagram-kit

Then ask your agent for a diagram using /create-diagram explain what you want

What agents could one-shot with diagram-kit 👇

Architecture

Flowchart

Sequence

State machine

Data model

Tree

Mind map

A harder one, card payments

whatever medium..!

diagram-kit gives your agent a programmatic view of the layout, the structure and how everything connects. What it does with that is up to your agent, even a racing game.