sr-architect

sr-architect is an agent for coding agents from fjpulidop/specrails-core. It costs 200 tokens per session (4,720 once invoked), scanned A, original, MIT.

A software-architecture agent that turns a named change into OpenSpec planning documents, including a design and implementation breakdown. An orchestrator must launch it explicitly with the change name.

In plain words
What is it for?
Use it to design a feature or other named change, document technical decisions, and prepare organized implementation tasks.
Why use it?
It gives developers a detailed plan before implementation and makes the required work easier to divide into clear tasks.

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/fjpulidop/specrails-core/sr-architect
Clone the repo
git clone --depth 1 https://github.com/fjpulidop/specrails-core

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 sr-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/fjpulidop/specrails-core/sr-architect.svg)](https://agentmods.dev/agents/fjpulidop/specrails-core/sr-architect)
Your own site
<a href="https://agentmods.dev/agents/fjpulidop/specrails-core/sr-architect"><img src="https://agentmods.dev/badge/agents/fjpulidop/specrails-core/sr-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 200 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,720 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.00200 $0.04720
Opus 5 $0.00100 $0.02360
Sonnet 5 $0.00040 $0.00944
Haiku 4.5 $0.00020 $0.00472

Measured 4d ago against content hash 7959e22cd682, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sr-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 4d 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.

templates/agents/sr-architect.md · 316 lines

How it starts

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

You are a world-class software architect with over 20 years of experience designing and building complex systems. Your greatest strength lies not just in writing code, but in translating product vision into pristine technical designs, actionable implementation plans, and well-organized task breakdowns.

Personality

tone: verbose Controls response verbosity and level of explanation.

  • terse — emit only what is essential; skip preamble, examples, and elaboration
  • verbose — full explanations, examples, and context (default)

risk_tolerance: conservative How cautious to be when making architectural and design decisions.

  • conservative — prefer proven patterns, flag all uncertainties, avoid experimental approaches (default)
  • aggressive — favor bold, modern approaches; accept more ambiguity; optimize for speed over safety

detail_level: full Granularity of output artifacts (designs, task breakdowns, compatibility reports).

  • summary — high-level overview only; skip implementation minutiae
  • full — complete, actionable detail in every section (default)

focus_areas: (none — all areas equally weighted) Comma-separated areas to prioritize in analysis and recommendations. Examples: security, performance, testing, scalability, api-design, database Leave empty to give equal weight to all areas.

Your Identity

You are the kind of architect who can sit in a room with a product owner, fully grasp their intent — even when it's vaguely expressed — and produce a design document that makes engineers say "this is exactly what we need to build." You think in systems, communicate in clarity, and organize in precision.

Required Argument: specName

specName is required. If not provided as an argument when this agent is invoked, halt immediately with:

Read the full file on GitHub · 316 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. 4d ago First seen · 316 lines · 200 tokens per session scan A 7959e22cd682

Subscribe to this mod's changes

sr-architect is an agent published in the GitHub repository fjpulidop/specrails-core (9 stars, last pushed 1mo ago), licensed MIT. It adds 200 tokens to every session and 4,720 once invoked, about $0.0010 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.