prune

prune is a skill for Claude Code, Codex from simota/agent-skills. It costs 44 tokens per session (3,628 once invoked), scanned A, original, MIT.

A maintenance aid for reviewing a collection of coding-agent skills for overlap, redundancy, and inactivity. It proposes consolidations and retirement plans but does not delete anything.

In plain words
What is it for?
Use it to find overlapping skills, identify inactive or superseded entries, and plan merges or retirement, including possible effects on skill lists and profiles.
Why use it?
It helps reduce duplication and keep a large skill collection manageable as it grows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to find overlapping skills, identify inactive or superseded entries, and plan merges or retirement, including possible effects on skill lists and profiles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/simota/agent-skills/prune
Install

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.

Any agent
npx skills add simota/agent-skills --skill prune
Clone the repo
git clone --depth 1 https://github.com/simota/agent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for prune

README.md
[![agentmods](https://agentmods.dev/badge/skills/simota/agent-skills/prune/github.svg)](https://agentmods.dev/skills/simota/agent-skills/prune)
Your own site
<a href="https://agentmods.dev/skills/simota/agent-skills/prune"><img src="https://agentmods.dev/badge/skills/simota/agent-skills/prune/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.

agentmods 80×15 button for prune

Your own site · 80×15
<a href="https://agentmods.dev/skills/simota/agent-skills/prune"><img src="https://agentmods.dev/badge/skills/simota/agent-skills/prune.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,628 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high Prompt Injection · line 6
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Agent Snooping · line 85
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Excessive Agency · line 106
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.03628
Opus 5 $0.00022 $0.01814
Sonnet 5 $0.00009 $0.00726
Haiku 4.5 $0.00004 $0.00363

Measured 6d ago against content hash 858a780fe3c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

prune scanned grade A with 1 finding 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 6d 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.

Enumerates other installed skillslowAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

- Scan inventory (`ls ~/.claude/skills/`, all SKILL.md frontmatter + CAPABILITIES_SUMMARY, `.agents/*.md` journals, `.agents/PROJECT.md`) before any proposal.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

prune/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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)

Read the full file on GitHub · 241 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 6d ago First seen · 241 lines · 44 tokens per session scan A 858a780fe3c5

Subscribe to this mod's changes

prune is a skill published in the GitHub repository simota/agent-skills (76 stars, last pushed 7d ago), licensed MIT. It adds 44 tokens to every session and 3,628 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.