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 Obsidian-Owl/specwright --skill sw-buildgit clone --depth 1 https://github.com/Obsidian-Owl/specwrightWrote 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/obsidian-owl/specwright/sw-build)<a href="https://agentmods.dev/skills/obsidian-owl/specwright/sw-build"><img src="https://agentmods.dev/badge/skills/obsidian-owl/specwright/sw-build/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/obsidian-owl/specwright/sw-build"><img src="https://agentmods.dev/badge/skills/obsidian-owl/specwright/sw-build.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.00031 | $0.02186 |
| Opus 5.5 | $0.00012 | $0.00874 |
| Sonnet 5.5 | $0.00006 | $0.00437 |
| Haiku 4.5 | $0.00003 | $0.00219 |
Grade A, and why
sw-build 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 3mo 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Specwright Build
Goal
Implement the current work unit with TDD. The per-task loop is RED → GREEN → REFACTOR; end-of-unit integration and regression checks live in one optional after-build phase.
Inputs
{worktreeStateRoot}/session.json-- selected work for this worktree{repoStateRoot}/work/{selectedWork.id}/workflow.json,{workDir}/spec.md,{workDir}/plan.md{workArtifactsRoot}/{selectedWork.id}/design.md,{workDir}/context.md{workArtifactsRoot}/{selectedWork.id}/approvals.md-- durable design and unit approval ledger when present{projectArtifactsRoot}/CONSTITUTION.md,{projectArtifactsRoot}/config.json
Outputs
- After each task: failing tests, passing implementation, task commit, workflow progress, updated
{workDir}/implementation-rationale.md, refreshed{repoStateRoot}/work/{selectedWork.id}/units/{selectedWork.unitId}/stage-report.md - After all tasks: as-built notes in
plan.md, three-line handoff to/sw-verify, ready-to-verify build state; the handoff points atArtifacts: {repoStateRoot}/work/{selectedWork.id}/units/{selectedWork.unitId}/stage-report.md
Constraints
Execution model (LOW freedom): Run in the foreground in the current turn. "Autonomous" means unattended decisions inside this build, not background execution.
Stage boundary (LOW freedom): Follow protocols/stage-boundary.md. Implement only the active unit; never create pull requests, run gh pr create, or invoke /sw-ship. Before the terminal handoff, write {repoStateRoot}/work/{selectedWork.id}/units/{selectedWork.unitId}/stage-report.md; the handoff points at it and the Next line is Next: /sw-verify.
Branch setup (LOW freedom): First action before coding: resolve the session-selected work from the current worktree, verify that no other live top-level worktree owns it, then check out the feature branch from config.git.branchPrefix and sync it per protocols/git.md. The selected work's recorded targetRef, when present, is the first branch-resolution input via protocols/git.md; repo config defaults and the baseBranch compatibility alias are fallbacks only. Use {git.branchPrefix}{selectedWork.unitId} for multi-unit work and never commit to the base branch. If the selected work is already owned elsewhere, STOP with explicit /sw-adopt guidance instead of mutating it silently; do not fall back to implicit adopt/takeover behavior.
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.
- 3mo ago First seen · 116 lines · 31 tokens per session scan A c8e4b67ecc4a
sw-build is a skill published in the GitHub repository Obsidian-Owl/specwright (10 stars, last pushed 7mo ago), licensed MIT. It adds 31 tokens to every session and 2,186 once invoked, about $0.0001 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-08-31.
sw-build compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sw-buildObsidian-Owl/specwright | Skill | 10 | 7mo ago | MIT | A | 31 | Claude Code |
| testing-principlesshinpr/claude-code-workflows | Skill | 725 | yesterday | MIT | A | 49 | Claude Code |
| plangreglas75/zuvo | Skill | 7 | today | MIT | A | 53 | Claude Code |
| engineering-craftmickeyyaya/evolve-loop | Skill | 8 | today | Apache-2.0 | A | 40 | Claude Code |
| rust-skillsmartineserios/thebrana | Skill | 3 | 8d ago | MIT | A | 23 | Claude Code |
| tddmickeyyaya/evolve-loop | Skill | 8 | today | Apache-2.0 | A | 47 | Claude Code |
| unbiased-reviewkarsten-s-nielsen/mad-scientist-skills | Skill | 3 | 1mo ago | MIT | A | 84 | Claude Code |