skill-prune

Prune orphan files, duplicates, and outdated references from skill libraries.

3|1|Updated May 26, 2026
One-click install
npx skills add https://github.com/LeoWSY-hashblue/-communitytools-custom --skill skill-prune
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-prune
Source: https://github.com/LeoWSY-hashblue/-communitytools-custom/tree/main/skills/skill-prune
Command: npx skills add https://github.com/LeoWSY-hashblue/-communitytools-custom --skill skill-prune

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and remove content that no longer serves current engagements by pruning orphan files, duplicates, and outdated references, ensuring a lean and maintainable skill library.

Core Features & Use Cases

  • Orphan removal: detects and flags files not referenced by any SKILL.md or other reference file within the last 60 days.
  • Deduplication: consolidates duplicates and superseded scenarios to prevent confusion and maintenance overhead.
  • Maintenance automation: guides quarterly cleanup with a plan that can be reviewed before deletion.
  • Use Case: After a linter run flags orphan or redundant content, prune to streamline the knowledge base.

Quick Start

Run a prune pass to generate a deletion plan and update the canonical content set, then review before applying any removals.

Frequently Asked Questions about skill-prune

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify and remove orphan files from my skill library?

To prune orphan files, run a cleanup pass that detects content unreferenced by any SKILL.md or reference file for 60 days. It generates a detailed deletion plan you review before removals are applied.

What is the best way to deduplicate outdated reference files?

The best way to deduplicate outdated reference files is to consolidate duplicates and superseded scenarios during a prune pass. This prevents confusion and maintenance overhead while preserving KEEP annotations for required content.

How do I automate quarterly maintenance for outdated skill content?

Automate quarterly maintenance by running a prune pass to guide cleanup operations. It maintains a deletion plan, logs decisions for traceability, and preserves KEEP annotations to ensure safety across skill and reference files.

Can I review content before it gets permanently deleted during a linter cleanup?

Yes, you can review content before deletion during a linter cleanup. The prune process generates a deletion plan and logs decisions to ensure traceability and safety, requiring you to review before applying any removals.

How does the pruning process preserve critical reference hygiene annotations?

The pruning process preserves critical reference hygiene by explicitly maintaining KEEP annotations during the cleanup. It logs all deletion decisions to ensure traceability and safety across your skill and reference files.

When should I avoid using automated deduplication on my content repository?

You should avoid automated deduplication when you cannot review the deletion plan beforehand. Pruning relies on user review before applying removals, ensuring that orphan files and superseded scenarios are safely consolidated without data loss.