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 dork-labs/dorkos --skill pruning-testsgit clone --depth 1 https://github.com/dork-labs/dorkosWrote 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/dork-labs/dorkos/pruning-tests)<a href="https://agentmods.dev/skills/dork-labs/dorkos/pruning-tests"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/pruning-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/dork-labs/dorkos/pruning-tests"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/pruning-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.00107 | $0.01676 |
| Opus 5.5 | $0.00043 | $0.00670 |
| Sonnet 5.5 | $0.00021 | $0.00335 |
| Haiku 4.5 | $0.00011 | $0.00168 |
Grade A, and why
pruning-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 4d 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 — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pruning-tests
Agents write tests faster than anyone reads them, and nothing else in the repo pushes the count down. This skill is the push. One run picks one package, deletes or collapses the tests that fail the four keep-questions, proves nothing real lost its guard, and tightens that package's test budget.
The rubric is .claude/rules/testing.md, "Is this test worth keeping?". Read it before step 3. This file is the procedure around it.
Run
-
Work in a throwaway worktree, never a shared checkout.
git fetch origin, rungit rev-parse origin/main, keep the SHA it prints and use it for the whole run. Clear a copy a killed run left (git worktree remove --force "$TMPDIR/pruning-tests" 2>/dev/null; git worktree prune), thengit worktree add -b chore/prune-tests-<date> "$TMPDIR/pruning-tests" <sha>. Install there and build what the package imports (pnpm install --frozen-lockfile --prefer-offline, thennpx turbo build --filter='<package>^...'), both through the load gate (pnpm heavy) on Node 24. Put Node 24 on PATH for the whole run (export PATH="$HOME/.nvm/versions/node/v24.19.0/bin:$PATH"): the git hooks fail without it. Under the disk floor incontributing/ci.md, stop and report "skipped: disk". -
Pick one package.
pnpm check:test-ratio -- --reportprints every package's lines of test per line of source. Take the package furthest above 1.0 (apps/e2eandapps/spaceare not measured; prune them when their specs are the slowest or flakiest). If none is above 1.0, take the one with the most test time inscripts/sharding/durations.json(milliseconds per test file). Skip a package another open PR is pruning (gh pr list --search "chore(tests): prune in:title"). -
Run the package green first. From the package's own directory,
npx vitest runon the area you will prune. Anything already red is not yours to judge: note it and leave it. Every later run in this skill is from the package directory too. -
Find candidates, cheapest signal first. Aim for at most 30 files per run so one person can review it.
- Slow: the package's files in
scripts/sharding/durations.json, slowest first. - Flaky:
pnpm ci:flakyand the quarantine lane (pnpm ci:quarantine list). - Shape: files that
vi.mockour own modules (pnpm check:own-mockscounts them), files with many near-identicalit(blocks,toMatchSnapshot, tests of constants, types or barrels. - Overlap: several files testing the same module at different layers, or a browser spec whose steps a component or route test already asserts.
- Slow: the package's files in
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.
- 4d ago Changed 834e51238c12
- 6d ago First seen · 55 lines · 107 tokens per session scan A e00a75af0a0f
pruning-tests is a skill published in the GitHub repository dork-labs/dorkos (11 stars, last pushed today), licensed MIT. It adds 107 tokens to every session and 1,676 once invoked, about $0.0004 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-25.
pruning-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pruning-testsdork-labs/dorkos | Skill | 11 | today | MIT | A | 107 | Claude Code |
| github-flow-for-claude-on-webshabaraba/vibing.nvim | Skill | 13 | 5d ago | MIT | A | 71 | Claude Code |
| stacked-pr-mergeshabaraba/vibing.nvim | Skill | 13 | 5d ago | MIT | A | 112 | Claude Code |
| vibing-worktree-createshabaraba/vibing.nvim | Skill | 13 | 5d ago | MIT | A | 67 | Claude Code |
| vibing-worktree-attachshabaraba/vibing.nvim | Skill | 13 | 5d ago | MIT | A | 77 | Claude Code |
| vibing-worktree-finishshabaraba/vibing.nvim | Skill | 13 | 5d ago | MIT | A | 67 | Claude Code |
| vibing-worktree-listshabaraba/vibing.nvim | Skill | 13 | 5d ago | MIT | A | 62 | Claude Code |