On this page
Tools
Agent skills
Last updated
Proschi ships skills for AI coding agents: Claude Code, Codex, Cursor,
GitHub Copilot, Gemini CLI and any agent that reads instruction files. With
them, an agent turns your repository into a Proschi model, checks it with
the proschi CLI, and gives you an editor link.
The skills live in the Proschi repository in the open Agent Skills format: one folder per skill, with its instructions and a cheat sheet of the language.
Pick a skill #
| Skill | What it does |
|---|---|
infra-to-proschi |
Models an existing system from prose, a README, Mermaid, Terraform, CloudFormation, CDK, Kubernetes, Helm or docker-compose. Guesses are marked as comments. |
image-to-proschi |
Recreates a screenshot or photo of an architecture diagram (draw.io, Lucidchart, Miro, a whiteboard), legend included. |
code-to-usecases |
Writes usecase blocks from HTTP routes, gRPC services, consumers and client calls, with par and alt failures. |
proschi-capacity-plan |
Adds traffic, requirements and replicas from SLOs or expected load, and fixes the bottlenecks proschi analyze finds. |
proschi-design-review |
Reviews a design for single points of failure, saturation, missing failure scenarios and cost waste, with concrete edits. |
proschi-keep-in-sync |
Finds architecture drift in a pull request and updates the .proschi files. Suggests the GitHub Action. |
proschi-hld-doc |
Fills in the model and generates the HLD document with proschi render --format hld-md. |
Every skill ends the same way: npx proschi check and npx proschi test
until clean, a look at the rendered diagram (npx proschi render), then
npx proschi share-link <file>. The skills need Node 18 or newer, and
share-link and import need proschi 0.9 or newer.
Install the skills #
| Agent | Install | Then |
|---|---|---|
| Claude Code | /plugin marketplace add gvart/proschi, then /plugin install proschi@proschi |
Nothing. /plugin marketplace update proschi fetches new versions. |
| Claude Code, without the plugin | npx degit --force gvart/proschi/plugin/skills .claude/skills (or ~/.claude/skills for every project) |
Commit .claude/skills/ to share them with your team. |
Codex, and any agent that reads AGENTS.md |
npx degit gvart/proschi/plugin/skills .agents/skills |
Add the line below to AGENTS.md. |
| Cursor | the same degit command |
Add the line to .cursor/rules/proschi.mdc, with front matter description: Proschi architecture diagrams. Cursor reads AGENTS.md too. |
| GitHub Copilot | the same degit command |
Add the line to .github/copilot-instructions.md. |
| Gemini CLI | the same degit command |
Add the line to GEMINI.md, or import one skill: @.agents/skills/infra-to-proschi/SKILL.md. |
The line tells the agent where the skills are:
For architecture diagrams (.proschi files), follow the matching skill in .agents/skills/*/SKILL.md.
Agents with native Agent Skills support need no line. Without degit:
git clone --depth 1 https://github.com/gvart/proschi /tmp/proschi
cp -R /tmp/proschi/plugin/skills .agents/skills
In Claude Code, a skill runs when a task matches ("diagram our
docker-compose in Proschi"), or you call it directly:
/proschi:infra-to-proschi.
What to ask #
- "Model our infrastructure from
deploy/anddocker-compose.ymlin Proschi." - "Recreate
docs/architecture.pngin Proschi, with its legend." - "Write Proschi use cases for the checkout endpoints, including the failure paths."
- "We expect 5k rps on search with a p99 under 200 ms: size the design."
- "Review
docs/architecture.proschibefore the design review." - "This PR adds a notification service: update the diagrams."
How the skills lay out a diagram #
The layout runs top-down along the connections and keeps the declaration
order. So the skills point every connection from caller to callee, declare
tier by tier, group by a real boundary (network, cluster, team), and render
the diagram to fix crossings before handing it over. See
steering the layout for layout ordered,
rank and direction.
Diagrams in the terminal #
The Claude Code plugin also draws Proschi diagrams in Claude Code's terminal, with the same layout as the browser. It draws:
- a
```proschiblock in Claude's reply (the plugin tells Claude to answer with one instead of Mermaid or ASCII art when it shows an architecture or a request flow); - a
.proschifile Claude writes or edits, under the tool call; - a file you name with
/proschi view <file>, in a pane that redraws when the file changes.
A drawing shows the cards, groups and legend. With traffic it also shows
the load as the editor's overlay does: a card's border and bar turn yellow
from 40% of capacity and it fills with its heat from 70%, the first to give way carries a BOTTLENECK chip, each
edge takes the colour of the node it feeds and its label the requests it
carries and the latency they add, and the p99 path of the busiest use case is
drawn heavy. The simulation's warnings sit above the drawing, and with
requirements or test blocks that fail, one line under it says how many
and which first; its ⛶ Details opens the pane's HLD at its
requirements. When every check passes, the line is left out and the HLD
tab says so.
Over the drawing, a player like the editor's: a use case picker (its last
entry, ≡ Explore all…, lists every use case and scenario), a scenario
picker, the step buttons and the step being played, with Body ▾ to show
that step's request and response. Under it, buttons copy the source or a
share link, open the diagram in Proschi, or, with ⛶ Focus, move it into
a pane you drive from the keyboard. The pane
has tabs: Diagram, Analysis (cost, the busiest node, load, latency,
availability and cost per node, percentiles per use case, queues, the cost
breakdown, single points of failure and the document's
whatif blocks with their results) and HLD.
↗ Open in Proschi on the tab bar opens the same design in the editor,
where you can also explore what-ifs live.
- HLD shows the HLD document with numbered sections, its tables and the architecture and sequence diagrams; its contents jump to a section, and ⧉ Copy HLD markdown copies it with its Mermaid diagrams. Its Requirements section has each requirement and test, measured, with a fix for those that fail, and the tab shows how many fail.
| Key | Does |
|---|---|
1–3 |
Switch tabs |
p |
Play or pause |
n / b |
Next or previous step |
r / e |
Restart, or jump to the end |
d |
Back to the diagram |
z or + / x or - |
Pictures: zoom in or out (125% to 300%) |
0 |
Pictures: back to fit |
h j k l, arrows |
Pan a zoomed picture, or a text drawing wider than the pane |
s / o |
Select the next team system, open or close it in place |
c |
HLD: copy it as Markdown |
f / u |
Draw only the selected system's design, go back out |
Esc |
Close the pane, back to the prompt |
ctrl+x tab moves focus to the pane when it doesn't have it.
/proschi view --expand orders org.proschi starts with Orders open, and
--focus orders starts inside it.
It needs a Claude Code build with mod support and Node 18 or newer on the
PATH. Icons are Nerd Font glyphs; without
one, set the plugin's icons option to symbols or none.
In a terminal that shows images (kitty and Ghostty; iTerm2 3.5 or later in
fullscreen mode), everything the plugin draws is a picture: the diagram, as
sharp as the editor's canvas, and the player, the buttons, the tabs and the
Analysis and HLD pages around it, which you press with the mouse as in the
editor. Text in a picture can't be selected, so every tab keeps a copy
button. In the pane's Diagram tab, the zoom pill in the diagram's corner (or
the keys above) zooms the picture, and a drag pans it; a diagram too wide to
read at the pane's width says so. Other terminals get the same drawing in
text cells, where a diagram wider than the pane pans instead. The plugin's graphics option
picks: auto (the default) asks the terminal once a session, on always
draws pictures, off always draws text. Inside tmux, pictures need
set -g allow-passthrough on and set -g focus-events on; until both are
on, the plugin draws text and says so under the drawing.
The pictures are drawn by a Node process the plugin starts once a session.
It stops after five minutes without a request (the next drawing starts it
again, in about 150 ms), restarts itself once it holds more than 1 GB, and
is stopped when the session ends. The pictures are written to
$TMPDIR/proschi-raster, named by their content so a picture drawn once is
never drawn again; each session's first drawing deletes the ones no drawing
used for a week. If the pictures show thin gaps
between their strips, set the cellAspect option to your terminal cell's
height over its width (the default, 2.125, fits Ghostty, kitty and iTerm2
at their default fonts; a value outside 1.5 to 3 is ignored, and the debug
log says so).
Limits:
- The plugin never uses the network. Remote imports come from the cache
that
proschi imports syncfills. - It checks import paths as text and cannot resolve symlinks, so it follows
a symlink inside the project that points outside it.
proschi checkresolves symlinks and reports that import. - It draws in a terminal only, fitted to its width (40 to 512 columns).
- The drawing is read-only. Edit the source, or open it in the editor.