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.
npx skills add adamdaw/claude-code-skills --skill separation-of-concerns-filtergit clone --depth 1 https://github.com/adamdaw/claude-code-skillsWrote 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/skills/adamdaw/claude-code-skills/separation-of-concerns-filter)<a href="https://agentmods.dev/skills/adamdaw/claude-code-skills/separation-of-concerns-filter"><img src="https://agentmods.dev/badge/skills/adamdaw/claude-code-skills/separation-of-concerns-filter/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/skills/adamdaw/claude-code-skills/separation-of-concerns-filter"><img src="https://agentmods.dev/badge/skills/adamdaw/claude-code-skills/separation-of-concerns-filter.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.00107 | $0.01566 |
| Opus 5.5 | $0.00043 | $0.00626 |
| Sonnet 5.5 | $0.00021 | $0.00313 |
| Haiku 4.5 | $0.00011 | $0.00157 |
Grade A, and why
separation-of-concerns-filter 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 20d 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Separation of concerns filter
The single responsibility filter asks how many pieces of work a draft holds. This filter asks a different question: within one piece, are different kinds of thing kept apart? A ticket can have exactly one outcome and still be tangled. It might mix the need with a guessed design, bury an open question inside an acceptance criterion, or carry another team's work as if it were its own.
Tangling matters because each kind of content is judged by different people at different times. If they're mixed, a reviewer can't tell which lines are binding.
Where it sits
It's the second of three refinement filters. Run it after the single responsibility filter,
on each piece separately, and before the
anti-overcommitment filter. All three run before the ticket is
approved, and before spec-review.
When content could belong to more than one filter, see Which filter owns what in the single responsibility filter.
Input
- The draft work item, already through the single responsibility filter.
- Its source: the original ask, bug report or parent ticket.
The concerns to keep apart
Check each pair. Content on the wrong side of a pair is a finding.
- Need vs design. The ticket states what must be true, not how to build it. "Users can export their invoices" is a need. "Add a CSV button that calls the reports API" is a design. A design detail is fine if it's a real constraint the owner imposed. A constraint that already names who imposed it is not a finding. A detail that could plausibly be an owner's constraint (a named vendor, a mandated method, a regulatory form) but doesn't say who imposed it is a finding with the outcome Ask. Pure internal mechanics (a table, a field, a library call) go to design. (S-guide §1: state the need, not the design.)
- Requirement vs rationale. Why the work matters, how the problem was found and what was tried before are useful, but they don't bind anything. Keep them in a clearly non-binding section or in the elicitation record and decision register (S-guide §6), not inside the requirements or acceptance criteria.
- Commitment vs open question. An acceptance criterion states an observed outcome. "TBD", "probably", "ideally" and "to be confirmed with X" mark a question, and a question can't be accepted. Move it to an open-questions list with someone named to answer it.
- This owner vs another. Work that another team, system or vendor must do isn't this ticket's to commit. Name it as a dependency with its owner, or route it as its own ticket.
- Behaviour vs operations. Data backfills, migrations, configuration changes, feature flags, rollout, monitoring and user communication are often real work that someone has to do. Each one is either explicitly in scope with its own criterion or explicitly elsewhere. Don't leave it implied.
- Policy vs mechanism. A business rule (who qualifies, what the limit is) belongs to the business owner. The mechanism that enforces it belongs to the builders. When a draft states a rule only through its mechanism, the rule can't be reviewed by the person who owns it.
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.
- 20d ago First seen · 112 lines · 107 tokens per session scan A 9b7722bd0116
separation-of-concerns-filter is a skill published in the GitHub repository adamdaw/claude-code-skills (3 stars, last pushed 20d ago), licensed MIT. It adds 107 tokens to every session and 1,566 once invoked, about $0.0004 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-14.
separation-of-concerns-filter compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| separation-of-concerns-filteradamdaw/claude-code-skills | Skill | 3 | 20d ago | MIT | A | 107 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |