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 CodeAlive-AI/ai-driven-development --skill pragmatic-verificationgit clone --depth 1 https://github.com/CodeAlive-AI/ai-driven-developmentWrote 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/codealive-ai/ai-driven-development/pragmatic-verification)<a href="https://agentmods.dev/skills/codealive-ai/ai-driven-development/pragmatic-verification"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/pragmatic-verification/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/codealive-ai/ai-driven-development/pragmatic-verification"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/pragmatic-verification.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.00119 | $0.02009 |
| Opus 5.5 | $0.00048 | $0.00804 |
| Sonnet 5.5 | $0.00024 | $0.00402 |
| Haiku 4.5 | $0.00012 | $0.00201 |
Grade A, and why
pragmatic-verification 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 6d 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pragmatic Verification
Wrong tests are not neutral: they miss what matters, become debt and make every later change harder for the next agent. This skill is for deliberate checks, not more of them.
Core rule: for each risk that matters, choose the cheapest check that still contains the mechanism of the possible defect and lets the correct result be observed. A new check must add a reason for confidence that existing checks do not give. Test count, coverage and mutation score are never the goal.
A green check is evidence only when three things hold:
- The product is right. Observed behaviour, including side effects, matches the requirement.
- The expectation is right. The expected result comes from a source independent of the code under test.
- The check really ran. It ran on the final revision, in a suitable environment, and its failure would have changed the reported status.
The work has two outputs: evidence that this task is solved, and permanent regression tests worth their upkeep. A one-off browser pass is valid evidence and need not become a permanent test.
Size the effort first
| Change | What to do |
|---|---|
| Cosmetic or local: copy, spacing, rename, pure refactoring | Run existing checks and look at the affected spot once. No new permanent test unless a gap is found. |
| Functional: a rule, state, API, persistence, UI flow | Follow the route. A few lines of plan are enough. |
| Costly to get wrong: access, money, deletion, user data, migrations, concurrency | Follow the route, plus negative cases at the server boundary, real storage, an independent review and explicit residual risk. |
Judge risk by damage, plausibility and recovery cost, not by diff size: a one-line change can expose another user's data.
The route
- State the contract. List what the user can do after the change as separate observable
claims, including forbidden effects: no false success, no access for others, no duplicate.
Resolve unknowns from context or ask. Never turn a guess into an
expected. - Name the oracle. Say where each correct result comes from: a requirement, an agreed example, a standard, an invariant, a hand-computed small case. "What the code returns now" is a characterization test and is labelled as one. Derive cases from the requirement first and read the implementation second.
- Check what exists. Adding, strengthening, merging and deleting are equal options. Extend an existing case table before writing a new test. A new test names the promise it protects, the realistic defect that turns it red, and what existing checks miss.
- Derive cases from failure mechanisms. Name the concrete way a claim can break ("a stale
response overwrites newer state", not "handle errors") and pick the cases that expose it;
time limits are boundaries too. See
case-design.md. - Choose level and reality. Put each check at the smallest boundary that reproduces the
mechanism and exposes the result. Say what is real, what is substituted, which platform rules
the substitute skips, and what that leaves unproven. See
levels-and-doubles.md. - Show that the test can fail. For a bug fix, watch the regression test fail on the old
defect for the right reason. For an important rule, break it once (
>=to>, drop the ownership check), see red, restore. Seetest-quality.md. - Use the product. When a user-facing path changed, drive the running build through its real
interface and observe the end effect, not the click or the toast. See
exploratory-qa.md. - Close out on evidence. Map what was actually run to each claim on the final revision, and
say plainly what was not verified, including a purpose only real use can show. See
evidence-and-closeout.md.
What ships with it
18 files 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.
- README.md 4.0 KB
- references/case-design.md 9.8 KB
- references/evidence-and-closeout.md 8.3 KB
- references/exploratory-qa.md 8.3 KB
- references/flaky-and-brittle.md 5.5 KB
- references/levels-and-doubles.md 12 KB
- references/llm-features.md 2.0 KB
- references/sources.md 12 KB
- references/stack-dotnet.md 2.4 KB
- references/stack-go.md 2.5 KB
- references/stack-jvm.md 2.4 KB
- references/stack-mobile.md 3.1 KB
- references/stack-python.md 2.8 KB
- references/stack-typescript.md 2.8 KB
- references/suite-audit-worker.md 9.3 KB
- references/suite-audit.md 21 KB
- references/test-quality.md 11 KB
- references/ui-automation.md 4.3 KB
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.
- 6d ago Changed · +3 lines 325d421d5565
- 11d ago Changed c7db21ad487e
- 12d ago First seen · 127 lines · 119 tokens per session scan A a6e2c7e81176
pragmatic-verification is a skill published in the GitHub repository CodeAlive-AI/ai-driven-development (194 stars, last pushed 2d ago), licensed MIT. It adds 119 tokens to every session and 2,009 once invoked, about $0.0005 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.
pragmatic-verification compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pragmatic-verificationCodeAlive-AI/ai-driven-development | Skill | 194 | 2d ago | MIT | A | 119 | Claude Code |
| memstack-development-test-writercwinvestments/memstack | Skill | 433 | 17d ago | MIT | A | 70 | Claude Code |
| javascript-testing-patternsrmyndharis/antigravity-skills | Skill | 2.1k | 23d ago | MIT | A | 63 | Claude Code, Codex |
| 06-testai-driven-dev/framework | Skill | 589 | today | MIT | A | 69 | Claude Code |
| browser-testingroundpilot/superpowers-antigravity | Skill | 102 | 3d ago | MIT | A | 21 | Claude Code, Codex |
| factory-testingnonlinear-xyz/factory-kit | Skill | 10 | 5d ago | MIT | A | 85 | Claude Code |
| test-softwarePhelan164/codex-howto | Skill | 24 | 2d ago | MIT | A | 65 | Codex |