Download

slash command · Design & Frontend

C4 Architecture

by wshobson

Generate comprehensive C4 architecture documentation (Context, Container, Component, Code) for a codebase using bottom-up analysis and four coordinated C4 agents.

Calyban is a free desktop app. It checks C4 Architecture for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install C4 Architecture manually

Prefer the terminal? This does the same thing as Calyban's install.

Claude Code

mkdir -p ~/.claude/commands
curl -fsSL https://raw.githubusercontent.com/wshobson/agents/42203085cfc5736204bf0f6d436dff7e1da0bf3f/plugins/c4-architecture/commands/c4-architecture.md -o ~/.claude/commands/c4-architecture.md

Codex

mkdir -p ~/.codex/prompts
curl -fsSL https://raw.githubusercontent.com/wshobson/agents/42203085cfc5736204bf0f6d436dff7e1da0bf3f/plugins/c4-architecture/commands/c4-architecture.md -o ~/.codex/prompts/c4-architecture.md

Start a new Claude Code & Codex session afterwards so it picks up the change.

Similar slash commands

All slash commands →

Guides

Listed in the public Calyban catalog. C4 Architecture is made by wshobson, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.