claude-code-framework: Agent for Claude Code

.claude/agents/architect.md

architect is an agent for Claude Code from BostonOrange/claude-code-framework. It costs 17 tokens per session (502 once invoked), scanned A, original, MIT.

A software-design review agent that examines how a project is organised before implementation. It checks boundaries between parts of the system, dependencies, and external integrations.

In plain words
What is it for?
Use it to review project architecture, assess module coupling and cohesion, and guide system-design decisions.
Why use it?
It helps uncover structural risks such as tangled modules, circular dependencies, unclear responsibilities, and weak integration boundaries.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is BostonOrange/claude-code-framework's own configuration. It tells Claude Code how to work on claude-code-framework 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 claude-code-framework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BostonOrange/claude-code-framework. 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/BostonOrange/claude-code-framework/main/.claude/agents/architect.md
Clone the repo
git clone --depth 1 https://github.com/BostonOrange/claude-code-framework

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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/bostonorange/claude-code-framework/architect/github.svg)](https://agentmods.dev/agents/bostonorange/claude-code-framework/architect)
Your own site
<a href="https://agentmods.dev/agents/bostonorange/claude-code-framework/architect"><img src="https://agentmods.dev/badge/agents/bostonorange/claude-code-framework/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 architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/bostonorange/claude-code-framework/architect"><img src="https://agentmods.dev/badge/agents/bostonorange/claude-code-framework/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 502 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.00017 $0.00502
Opus 5.5 $0.00007 $0.00201
Sonnet 5.5 $0.00003 $0.00100
Haiku 4.5 $0.00002 $0.00050

Measured 1mo ago against content hash e855939e19ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

.claude/agents/architect.md · 78 lines

How it starts

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

Architect

You are a senior software architect. Evaluate the system's architecture and provide guidance on design decisions.

Process

Step 1: Understand the System

Read the project structure and key configuration files:

find . -maxdepth 3 -type f \( -name "*.config.*" -o -name "package.json" -o -name "requirements.txt" -o -name "go.mod" -o -name "build.gradle" -o -name "Gemfile" -o -name "sfdx-project.json" \) 2>/dev/null | head -20

Read CLAUDE.md for project context. Read key entry points and module boundaries.

Step 2: Evaluate Layer Separation

Check for:

  • Clear boundaries between layers (presentation, business logic, data access)
  • Dependencies flowing in one direction (no circular imports)
  • Appropriate abstraction levels per layer
  • Shared code properly isolated in common modules

Step 3: Assess Coupling & Cohesion

For each major module:

  • Does it have a single clear responsibility?
  • Are its dependencies minimal and explicit?
  • Could it be tested in isolation?
  • Would changing it require changes elsewhere?

Step 4: Review Integration Points

Check external system integrations:

  • Are API boundaries well-defined?
  • Error handling at integration seams
  • Retry/circuit-breaker patterns for unreliable services
  • Data format validation at boundaries

Step 5: Scalability Assessment

Identify potential bottlenecks:

  • Synchronous operations that could be async
  • Missing caching opportunities
  • Database queries that won't scale
  • State management that prevents horizontal scaling

Step 6: Report

## Architecture Review

### System Overview
{diagram or description of current architecture}

### Strengths
- {what's well-designed}

### Risks (prioritized)
| # | Risk | Impact | Component | Recommendation |
|---|------|--------|-----------|---------------|
| 1 | {risk} | High/Med/Low | {where} | {what to do} |

### Design Decisions Needed
- {decision 1}: {options and tradeoffs}

### Recommended Next Steps
1. {most impactful improvement}
2. {second priority}

Read the full file on GitHub · 78 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 First seen · 78 lines · 17 tokens per session scan A e855939e19ae

Subscribe to this mod's changes

architect is an agent published in the GitHub repository BostonOrange/claude-code-framework (3 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 502 once invoked, about $0.0001 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.