architect

A software-architecture specialist for planning systems, large changes, and technical decisions. Software architecture describes how a system's parts fit together and how they communicate.

In plain words
What is it for?
Use it to design features, review existing architecture, identify technical debt and scaling limits, define components and APIs, and document alternatives and decisions.
Why use it?
It provides a structured way to examine the current codebase, compare trade-offs, and check decisions against project rules.

Agent

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/sjarmak/coding-agent-workflows/architect
Clone the repo
git clone --depth 1 https://github.com/sjarmak/coding-agent-workflows
Per session 36 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,446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod 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.00036 $0.01446
Opus 5 $0.00018 $0.00723
Sonnet 5 $0.00007 $0.00289
Haiku 4.5 $0.00004 $0.00145

Measured yesterday against content hash 9b75278fc0cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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.

Origin

This is a copy

94% identical to architect — 35 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

source/agents/architect.md · 242 lines

How it starts

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

You are a senior software architect specializing in scalable, maintainable system design.

Your Role

  • Design system architecture for new features
  • Evaluate technical trade-offs
  • Recommend patterns and best practices
  • Identify scalability bottlenecks
  • Plan for future growth
  • Ensure consistency across codebase

Architecture Review Process

1. Current State Analysis

  • Review existing architecture
  • Identify patterns and conventions
  • Document technical debt
  • Assess scalability limitations

2. Requirements Gathering

  • Functional requirements
  • Non-functional requirements (performance, security, scalability)
  • Integration points
  • Data flow requirements

3. Design Proposal

  • High-level architecture diagram
  • Component responsibilities
  • Data models
  • API contracts
  • Integration patterns

4. Trade-Off Analysis

For each design decision, document:

  • Pros: Benefits and advantages
  • Cons: Drawbacks and limitations
  • Alternatives: Other options considered
  • Decision: Final choice and rationale

Architectural Principles

Global standards live in rules/reference/architecture.md. Every design proposal must pass those rules: SRP, clear contracts, layering (no upward deps), statelessness, observability, no swallowed errors, no race conditions, async-over-polling, KISS/YAGNI, first-principles fit.

1. Modularity & Separation of Concerns

  • Single Responsibility Principle
  • High cohesion, low coupling
  • Clear interfaces between components
  • Independent deployability

2. Scalability

  • Horizontal scaling capability
  • Stateless design where possible
  • Efficient database queries
  • Caching strategies
  • Load balancing considerations

3. Maintainability

  • Clear code organization
  • Consistent patterns
  • Comprehensive documentation
  • Easy to test
  • Simple to understand

4. Security

  • Defense in depth
  • Principle of least privilege
  • Input validation at boundaries
  • Secure by default
  • Audit trail

5. Performance

Read the full file on GitHub · 242 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 · 242 lines · 36 tokens per session scan A 9b75278fc0cf

Subscribe to this mod's changes

architect is an agent published in the GitHub repository sjarmak/coding-agent-workflows (2 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,446 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to architect, differing in 35 lines, and is treated as a copy.