sw-verify

sw-verify is a skill for Claude Code from Obsidian-Owl/specwright. It costs 32 tokens per session (3,054 once invoked), scanned A, original, MIT.

A coordinator for the project's quality gates, meaning checks that judge whether a work unit is ready. It runs enabled checks in order, continues even when one fails, and combines the results into a report.

In plain words
What is it for?
Use it to verify a work unit against its specification and integration requirements, collect gate evidence, and prepare the review packet for shipping.
Why use it?
It puts test, specification, integration, and other checks in one repeatable process. It leaves evidence for each check and gives reviewers a concise summary of the outcome.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to verify a work unit against its specification and integration requirements, collect gate evidence, and prepare the review packet for shipping.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/obsidian-owl/specwright/sw-verify
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.

Any agent
npx skills add Obsidian-Owl/specwright --skill sw-verify
Clone the repo
git clone --depth 1 https://github.com/Obsidian-Owl/specwright

Made for: Claude Code.

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 sw-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/obsidian-owl/specwright/sw-verify/github.svg)](https://agentmods.dev/skills/obsidian-owl/specwright/sw-verify)
Your own site
<a href="https://agentmods.dev/skills/obsidian-owl/specwright/sw-verify"><img src="https://agentmods.dev/badge/skills/obsidian-owl/specwright/sw-verify/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.

agentmods 80×15 button for sw-verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/obsidian-owl/specwright/sw-verify"><img src="https://agentmods.dev/badge/skills/obsidian-owl/specwright/sw-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00032 $0.03054
Opus 5.5 $0.00013 $0.01222
Sonnet 5.5 $0.00006 $0.00611
Haiku 4.5 $0.00003 $0.00305

Measured 3mo ago against content hash e38aa21d2034, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sw-verify 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.

core/skills/sw-verify/SKILL.md · 249 lines

How it starts

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

Specwright Verify

Goal

Run quality gates against the work unit. Continue through all gates regardless of failures and present the report at handoff per protocols/decision.md.

Inputs

  • {worktreeStateRoot}/session.json -- selected work
  • {repoStateRoot}/work/{selectedWork.id}/workflow.json -- work state and gate results
  • {projectArtifactsRoot}/config.json -- gate configuration
  • {workDir}/spec.md -- for spec compliance gate
  • {workDir}/implementation-rationale.md -- curated build rationale when present
  • {workArtifactsRoot}/{selectedWork.id}/integration-criteria.md -- behavioral IC list when present
  • Gate skill files in skills/gate-*/SKILL.md

Outputs

  • {repoStateRoot}/work/{selectedWork.id}/units/{selectedWork.unitId}/stage-report.md -- verify handoff digest
  • Evidence files in {workDir}/evidence/, one per gate
  • {workDir}/review-packet.md -- reviewer synthesis from approvals, rationale, proof, and gate outcomes
  • Selected work's workflow.json updated with gate results; status verifying
  • Aggregate report presented at gate handoff

Constraints

Stage boundary (LOW freedom): Follow protocols/stage-boundary.md. Run quality gates and show findings. NEVER fix code, create PRs, or ship. After gate handoff, STOP.

Ownership check (LOW freedom): Resolve the selected work from the current worktree session. If another live top-level worktree owns that work, STOP with explicit /sw-adopt guidance and do not rely on generic adopt/takeover behavior.

Assumption re-validation (LOW freedom) — before gate execution: Scan the design assumptions artifact from the design-level directory. Check ACCEPTED/VERIFIED assumptions against current code. Invalid → WARN in the aggregate report. Runs silently.

Approval lineage check (LOW freedom) — before gate execution: Use protocols/approvals.md and the shared helper to validate the recorded design and current unit-spec approval hashes. Missing, STALE, or SUPERSEDED lineage becomes a distinct approval finding; headless verify may report it but never create APPROVED entries.

Read the full file on GitHub · 249 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. 3mo ago First seen · 249 lines · 32 tokens per session scan A e38aa21d2034

Subscribe to this mod's changes

sw-verify is a skill published in the GitHub repository Obsidian-Owl/specwright (10 stars, last pushed 7mo ago), licensed MIT. It adds 32 tokens to every session and 3,054 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.

Related

sw-verify compared with skills from other repositories

sw-verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sw-verifyObsidian-Owl/specwrightSkill107mo agoMITA32Claude Code
rust-skillsmartineserios/thebranaSkill38d agoMITA23Claude Code
new-skillhyhmrright/brooks-lintSkill1.6kyesterdayMITA145Claude Code, Codex
brooks-sweephyhmrright/brooks-lintSkill1.6kyesterdayMITA178Claude Code
llm-friendly-contextshinpr/claude-code-workflowsSkill725yesterdayMITA52Claude Code
import-speclgbarn/shipyardSkill671mo agoMITA29Claude Code
brainstormgreglas75/zuvoSkill7todayMITA56Claude Code