Skip to content
Back to skills

Pruning View

ASecurity

Produce a prune report: stale candidates, stale promoted learnings, and suspected regressions. Use weekly or when startup context feels noisy. Read-only — writes a report but never removes anything on its own.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentsbash

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add kmshihab7878/claude-code-setup --skill pruning-view --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pruning View?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pruning View
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kmshihab7878-pruning-view/badge)](https://www.skillsdirectory.com/skills/kmshihab7878-pruning-view)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pruning-view
description: "Produce a prune report: stale candidates, stale promoted learnings, and suspected regressions. Use weekly or when startup context feels noisy. Read-only — writes a report but never removes anything on its own."
---

# pruning-view

## When to use
- Weekly hygiene pass.
- After a noticeable increase in friction records.
- When `stable/global.md` approaches the configured budget.

## Protocol
1. Run: `bash ~/.claude/evolution/bin/evolve-prune.sh`
2. Run: `bash ~/.claude/evolution/bin/evolve-regression.sh`
3. Read the resulting `reports/YYYY-MM-DD-prune.md` and `reports/YYYY-MM-DD-regression.md`.
4. Summarize to the user: `N stale candidates, M stale promotions, K suspected regressions.`
5. For each finding, propose the safest action:
   - Stale candidate → move to `rejected/` (operator decides).
   - Stale stable learning → suggest `/evolution demote <id>`.
   - Suspected regression → suggest `/evolution demote <id>` with the contradicting record IDs as evidence.
6. Do not execute any mutation. The operator confirms each action.

## Staleness definition
From `config.yaml: stale_after_days` (default 90). A candidate or promoted learning is stale if `last_confirmed` is older than that cutoff.

## Regression definition
`config.yaml: regression_failure_count` (default 3). A promoted learning is suspected-regression if ≥ N records since its `promoted_at` share token overlap with its text and are of type `correction` or `friction`.

## Output
Summary of the two reports inline + the paths to the full files. No writes to `stable/`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…