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 benjaminthomas/spec-driven-dev --skill spec-escapesgit clone --depth 1 https://github.com/benjaminthomas/spec-driven-devWrote 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/benjaminthomas/spec-driven-dev/spec-escapes)<a href="https://agentmods.dev/skills/benjaminthomas/spec-driven-dev/spec-escapes"><img src="https://agentmods.dev/badge/skills/benjaminthomas/spec-driven-dev/spec-escapes/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/benjaminthomas/spec-driven-dev/spec-escapes"><img src="https://agentmods.dev/badge/skills/benjaminthomas/spec-driven-dev/spec-escapes.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.00148 | $0.02134 |
| Opus 5.5 | $0.00059 | $0.00854 |
| Sonnet 5.5 | $0.00030 | $0.00427 |
| Haiku 4.5 | $0.00015 | $0.00213 |
Grade A, and why
spec-escapes 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 today.
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 — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Escapes
A bug got through the pipeline and was fixed later. This skill finds the commit and spec that introduced it, says which stage missed it, and turns the miss into one rule the project keeps.
investigate → create → approve → implement → verify → review → checkpoint → ship → (escapes, after a bug)
Blameless: never name or guess who wrote code. Don't run git blame yourself and don't look at
authors. Use the CLI, which leaves authors out. When you read commits yourself, use formats without
author fields: git show --stat --format='%h %ad %s' --date=short <sha> and
git log --format='%h %ad %s' --date=short. Never print git show's default header.
Project config (read first)
Load .spec-driven.yml: walk up from the current directory to the home folder, and the first one
found wins (a multi-repo config only applies inside the repos it lists). If none is found, check
~/.spec-driven/workspaces.json, which maps each multi-repo config to its repo paths. Use the
config whose repos contain the current directory. Its values beat anything you would detect or
assume. If {specs_dir}/team.yml exists, it holds the team's shared rules: read it first, and let
.spec-driven.yml override it. This skill uses specs_dir, layout, repos and tracker (only
to read a ticket). For multi-repo projects, run the trace in each repo the fix touched, with
--repo=<path>.
No config? The CLI still works (repo is the git top of the current folder, specs folder is
specs). Say so, and suggest spec-setup.
The context rules are in references/context-template.md inside the installed spec-setup skill
folder. Read it before writing a rule.
Step 1: Find the fix
| You are given | Do this |
|---|---|
| A commit sha | Use it. |
| A PR | gh pr view <n> --json mergeCommit,commits --jq '{merge: .mergeCommit.oid, commits: [.commits[].oid]}'. Use the squash or merge commit, else the PR's commits. |
| A ticket key | git log --all --oneline --grep=<key>. Use the tracker only to read the ticket. |
| A description | Ask for the fix commit, PR or ticket. |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today First seen · 155 lines · 148 tokens per session scan A ca4f6a1d7bf9
spec-escapes is a skill published in the GitHub repository benjaminthomas/spec-driven-dev (2 stars, last pushed today), licensed MIT. It adds 148 tokens to every session and 2,134 once invoked, about $0.0006 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-30.
spec-escapes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spec-escapesbenjaminthomas/spec-driven-dev | Skill | 2 | today | MIT | A | 148 | Claude Code |
| cloud-logging-query-generationhamzabellouch/agent-skills | Skill | 8 | 1mo ago | MIT | A | 67 | Claude Code, Codex |
| datalineage-summaryhamzabellouch/agent-skills | Skill | 8 | 1mo ago | MIT | A | 92 | Claude Code, Codex |
| browser-testing-with-devtoolshamzabellouch/agent-skills | Skill | 8 | 1mo ago | MIT | B | 68 | Claude Code, Codex |
| doubt-driven-developmentaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 96 | Claude Code |
| performance-optimizationaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 59 | Claude Code |
| debugging-methodologyDevelopersGlobal/ai-agent-skills | Skill | 220 | 6d ago | MIT | A | 26 | Claude Code, Codex |