# Prune Tests

> Use when the user explicitly requests Immune-Brain audit or pruning of redundant, bloated, or orphaned tests.

- Skill: `dereknex/prune-tests` (Agent Skill)
- Install (CLI): `npx get-skill add dereknex/prune-tests`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dereknex/prune-tests/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: dereknex (https://skillmd.com/u/dereknex)
- Updated: 2026-11-15
- Page: https://skillmd.com/skills/dereknex/prune-tests

---


# Immune-Brain: Prune Tests

Use [`../../dist/prune-tests.md`](../../dist/prune-tests.md) as the canonical
contract index, not a whole-document read. This is a
standalone host-native maintenance entry, not a Managed Path continuation
and not an `drive` internal-role dispatch.

Mandatory constraints: audit is read-only. Mutation requires exact hash-bound
manifest approval and immediate revalidation. Preserve active Managed ownership;
use only the repository's own test and coverage commands; never install
dependencies, weaken a live assertion, change production source, or commit.
Interruption requires a fresh scan.

Section routes - load a section's instructions only when its branch applies.
Read each linked heading body up to the next heading; nested sections and
references load only under their own condition. Never read the whole contract
or all references as an entry prerequisite.

- common: [Authority Boundary](../../dist/prune-tests.md#authority-boundary), [Invocation](../../dist/prune-tests.md#invocation)
- audit or manifest preparation: [Inventory and Manifest](../../dist/prune-tests.md#inventory-and-manifest)
- approved mutation before any edit: [Mutation Envelope](../../dist/prune-tests.md#mutation-envelope), [Approved Mutation](../../dist/prune-tests.md#approved-mutation)
- completion: [Verify and Report](../../dist/prune-tests.md#verify-and-report)
- recovery or deletion recoverability: [Recovery](../../dist/prune-tests.md#recovery)

