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 tmj-90/gaffer --skill run-testsgit clone --depth 1 https://github.com/tmj-90/gafferWrote 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/tmj-90/gaffer/run-tests)<a href="https://agentmods.dev/skills/tmj-90/gaffer/run-tests"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/run-tests/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/tmj-90/gaffer/run-tests"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/run-tests.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.00067 | $0.01091 |
| Opus 5.5 | $0.00027 | $0.00436 |
| Sonnet 5.5 | $0.00013 | $0.00218 |
| Haiku 4.5 | $0.00007 | $0.00109 |
Grade A, and why
run-tests 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 1mo 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 — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run the test suite
Run the repo's own test command, report the real result, and evidence it per acceptance criterion. "Green" only counts if the suite actually ran the tests that prove each criterion: in live runs the weakest dimension across ~30 tickets was test adequacy — suites passed while an AC had no test, or only a test that never exercised its behaviour.
Independent tester? Follow the black-box-test skill instead where they differ: you
never fix implementation code, you run the command once (and once more after fixing your
own test), and you record manual_note rows, not test_output. You run no git beyond the
final add + commit (so no git diff in step 4), and you hold no claim, so step 5's
mark_ticket_blocked is refused — a failure you cannot attribute is a FAIL finding.
Procedure
- Find the command. Use the context packet's verification commands (
pnpm test,npm test,pytest,go test ./...,mvn test,cargo test). If the packet is silent, read the manifest (package.jsonscripts,pyproject.toml/tox.ini,Makefile,go.mod,pom.xml,Cargo.toml). Use the project script, not the underlying tool, so config, setup files and globs match CI. Note any separate integration or e2e command the ticket's ACs depend on. - Map ACs to tests before running. Call
get_ticketif you do not have the ACs. For each AC, name the test(s) that would fail if it were not met. An AC with no such test is a gap to fill now (theadd-unit-testoradd-integration-testskill); an AC about persistence, concurrency or failure needs a test running that real schedule, not a happy-path call. - Run the full suite (or the scoped subset the ticket names, followed by the full
suite before you finish). Capture the exact command and the summary counts: passed,
failed, skipped, and the number of test files. Confirm your new tests appear in the
output — a file outside the runner's glob, a wrong suffix, or a
describe.only/it.onlyelsewhere means they silently did not run. - Read failures before touching anything. Reproduce a single failure in isolation
(
vitest run <file> -t "<name>",pytest path::test -x,go test -run '^TestX$'). Decide: your change broke it → fix the code, not the test's expectation, unless the AC changed that expectation; pre-existing and unrelated → show that neither the test nor the code it exercises is in your diff (git diff --stat <base>...HEAD) and that it fails the same way in the runner's recorded gate evidence or lore, then note it; intermittent → thefix-flaky-testskill. - Re-run until green, or until you have shown a failure is out of scope and blocking
(then
mark_ticket_blockedwith the evidence rather than faking a pass — refused when you hold no claim: on a resumed delivery raiserequest_decisionwith severityhuman_required; as the merge resolver, abort and say why in your final message). - Check the skip count. Skipped or todo tests in files you touched must be justified
by the ticket; new
.skip,xit,@pytest.mark.skip,t.Skipadded to go green are a defect. - Evidence and stop. Use the
record-evidenceskill: per AC, atest_outputrow with the command, the pass summary and the test name(s) that prove that AC. The runner runs the gates and submits for review; you do not.
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.
- 1mo ago Changed 2e3b22954b0d
- 2mo ago Changed · +38 lines · +14 tokens per session 2fc493faf41b
- 3mo ago First seen · 33 lines · 53 tokens per session scan A c07284f8e6fa
run-tests is a skill published in the GitHub repository tmj-90/gaffer (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,091 once invoked, about $0.0003 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.
run-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| run-teststmj-90/gaffer | Skill | 1 | 4d ago | Apache-2.0 | A | 67 | Claude Code, Codex |
| bulwark-brainstormQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 50 | Claude Code |
| plan-creationQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 38 | Claude Code |
| anthropic-validatorQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 40 | Claude Code |
| create-subagentQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 42 | Claude Code |
| test-auditQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 0 | Claude Code |
| code-reviewQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 61 | Claude Code |