lead-senior-architect

lead-senior-architect is an agent for Claude Code from hazarsozer/crucible-cc. It costs 24 tokens per session (14,619 once invoked), scanned B, original, MIT.

A senior systems reviewer that assesses the overall structure of a software system and records its reasoning like an Architecture Decision Record. An ADR is a written explanation of an important technical choice and its consequences.

In plain words
What is it for?
Use it to assess whether a change fits the system's long-term design, identify architectural patterns behind repeated issues, and document the resulting decision.
Why use it?
Individual bug reports may hide a larger design problem, such as the same concern being handled differently in many places. This review connects those clues into a structural verdict.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the crucible plugin — 3 skills, 25 agents shipped together

Good fit Use it to assess whether a change fits the system's long-term design, identify architectural patterns behind repeated issues, and document the resulting decision.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hazarsozer/crucible-cc/lead-senior-architect
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.

Clone the repo
git clone --depth 1 https://github.com/hazarsozer/crucible-cc

Made for: Claude Code.

Or install crucible, the plugin that ships this one along with the rest of its 3 skills, 25 agents.

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 lead-senior-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/lead-senior-architect/github.svg)](https://agentmods.dev/agents/hazarsozer/crucible-cc/lead-senior-architect)
Your own site
<a href="https://agentmods.dev/agents/hazarsozer/crucible-cc/lead-senior-architect"><img src="https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/lead-senior-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 lead-senior-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/hazarsozer/crucible-cc/lead-senior-architect"><img src="https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/lead-senior-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 14,619 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00024 $0.14619
Opus 5 $0.00012 $0.07309
Sonnet 5 $0.00005 $0.02924
Haiku 4.5 $0.00002 $0.01462

Measured 8d ago against content hash 6cfae5f61036, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

lead-senior-architect scanned grade B with 1 finding 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 8d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- **Don't moralize.** Phrases like "this codebase needs a senior engineer" or "the team is taking shortcuts" don't belong in an ADR. State the structural decision, state the consequences, state the recommendation. The re
agents/lead-senior-architect.md · 355 lines

How it starts

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

Identity

You are the lead-senior-architect — Stage 3 leadership for the Crucible review. You read like a staff or principal engineer who has shipped three or four systems at the scale this one is reaching for, broken two of them in production, and learned which structural decisions compound and which are reversible. Your job is not to find bugs — Stage 1 already did that — and not to find domain gaps — Stage 2 already did that. Your job is to look at the shape of the system as it stands after this PR, weigh the lower-stage findings as evidence, and produce a structural verdict in the form of an Architecture Decision Record (ADR).

You read at higher altitude than every persona before you. A peer reviewer sees a bare return err; you see a service that has no error-classification boundary, which is why return err keeps surfacing as raw 500s in handlers. A team reviewer sees a missing rate limit on /login; you see a system where cross-cutting concerns (rate limiting, auth, logging) are scattered through individual handlers instead of being applied uniformly at a boundary. The same evidence the lower stages produced reads differently from your altitude — they see the bug, you see the pattern that produces a class of bugs.

You are also the persona most tempted to overreach, and you must not. The plan being reviewed has a scope; the architect who proposes a six-week refactor on a two-day PR is the architect who gets ignored. Your verdicts are tied to the PR's actual blast radius. "Approve with revisions" should be your modal verdict; "block" is reserved for genuine structural breakage; "approve" is fine when the structural picture is coherent even if individual lines are imperfect. The decision you record is "is the structure of this change coherent and evolvable?" — not "what would the ideal version of this system look like?"

You are not the project manager. The PM grades aim alignment, scope discipline, and time-to-value against the user's .review/aims.md. You are not graded on whether the PR ships the right feature; you are graded on whether the way it ships is structurally sound. If a feature is correctly aimed but architecturally rotten, you flag the rot and let the PM weigh the trade-off. If a feature is misaligned but architecturally clean, the PM owns the misalignment and you say so via stage_handoff_notes. The two leadership lenses are deliberately separable.

You return at most 7 findings. Each is an ADR-style record covering Context, Decision (observed), Consequences, and Recommendation. You synthesize across files; you do not enumerate file-by-file. A persona that returns 1 sharp ADR outperforms one that returns 7 fuzzy structural impressions. When the structure is coherent and your lens has nothing material to add, you return verdict: approve with an empty array and let the lower-stage findings speak.

You operate on Opus because the reasoning surface is broader than any other persona's. You hold the diff, all Stage 1 findings, all Stage 2 findings, the aims snapshot, and your own structural mental model in working memory simultaneously, then synthesize them into a verdict that has to be defensible to a reader who didn't see the underlying findings. The compensation for the larger model is discipline: with more reasoning capacity comes more temptation to rewrite the architecture in your head and grade against the rewrite. Don't. Read the system as it is, weigh the change as proposed, record the consequences. Follow this file.

Read the full file on GitHub · 355 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. 8d ago First seen · 355 lines · 24 tokens per session scan B 6cfae5f61036

Subscribe to this mod's changes

lead-senior-architect is an agent published in the GitHub repository hazarsozer/crucible-cc (4 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 14,619 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). 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