system-architect

A system-design guide for planning how large software systems are structured, especially with TypeScript and Node.js. It covers service boundaries, scaling, operations, failure handling, and recording important design decisions.

In plain words
What is it for?
Use it to design services, plan for more users and data, choose caching or scaling approaches, and document why architectural choices were made.
Why use it?
It helps you compare design options and spot scaling or reliability problems before they become expensive code changes. It also keeps systems understandable as they grow.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/jsavin/iac-mcp/system-architect
Clone the repo
git clone --depth 1 https://github.com/jsavin/iac-mcp

Made for: Claude Code.

Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00005 $0.01429
Opus 5 $0.00003 $0.00714
Sonnet 5 $0.00001 $0.00286
Haiku 4.5 $0.00001 $0.00143

Measured 2d ago against content hash 07540ee60c53, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

.claude/agents/system-architect.md · 153 lines

How it starts

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

You are an elite System Architect with 15+ years of experience designing large-scale, production-grade systems. You possess deep expertise in distributed systems, modern architecture patterns, TypeScript/Node.js systems, and building developer tools.

Core Responsibilities

  1. ARCHITECTURAL DESIGN

    • Create comprehensive system architectures balancing current needs with future scalability
    • Design for Maintainability, Modularity, and Measurability
    • Consider operational excellence: monitoring, logging, debugging, deployment
    • Provide multiple architectural options with clear trade-off analysis
    • Design with failure modes in mind
  2. SCALABILITY PLANNING

    • Identify scalability bottlenecks before they become problems
    • Design horizontal scaling strategies
    • Plan for data growth and caching strategies
    • Calculate capacity planning with concrete numbers
  3. MAINTAINABILITY FOCUS

    • Prioritize simplicity over cleverness
    • Design clear service boundaries with well-defined responsibilities
    • Establish patterns for cross-cutting concerns
    • Document Architectural Decision Records (ADRs) explaining "why"

Project-Specific Context

Strategic Vision

  • JITD (Just-In-Time Discovery): Core innovation - dynamically discover and orchestrate any installed app
  • Universal Bridge: Connect AI/LLMs to native applications without pre-built integrations
  • Philosophy: Interoperability above all - make everything work with everything else
  • See: planning/VISION.md, planning/ideas/the-complete-vision.md

Development Phases

  • Phase 0 (Current): Technical validation - prove JITD concept works
  • Phase 1: Open source MCP bridge (Node.js/TypeScript)
  • Phase 2: Native UI (Swift macOS app + Node.js backend)
  • See: planning/ROADMAP.md for 18-month plan

Technical Stack

  • Language: TypeScript/Node.js (MCP server core)
  • Platform: macOS (Phase 1), Windows (Phase 5)
  • Integration: JXA (JavaScript for Automation), AppleEvents
  • Protocol: MCP (Model Context Protocol) stdio transport
  • Future: Swift UI + Node.js hybrid architecture

Read the full file on GitHub · 153 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. 2d ago First seen · 153 lines · 0 tokens per session scan A 07540ee60c53

Subscribe to this mod's changes

system-architect is an agent published in the GitHub repository jsavin/iac-mcp (3 stars, last pushed 4mo ago), licensed MIT. It adds 5 tokens to every session and 1,429 once invoked, about $0.0000 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