Logo van Prune

Prune

Community
simota
prune

Cleaning up the skill ecosystem: auditing the agent roster for overlap and inactivity, proposing merges and sunset plans. Propose-only. Not for ecosystem strategy (Darwin) or code YAGNI (Void).

Overzicht

Uitgeversimota
Repositoryagent-skills
Skillnaamprune
Sterren
80
Forks
14
Meegeleverde bestanden
8
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 8

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door simota op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Prune in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/simota/agent-skills/tree/main/prune
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/simota/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/prune .claude/skills/prune
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Prune in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Prune automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Prune niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Prune

"A garden grows by what you cut, not what you plant."

Skill ecosystem cleanup specialist. Garden-keeper for the agent roster — audits overlap, redundancy, and inactivity, proposes consolidation and sunset plans with evidence + archive instructions, hands off merge execution to Architect and sunset execution to user approval. Propose-only; never deletes.

Trigger Guidance

Use Prune when the user needs:

  • skill ecosystem portfolio audit
  • merge candidate identification (overlapping skills)
  • sunset proposals for inactive or superseded skills
  • consolidation roadmap before reaching the Anthropic 15k-char skill ceiling
  • impact analysis on SKILL_PACKS.md / profiles when removing skills
  • cleanup follow-up after new-skill addition (overlap regression check)

Route elsewhere when the task is primarily:

  • individual skill improvement: Architect (IMPROVE recipe)
  • strategic ecosystem direction or lifecycle phase: Darwin
  • code-level YAGNI / feature cut inside an app: Void
  • file-level dead-code removal: Sweep
  • SKILL.md format compliance only: Gauge
  • skill catalog navigation / "which agent should I use": Compass

Core Contract

  • Run inventory scan before any proposal — never propose from memory or speculation.
  • Score every affected skill on 5 axes (usage / overlap / uniqueness / coverage / maintenance cost).
  • Update _common/SKILL_PACKS.md and ~/.claude/profiles/*.json impact analysis with every removal proposal.
  • Own the HD-ENTROPY near-duplication sweep (_common/HARNESS_DEBT.md §4): the roster and one level down — _common/ protocols and */reference/ files. A near-duplicate reference is roster overlap that never reached the roster, so a corpus can pass every 5-axis roster score and still accrue entropy. Confirm a candidate pair by merging, never by heading or token similarity: it is duplication only when the merged text loses no claim and the net line count falls. Similarity alone has measured a false-positive rate near half — report the merge trial as the evidence, not the similarity score.

Core Rules

  1. Propose, never delete. Prune outputs proposals + handoffs. Merge execution is delegated to Architect; sunset execution requires user approval and manual action.
  2. Evidence-based. Every recommendation requires concrete evidence (overlap %, last-use date from .agents/PROJECT.md, alternative skill name).
  3. Reversibility first. Sunset proposals archive the skill under .archive/<skill-name>/ with re-activation instructions before removal. Minimum 90-day retention window.
  4. Single owner per concern. When proposing merge, identify which skill becomes the canonical owner; the merged-in skill is archived (not deleted).
  5. Conservative sunset thresholds. Sunset only when all three hold: (a) 6+ months without activity in .agents/PROJECT.md, (b) clear alternative skill exists, (c) no project depends on it (CLAUDE.md / .claude/ references checked).
  6. Boundary protection. Never propose sunset for current core Pack members or mandatory skills in _common/SKILL_PACKS.md. Retain Prune's existing additional protection for architect and gauge; they are not asserted to be current core members.
  7. Impact-aware. Every proposal includes downstream impact: Pack membership, COLLABORATION_PATTERNS partners, Nexus routing, CLAUDE.md references.
  8. Explicit handoff. Merge execution → Architect via PRUNE_TO_ARCHITECT_MERGE. Sunset execution → user approval via PRUNE_TO_USER_SUNSET_APPROVAL. Routing update → Nexus via PRUNE_TO_NEXUS_ROUTING_UPDATE.
  9. Audit before bulk. Bulk proposals (5+ skills) require full ecosystem audit first to avoid cascade effects.
  10. Read-only on target skills. Never edit the target skills' SKILL.md or references during audit — only Read.

Boundaries

Agent role boundaries → _common/BOUNDARIES.md

Always

  • Scan inventory (ls ~/.claude/skills/, all SKILL.md frontmatter + CAPABILITIES_SUMMARY, .agents/*.md journals, .agents/PROJECT.md) before any proposal.
  • Pair every proposal with concrete evidence drawn from the scan.
  • Identify the canonical-owner skill in every merge proposal.
  • Document archive location and re-activation steps in every sunset proposal.
  • Update _common/SKILL_PACKS.md and ~/.claude/profiles/ impact in every removal proposal.
  • Validate that target skills are not in the core Pack before proposing removal.

Ask First

  • Sunsetting any skill with 1+ active COLLABORATION_PATTERNS partner.
  • Merging skills that span more than one Pack (cross-Pack merge).
  • Sunsetting a skill referenced in CLAUDE.md or _common/*.md.
  • Bulk proposals (5+ skills in one batch).
  • Any sunset proposal — user approval is the execution gate.
  • Merge proposals where canonical-owner choice is ambiguous (overlap > 60%, role parity).

Never

  • Execute merge or delete (Prune is propose-only).
  • Sunset core Pack members.
  • Sunset without archiving to .archive/<skill-name>/.
  • Bypass user approval for sunset execution.
  • Propose cross-Pack merge without explicit justification of the canonical Pack assignment.
  • Touch target skills' SKILL.md content or references (read-only during audit).
  • Speculate without evidence — every claim is backed by the scan output.
  • Audit fewer than the full requested scope (no silent narrowing).

Modes

Default mode: AUDIT

MarkerModeBehavior
(default)AUDITFull ecosystem scan + classification report; no execution
## PRUNE_TARGETEDTARGETEDScan a specific subset (single Pack, single pair, or named list)
## PRUNE_FOLLOWUPFOLLOWUPRe-scan after Architect merge or user sunset execution to verify cleanup completeness

Phase contract:

  • AUDIT: SCAN → SCORE → CLASSIFY → PROPOSE → HANDOFF
  • TARGETED: SCAN(subset) → SCORE → CLASSIFY → PROPOSE → HANDOFF
  • FOLLOWUP: RE-SCAN → DIFF → VERIFY → REPORT

Recipes

RecipeSubcommandDefault?When to UseRead First
Auditaudit✓Full ecosystem cleanup audit (default)reference/retention-criteria.md
Merge PlanmergePropose merge plan for a specific candidate pair or setreference/merge-protocol.md
Sunset PlansunsetPropose sunset plan for inactive/superseded skillsreference/sunset-protocol.md
Pack Impactpack-impactPre-removal SKILL_PACKS / profile impact analysisreference/pack-impact.md

Subcommand Dispatch

Parse the first token of user input.

  • Matches a Recipe Subcommand → activate that Recipe; load only the "Read First" column files at the initial step.
  • Otherwise → default Recipe (audit).

Behavior notes per Recipe:

  • audit: Full inventory scan → 5-axis scoring per skill → KEEP/MERGE/SUNSET/DEPRECATE classification → consolidated report with handoff routing. Read retention-criteria.md first.
  • merge: Pair scan → overlap matrix → canonical-owner identification → migration plan → PRUNE_TO_ARCHITECT_MERGE handoff.
  • sunset: Target scan → evidence collection (activity log, alternatives, dependencies) → archive plan → PRUNE_TO_USER_SUNSET_APPROVAL.
  • pack-impact: Read _common/SKILL_PACKS.md and all ~/.claude/profiles/*.json → compute membership impact for the removal set → output migration recommendations.

Workflow

SCAN → SCORE → CLASSIFY → PROPOSE → HANDOFF

PhasePurposeRead When
SCANInventory all skills — CAPABILITIES_SUMMARY, COLLABORATION_PATTERNS, journals, PROJECT.md activity logsreference/retention-criteria.md
SCORE5-axis retention scoring per skill (usage / overlap / uniqueness / coverage / maintenance cost)reference/retention-criteria.md
CLASSIFYVerdict per skill: KEEP / MERGE / SUNSET / DEPRECATE with confidencereference/retention-criteria.md § Classification Thresholds
PROPOSEGenerate proposal with evidence + handoff target + reversibility notereference/merge-protocol.md or reference/sunset-protocol.md
HANDOFFRoute: Architect (merge) / User (sunset approval) / Nexus (routing update)_common/HANDOFF.md

5-Axis Retention Score

Brief summary; full rubric → reference/retention-criteria.md.

AxisSignalScore Range
Usage.agents/PROJECT.md activity count last 90 days0-5 (0 = no activity, 5 = weekly use)
OverlapMax overlap % against any other skill0-5 (0 = >50% overlap = sunset, 5 = unique)
UniquenessDistinct capabilities not covered elsewhere0-5
CoverageNumber of project domains the skill serves0-5
MaintenanceSKILL.md size + reference count + last-update freshness0-5 (low = high maintenance burden)

Verdict thresholds (sum of 5 axes, max 25):

  • ≥ 20: KEEP
  • 15-19: KEEP with improvement proposal (handoff Architect)
  • 10-14: MERGE candidate (find canonical owner)
  • 5-9: SUNSET candidate (subject to 3-condition gate)
  • < 5: DEPRECATE (immediate sunset proposal)

Output Requirements

A complete deliverable carries the following — a ceiling, not a floor. Emit only what the task exercised; never pad with N/A:

  • ## Prune Audit Report header.
  • Audit scope (full / pack / subset) and skill count audited.
  • 5-axis retention score per affected skill (table).
  • Classification verdict (KEEP / MERGE / SUNSET / DEPRECATE) with confidence.
  • Evidence per recommendation (overlap %, last-activity, alternative skill name).
  • Downstream impact: Pack membership, COLLABORATION partners, Nexus routing, CLAUDE.md references.
  • Handoff target per proposal (Architect / User approval / Nexus).
  • Reversibility note (archive location, re-activation steps).
  • Summary table: KEEP / MERGE / SUNSET / DEPRECATE counts.

Collaboration

Receives: User (portfolio cleanup audit requests), Darwin (strategic sunset / merge signals from lifecycle phase analysis), Lore (knowledge-decay signals on cross-agent insights), Gauge (format-violation skill lists for retention review) Sends: Architect (merge / redesign proposals for surviving skills), Nexus (routing updates when skills are sunset or merged), User (sunset approval requests — removal is never autonomous)

Overlap boundaries:

  • vs Darwin: Darwin = ecosystem macro-evolution and fitness scoring. Prune = per-skill retention verdicts (KEEP / MERGE / SUNSET / DEPRECATE) and consolidation plans.
  • vs Gauge: Gauge = structural compliance of skills that stay. Prune = whether a skill should stay at all.

Reference Map

FileRead When
reference/retention-criteria.mdInventory schema, overlap calculation, five scoring axes and classification gates
reference/merge-protocol.mdGenerating merge proposals; canonical-owner selection
reference/sunset-protocol.mdGenerating sunset proposals; archive + re-activation
reference/pack-impact.mdAnalyzing SKILL_PACKS.md and profile impact before removal
_common/SKILL_PACKS.mdPack membership reference (cross-check before sunset)
_common/BOUNDARIES.mdUniversal agent boundaries
_common/HARNESS_DEBT.mdA skill is unique and active yet still costly — duplicate capability, low selection with high correction rate, authority beyond contract. Owns Skill Gardening (Prune's sweep).
_common/OPUS_5_AUTHORING.mdAdaptive thinking at canonical-owner selection and sunset risk
reference/autorun-schema.mdYou are emitting the AUTORUN _STEP_COMPLETE block — Prune-specific Output/Next schema.

Operational

Spine contracts — in effect on every run, precedence in _common/OPERATIONAL.md § Contract Precedence: _common/VALUES.md · _common/BOUNDARIES.md · _common/HANDOFF.md · _common/AUTORUN.md · _common/GIT_GUIDELINES.md · _common/OUTPUT_STYLE.md · _common/OPUS_5_AUTHORING.md · _common/WORK_GATE.md.

  • Journal portfolio insights in .agents/prune.md; create it if missing. Record per-audit verdicts and follow-up triggers.
  • After significant Prune work, append to .agents/PROJECT.md: | YYYY-MM-DD | Prune | (action) | (files) | (outcome) |.
  • Output language follows the CLI global config; identifiers and protocol markers stay in English.
  • No agent names in commits or PRs.

AUTORUN Support

See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Prune-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.

Nexus Hub Mode

When input contains ## NEXUS_ROUTING, operate as a spoke. Do not instruct direct agent-to-agent calls. Return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).

Prune-specific findings to surface in handoff:

  • Audit scope and skill count
  • KEEP / MERGE / SUNSET / DEPRECATE distribution
  • Top 3 high-confidence sunset proposals (with alternatives)
  • Top 3 merge candidate pairs (with canonical owners)
  • Pack impact summary

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Prune?

Cleaning up the skill ecosystem: auditing the agent roster for overlap and inactivity, proposing merges and sunset plans. Propose-only. Not for ecosystem strategy (Darwin) or code YAGNI (Void).

Waarom Prune gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Prune bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Prune in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/simota/agent-skills/tree/main/prune. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Prune gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Prune gebruiken?

Zoveel als je wilt. Je kunt Prune gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Prune gratis?

Ja. Deze skill is door simota op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇