Archify - a diagramming skill for AI agents. Claude already draws decent diagrams on its own, so why has this skill picked up so much attention since launching in April? Compared with raw Mermaid diagrams in Claude Code, the difference comes down to one design choice: Archify never exports the AI’s first draft unchecked. It runs deterministic checks over schema validity, node placement, edge routing paths, and text overlap, exporting a file only after every rule passes. Normally, asking Claude or Codex for a diagram takes several manual cleanup rounds because the model cannot tell when lines tangle or labels collide. Archify automates that quality gate, returning exact rule violations to the AI so the model fixes and resubmits the layout itself. Of course, passing layout validation still depends on feeding accurate system structure up front - otherwise you just get a neatly rendered wrong diagram. Putting a deterministic pass/fail gate in front of generative diagramming makes this a handy skill for anyone who visualizes complex architectures regularly.

Ask an AI agent for a system diagram and the first draft usually looks plausible until you spot tangled connector lines or overlapping labels that the model never notices on its own. Archify closes that gap with an automated validation loop.

Enforcing a Deterministic Quality Gate

Rather than writing an agent’s raw diagram straight to disk, Archify compiles it through a typed JSON IR and runs deterministic checks covering schema compliance, node layout, connector routing paths, and label overlap.

Whenever a check fails, Archify reports the exact rule violation back to the agent so the model revises and resubmits the layout automatically without manual line-nudging.

Diagram Types and Architecture Diffs

Working from plain-text system descriptions or repository analysis, Archify generates five diagram types - architecture, workflow, sequence, data flow, and lifecycle - complete with visual presets and themes.

It also compares two architecture snapshots side by side as Before, Delta, and After views, while supporting node search and upstream/downstream path tracing.

Supported Agents and Installation

Archify installs as a skill across Claude Code, Cursor, Raven, Codex CLI, and OpenCode with a single command: npx skills add tt-a1i/archify -g.

Once installed, asking an agent to map out runtime architecture produces a validated diagram exported as standalone interactive HTML, PNG, SVG, WebM, or social share-card images.

Summary

  • Runs deterministic schema, routing, and text-overlap checks with an automated self-correction loop before exporting AI diagrams.
  • Tracks structural changes across Before, Delta, and After snapshots alongside upstream and downstream path tracing.
  • Installs across Claude Code, Cursor, Codex CLI, Raven, and OpenCode via npx skills add tt-a1i/archify -g.