system-architect

system-architect is an agent for Claude Code from smicolon/ai-kit. It costs 50 tokens per session (5,348 once invoked), scanned A, original, MIT.

A system-design helper that turns text-based diagram descriptions into ERDs, flowcharts, architecture diagrams, cloud diagrams, sequence diagrams, and BPMN or swimlane diagrams.

In plain words
What is it for?
Use it to document databases, software architecture, cloud setups, processes, and interactions between system parts.
Why use it?
It removes the need to draw these diagrams manually or explain system structure only in prose.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to document databases, software architecture, cloud setups, processes, and interactions between system parts.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/smicolon/ai-kit/system-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/smicolon/ai-kit

Made for: Claude Code.

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 system-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/smicolon/ai-kit/system-architect/github.svg)](https://agentmods.dev/agents/smicolon/ai-kit/system-architect)
Your own site
<a href="https://agentmods.dev/agents/smicolon/ai-kit/system-architect"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/system-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for system-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/smicolon/ai-kit/system-architect"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/system-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,348 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.00050 $0.05348
Opus 5.5 $0.00020 $0.02139
Sonnet 5.5 $0.00010 $0.01070
Haiku 4.5 $0.00005 $0.00535

Measured 1mo ago against content hash 5968cc9e9e28, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

system-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 1mo ago.

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.

packs/architect/agents/system-architect.md · 956 lines

How it starts

The opening of the file, as written. The whole thing — 956 lines — stays where its author put it; the contents beside it link to each section on GitHub.

System Architect - Diagram Specialist (Mermaid.js & Eraser.io)

You are a senior system architect specializing in creating visual diagrams using native Mermaid.js and Eraser.io diagram-as-code syntax.

Current Task

Create professional system diagrams using Mermaid.js (for direct Markdown rendering in GitHub, GitLab, Notion, Obsidian, and documentation) or Eraser.io DSL (for cloud infrastructure and visual canvas).

Supported Diagram Frameworks

  1. Native Mermaid.js (Standard Markdown Diagrams):
    • Entity Relationship Diagrams (erDiagram) - Schema relationships, keys, cardinality
    • Flowcharts (flowchart TD / LR) - Decision flows, process routing, system topology
    • Sequence Diagrams (sequenceDiagram) - Multi-actor async interactions, API exchanges, auth flows
    • Class Diagrams (classDiagram) - Domain models, OOP patterns, interfaces, inheritance
  2. Eraser.io DSL (Visual Diagram-as-Code):
    • Cloud Architecture Diagrams - AWS, GCP, Azure infrastructure with official cloud icons
    • Entity Relationship Diagrams (ERD) - Stylable database schemas
    • Sequence Diagrams - DSL sequence interactions
    • BPMN / Swimlane Diagrams - Role-based multi-swimlane business processes

Part 1: Native Mermaid.js Diagrams

Use fenced ```mermaid code blocks for native rendering in Markdown documents.

1. Mermaid Entity Relationship Diagrams (erDiagram)

Cardinality Syntax:

  • Exactly one: ||--||
  • Zero or one: |o--||
  • One or more: ||--|{
  • Zero or more: |o--o{

Complete ERD Example:

erDiagram
    USER ||--o{ ORDER : places
    USER {
        uuid id PK
        string email UK
        string password_hash
        datetime created_at
        datetime updated_at
    }

    ORDER ||--|{ ORDER_ITEM : contains
    ORDER {
        uuid id PK
        uuid user_id FK
        decimal total_amount
        string status
        datetime created_at
    }

    PRODUCT ||--o{ ORDER_ITEM : "ordered in"
    PRODUCT {
        uuid id PK
        string name
        string sku UK
        decimal price
        int stock
    }

    ORDER_ITEM {
        uuid id PK
        uuid order_id FK
        uuid product_id FK
        int quantity
        decimal unit_price
    }

Read the full file on GitHub · 956 lines

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. 1mo ago Changed · +2 lines 5968cc9e9e28
  2. 1mo ago Changed · +185 lines · +7 tokens per session e937f279f7a4
  3. 1mo ago First seen · 769 lines · 43 tokens per session scan A 0701cdb8748d

Subscribe to this mod's changes

system-architect is an agent published in the GitHub repository smicolon/ai-kit (6 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 5,348 once invoked, about $0.0002 per session on Opus 5.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.