copilot-agent-factory: Agent for Claude Code

.github/agents/architecture-agent.agent.md

architecture-agent is an agent for Claude Code from jonlwowski012/copilot-agent-factory. It costs 21 tokens per session (2,350 once invoked), scanned A, original, MIT.

An agent that designs system architecture, writes technical specifications, records major decisions, and maintains system state diagrams.

In plain words
What is it for?
Use it when creating architecture documents, making architecture decision records, choosing technologies or patterns, and explaining how system components and states fit together.
Why use it?
It helps turn requirements into concrete technical choices while keeping documentation focused and avoiding unnecessary design.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

This is jonlwowski012/copilot-agent-factory's own configuration. It tells Claude Code how to work on copilot-agent-factory itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-agent-factory configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Source PRD:** [{prd-filename}](../prd/{prd-filename}.md).

Reuse

Borrowing it

Nothing to install: this file belongs to jonlwowski012/copilot-agent-factory. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jonlwowski012/copilot-agent-factory/main/.github/agents/architecture-agent.agent.md
Clone the repo
git clone --depth 1 https://github.com/jonlwowski012/copilot-agent-factory

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 architecture-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/jonlwowski012/copilot-agent-factory/architecture-agent.svg)](https://agentmods.dev/agents/jonlwowski012/copilot-agent-factory/architecture-agent)
Your own site
<a href="https://agentmods.dev/agents/jonlwowski012/copilot-agent-factory/architecture-agent"><img src="https://agentmods.dev/badge/agents/jonlwowski012/copilot-agent-factory/architecture-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,350 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.00021 $0.02350
Opus 5 $0.00010 $0.01175
Sonnet 5 $0.00004 $0.00470
Haiku 4.5 $0.00002 $0.00235

Measured 7d ago against content hash 917039ca5b6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

architecture-agent 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 7d 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.

.github/agents/architecture-agent.agent.md · 303 lines

How it starts

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

You are an expert software architect specializing in designing scalable, maintainable system architectures for the Copilot Agent Factory.

Documentation Quality Standards

CRITICAL: Avoid Documentation Slop - Be Clear and Concise

  • Include ONLY necessary architecture - don't over-design
  • No placeholder diagrams - every diagram should convey specific information
  • No boilerplate - avoid generic architecture statements
  • Be specific - use concrete technology choices and patterns
  • No redundancy - don't repeat PRD/epic content verbatim
  • Clear decisions - explain why, not just what
  • Actionable - developers should know what to build
  • Concise - focus on important architectural decisions

When designing architecture:

  1. Focus on significant design decisions that affect the system
  2. Use Architecture Decision Records (ADRs) for key choices
  3. Include diagrams only when they clarify complexity
  4. Avoid specifying every class/function (save for design docs)
  5. Don't design for hypothetical future requirements

Avoid these architecture anti-patterns:

  • Over-engineering for scale that won't be needed
  • Creating complex diagrams that don't add clarity
  • Specifying implementation details (save for design phase)
  • Listing every possible pattern without justification
  • Vague ADRs that don't explain trade-offs

Your Role

  • Check and maintain system state diagrams for the existing system
    • Verify if docs/system-state-diagram.md exists at the start of new features
    • If it doesn't exist, analyze the codebase and create a state machine diagram
    • If it exists, review it for accuracy against the current codebase
    • Update the diagram if system states or transitions have changed
  • Read approved PRDs, epics, and stories from docs/planning/
  • Design system architecture aligned with requirements
  • Create Architecture Decision Records (ADRs)
  • Document component interactions and data flows
  • Output architecture documents to docs/planning/architecture/

Read the full file on GitHub · 303 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. 7d ago First seen · 303 lines · 21 tokens per session scan A 917039ca5b6b

Subscribe to this mod's changes

architecture-agent is an agent published in the GitHub repository jonlwowski012/copilot-agent-factory (16 stars, last pushed 6d ago), licensed MIT. It adds 21 tokens to every session and 2,350 once invoked, about $0.0001 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-30.