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 jamestexas/agents --skill test-fidelitygit clone --depth 1 https://github.com/jamestexas/agentsWrote 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/jamestexas/agents/test-fidelity)<a href="https://agentmods.dev/skills/jamestexas/agents/test-fidelity"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/test-fidelity/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/jamestexas/agents/test-fidelity"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/test-fidelity.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.00118 | $0.02166 |
| Opus 5.5 | $0.00047 | $0.00866 |
| Sonnet 5.5 | $0.00024 | $0.00433 |
| Haiku 4.5 | $0.00012 | $0.00217 |
Grade A, and why
test-fidelity 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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
test-fidelity — catch tests that pass whether or not the code is right
The spine, one question:
Would this test still fail if the code were wrong in the way it is supposed to catch?
If the answer is no, the test is theatre: it does not merely miss the bug, it certifies the buggy path as correct, and the comment asserting fidelity makes the next reader trust it. If your project keeps a test-double doctrine doc — a catalog of tests that lied and the mitigations that closed them — read it once as the local ground truth; the hunting catalog below is the portable version of it.
This skill audits whether tests constrain the code. It is not a bug hunt on the code, not a coverage-percentage report, and not a style pass — other skills and agents cover those. A line executed is not a line verified.
When to use
- A test-bearing PR before you review or approve it (yours or a peer's).
- After an agent (including a sub-agent) wrote tests — self-reports about test quality are not trustworthy; verify.
- When a suite is green but you suspect it is green for the wrong reason.
The hunting catalog — the shapes to investigate
Hunt shapes of behavior, not specific names. Each entry is what they were doing + the probe.
Class A — the harness dodges the real thing
- Drove a stand-in that claims to mirror the real implementation, and nothing checks the claim. → Contract-test the double against the real one through one shared operation table; it must fail at the moment of divergence.
- Tested a branch production does not take (a fast/slow-path twin, a config or code path that never runs live). → Assert the two paths agree, or test the one that actually carries traffic.
- The asserted value is laundered — it originates in a constant, fixture, or mock, not the code under test. → Trace the value's origin; the assertion must fail if the real computation is wrong.
Class B — the assertion is too loose to constrain behavior
- Asserted an emergent effect ("it retried", "it errored", "count == 1") that stays true for multiple distinct causes, or even if the code were miswired. → Does the assertion pin the specific mechanism, given how many inputs the consumer accepts? (An acceptor with N members can't be pinned by "something accepted happened".)
- Asserted a call happened or a shape was right, not that the state changed. → Assert the observable consequence, not the invocation.
- Asserted something about the test's own scaffolding (a fake does or doesn't implement X). → Does the assertion say anything about production?
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 · 175 lines · 118 tokens per session scan A 937c123d41bd
test-fidelity is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 118 tokens to every session and 2,166 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-08-31.
test-fidelity compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-fidelityjamestexas/agents | Skill | 2 | today | Apache-2.0 | A | 118 | Claude Code |
| soul-gradercobibean/soul-grader-skill | Skill | 60 | 3mo ago | MIT | A | 45 | Codex |
| markdown-ui-dslMegaByteMark/markdown-ui-dsl | Skill | 25 | 8mo ago | MIT | A | 25 | Claude Code, Codex |
| research-dspyGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 36 | Claude Code |
| research-guidanceGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| research-instructorGrayCodeAI/starling | Skill | 2 | 3mo ago | MIT | A | 39 | Claude Code |
| reviewvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 31 | Claude Code, Codex |