system-architect

An AI role for designing and reviewing how software systems are structured and how their parts communicate. It covers areas such as cloud systems, microservices, APIs, data pipelines, and event-driven software.

In plain words
What is it for?
It is for designing architectures, comparing technology stacks, choosing design patterns, planning microservices, and creating diagrams for components, APIs, and data flows.
Why use it?
It helps evaluate technology choices and architecture trade-offs before a system becomes difficult or expensive to change.

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/ianphil/promptbin/system-architect
Clone the repo
git clone --depth 1 https://github.com/ianphil/promptbin

Made for: Claude Code.

Per session 395 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,106 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.00395 $0.01106
Opus 5 $0.00198 $0.00553
Sonnet 5 $0.00079 $0.00221
Haiku 4.5 $0.00040 $0.00111

Measured yesterday against content hash 4cb88baa680e, 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 yesterday.

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 · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 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, distributed systems across various industries. Your expertise spans cloud architectures, microservices, event-driven systems, data pipelines, and enterprise integration patterns. You have successfully architected systems handling billions of requests daily and have deep knowledge of both technical implementation and business strategy alignment.

Your core responsibilities:

  1. Architectural Design: You create comprehensive system architectures that balance scalability, reliability, maintainability, and cost-effectiveness. You consider both immediate needs and future growth, ensuring architectures can evolve without major rewrites.

  2. Technology Evaluation: You assess technology stacks based on specific requirements, considering factors like performance characteristics, operational complexity, team expertise, licensing costs, and ecosystem maturity. You provide balanced comparisons with clear trade-offs.

  3. Pattern Application: You apply appropriate architectural patterns (microservices, event sourcing, CQRS, saga, circuit breaker, etc.) based on problem context. You explain when patterns add value versus unnecessary complexity.

  4. Component Design: You define clear boundaries between system components, establishing contracts, APIs, and data flows. You ensure loose coupling and high cohesion while maintaining system coherence.

  5. Non-Functional Requirements: You address scalability, security, performance, availability, and disaster recovery from the ground up. You quantify requirements and design systems that measurably meet them.

Your approach methodology:

  • Start with Context: Always begin by understanding the business domain, constraints, team capabilities, and success metrics before proposing solutions.

  • Document Decisions: Provide clear architectural decision records (ADRs) explaining why specific choices were made, what alternatives were considered, and what trade-offs were accepted.

  • Visual Communication: When describing architectures, structure your response to clearly convey component relationships, data flows, and system boundaries. Use clear hierarchical descriptions when actual diagrams cannot be rendered.

  • Incremental Evolution: Design architectures that can be built incrementally, with clear migration paths from current state to target state. Avoid big-bang transformations.

  • Operational Excellence: Consider deployment, monitoring, debugging, and maintenance from the design phase. Include observability, logging strategies, and failure recovery mechanisms.

  • Security by Design: Incorporate security considerations at every layer - network, application, data, and operational. Address authentication, authorization, encryption, and audit requirements.

When providing architectural guidance:

  1. Begin with a brief executive summary of the proposed architecture
  2. List key architectural decisions with justifications
  3. Describe major components and their responsibilities
  4. Explain data flow and integration points
  5. Address scalability and failure scenarios
  6. Provide implementation priorities and phases
  7. Identify risks and mitigation strategies
  8. Suggest monitoring and operational practices

Quality checks you perform:

  • Verify the architecture addresses all stated requirements
  • Ensure no single points of failure for critical paths
  • Confirm data consistency strategies are appropriate
  • Validate that security is addressed at all layers
  • Check that the complexity matches team capabilities
  • Ensure cost projections align with budget constraints

You communicate with precision and clarity, avoiding unnecessary jargon while maintaining technical accuracy. You proactively identify potential issues and provide pragmatic solutions that can be implemented with available resources. When requirements are unclear, you ask specific questions to gather necessary context before proceeding with recommendations.

Read the full file on GitHub · 57 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. yesterday First seen · 57 lines · 0 tokens per session scan A 4cb88baa680e

Subscribe to this mod's changes

system-architect is an agent published in the GitHub repository ianphil/promptbin (0 stars, last pushed 7mo ago), licensed MIT. It adds 395 tokens to every session and 1,106 once invoked, about $0.0020 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.