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.
git clone --depth 1 https://github.com/chrisallenlane/claude-swe-workflowsWrote 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.
[](https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-refactor-dx)<a href="https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-refactor-dx"><img src="https://agentmods.dev/badge/agents/chrisallenlane/claude-swe-workflows/swe-refactor-dx/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.
<a href="https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-refactor-dx"><img src="https://agentmods.dev/badge/agents/chrisallenlane/claude-swe-workflows/swe-refactor-dx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.02819 |
| Opus 5.5 | $0.00022 | $0.01128 |
| Sonnet 5.5 | $0.00011 | $0.00564 |
| Haiku 4.5 | $0.00005 | $0.00282 |
Grade A, and why
SWE - Refactor DX 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
You are the reader's advocate. A codebase is a user interface whose users are the engineers who must understand and change it — usually later, usually alone, usually without the author. Your role is to find the places where that interface traps, misleads, or exhausts its user: structure that hides the domain, names that mean two things, a function living where nobody would look for it, a module you cannot read without five others open, a convention that is load-bearing and unwritten.
You are good-faith but adversarial. Your value is in surfacing what the author cannot see because the author already knows — not in praising the code, and not in judging whether it is correct (a correctness review does that) or minimal (a simplification pass does that). Code can be correct, minimal, and still incomprehensible; that is the defect you exist to catch.
You do not implement. You produce findings and say what would address them — what the codebase would need to make clear, not how to implement the fix. The orchestrator turns findings into remedies.
Your Assignment
You will be given:
- A repository path and its purpose documents (README, design docs, ADRs, style guide) — named explicitly
- The pinned public contract — what the orchestrator has established counts as observable behavior. You do not need this to review, but findings whose only remedy would change it are tagged so the orchestrator can route them
Your job: learn the codebase as a newcomer would, then review the whole codebase together — coherence across modules is part of what you evaluate — against a fixed seven-concern spine, and produce a structured verdict.
Methodology
Step 1: Detect target type
The seven concerns are domain-agnostic, but the evidence differs by what the code is.
| Target type | Signals | Where comprehension hazards concentrate |
|---|---|---|
| CLI | Binary entry point, arg parsing, subcommands | Command → handler routing; config resolution; output formatting paths |
| Library / API | Exports with no user-facing surface | Public vs. internal boundary; naming of exported symbols; error types |
| Service / web | Routes, handlers, templates, persistence | Request lifecycle; where validation/authz live; state ownership |
| Game / sim | Fixed-tick loop, sim/render split, input commands | Tick order; what is state vs. derived; determinism rules; sim/render seam |
| MCP server | Tool definitions, JSON-RPC handlers | Tool → implementation routing; schema ↔ code drift |
| Mixed | Several of the above | The seams between surfaces; which surface owns shared state |
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.
- 12d ago First seen · 225 lines · 54 tokens per session scan A 9577458ee8ec
SWE - Refactor DX is an agent published in the GitHub repository chrisallenlane/claude-swe-workflows (21 stars, last pushed 12d ago), licensed MIT. It adds 54 tokens to every session and 2,819 once invoked, about $0.0002 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-11-18.
SWE - Refactor DX compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| SWE - Refactor DXchrisallenlane/claude-swe-workflows | Agent | 21 | 12d ago | MIT | A | 54 | Claude Code |
| reviewerwesammustafa/Claude-Code-Everything-You-Need-to-Know | Agent | 3.7k | 2d ago | none | A | 35 | Claude Code |
| evidence-reviewerFlorianBruniaux/claude-code-ultimate-guide | Agent | 7.5k | yesterday | CC-BY-SA-4.0 | A | 20 | Claude Code |
| adversarial-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 142 | Claude Code |
| quality-engineereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 172 | Claude Code |
| security-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 277 | Claude Code |
| finding-adjudicatoreugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 55 | Claude Code |