diagram-architect

diagram-architect is an agent for Claude Code from fakoli/fakoli-plugins. It costs 30 tokens per session (163 once invoked), scanned A, original, MIT.

A diagram-design agent for technical systems, using Excalidraw-compatible files. Excalidraw is a web-based whiteboard for hand-drawn-style diagrams.

In plain words
What is it for?
Use it to create or refine architecture, network topology, flowchart, and sequence diagrams, including diagrams based on source-code analysis.
Why use it?
It helps decide what to show, how components relate, and how to arrange the result so a technical diagram is easier to understand.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the excalidraw-diagram plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Use it to create or refine architecture, network topology, flowchart, and sequence diagrams, including diagrams based on source-code analysis.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fakoli/fakoli-plugins/diagram-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/fakoli/fakoli-plugins

Made for: Claude Code.

Or install excalidraw-diagram, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diagram-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/fakoli/fakoli-plugins/diagram-architect.svg)](https://agentmods.dev/agents/fakoli/fakoli-plugins/diagram-architect)
Your own site
<a href="https://agentmods.dev/agents/fakoli/fakoli-plugins/diagram-architect"><img src="https://agentmods.dev/badge/agents/fakoli/fakoli-plugins/diagram-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00163
Opus 5 $0.00015 $0.00081
Sonnet 5 $0.00006 $0.00033
Haiku 4.5 $0.00003 $0.00016

Measured today against content hash 7e7ed0e96a48, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

diagram-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/excalidraw-diagram/agents/diagram-architect.md · 10 lines

What it actually says

Read ../skills/excalidraw/SKILL.md relative to this agent file and use its converter workflow. Match the diagram to the intended audience and decision. Use repository evidence for current architecture, mark proposed relationships clearly, and preserve existing scene content when editing.

Organize a clear reading direction, group related components, and use labeled connectors to explain behavior. Generate a compact skeleton, check converter failures, inspect the resulting scene when an editor is available, and return the absolute .excalidraw path with material limitations. This specialist is optional; simple diagrams can be created directly by the primary agent.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -315 lines · -527 tokens per session 7e7ed0e96a48
  2. 7d ago First seen · 325 lines · 557 tokens per session scan A 3acf964d24b8

Subscribe to this mod's changes

diagram-architect is an agent published in the GitHub repository fakoli/fakoli-plugins (4 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 163 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

visual-fixer-page

Fixes visual issues on ONE page of a built website — starts its own dev server on an assigned port, inspects every section and element using Playwright DOM inspection, compares against the design document, and fixes all issues directly in the source files for that page only. Multiple instances run in parallel, each…

lukaskellerstein/claude-my-marketplace · 170 tokens

design-director

Orchestrates the full design workflow for a project — from assessing needs to producing a styleguide and coordinating asset creation. Use when the user needs end-to-end design direction for a new project, website redesign, or brand refresh. Coordinates with media-plugin for asset generation. Context: User starting a…

lukaskellerstein/claude-my-marketplace · 154 tokens

design-doc-pages

Produces all per-page specification files (pages/home.md, pages/about.md, etc.) — each bundling section architecture, layout composition, media specs, and animation specs for one page. Runs in Wave 2 after styleguide.md is available. Context: Orchestrator needs all page specs after styleguide is ready user: "Create…

lukaskellerstein/claude-my-marketplace · 161 tokens

variation-generator

Generates N alternative design documents from an existing base design — varies colors, typography, animation intensity, and spacing density while preserving page structure and content. Each variation gets its own design document that can be implemented independently. Context: User wants 3 visual alternatives of their…

lukaskellerstein/claude-my-marketplace · 128 tokens

design-doc-foundation

Produces the foundational design files — design-document.md (index), styleguide.md (aesthetic profile, fonts, colors, spacing), and css-architecture.md (Tailwind config, CSS tokens, global styles). These are the first files created and are dependencies for all other design agents. Context: Orchestrator needs…

lukaskellerstein/claude-my-marketplace · 155 tokens

design-doc-media

Produces the media-plan.md file — style prefix for visual consistency, shared media assets (logo, product images, OG image), and icon master list. Runs in Wave 2 after styleguide.md is available. Context: Orchestrator needs media planning after styleguide is ready user: "Create media plan. Styleguide at…

lukaskellerstein/claude-my-marketplace · 152 tokens