SKILL

ai-prune

Prune agent scratch directories on macOS. Move clearly outdated `.ai/` files into `.ai/archive/YYYY-MM-DD/` and trash clearly outdated `.cache/` entries. Leave `.ai/todos` untouched.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • AI Prune
  • Arguments
  • Never Touch
  • Workflow
  • Completion

If a slash or dollar invocation already added these instructions to the conversation, follow them directly. In that case, do not invoke this skill again through a skill tool. Review everything under .ai/ and .cache/. Decide which entries are clearly outdated relative to the repository's current state. Archive the matching .ai/ entries. Move the matching .cache/ entries to the macOS Trash. Prefer to keep entries. Change only entries with concrete evidence that they are outdated. This skill runs only on macOS. If uname -s is not Darwin or /usr/bin/trash is missing, stop and report. path (optional): Repository root or any path inside the repository. Default to the current directory. --dry-run (optional): Report the planned moves and deletions without changing the filesystem. .ai/todos/ and .ai/archive/ (including everything beneath them). TODO.md and PROMPT.md files anywhere: they are user-owned notes. Do not read or move them. Live agent state: coordination ledgers, leases, locks, inboxes, and notification queues (for example .ai/coord/, .cache/job-leases/). If another agent may currently write to a directory, treat it as live, not outdated. Tool-managed caches that the repository's

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
PaulRBerg/agent-skills
Source file
skills/ai-prune/SKILL.md
Fixed revision
3fc64886b46c95238cdad340a8a04e3aaac96665
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: PaulRBerg/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T00:00:29.835Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.