skill-cleanup

Remove session-fetched skills from ~/.claude/skills using the .session-skills manifest.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Thiritin/skills --skill skill-cleanup
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-cleanup
Source: https://github.com/Thiritin/skills/tree/main/skill-cleanup
Command: npx skills add https://github.com/Thiritin/skills --skill skill-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Removes session-fetched skills from ~/.claude/skills/ using the .session-skills manifest, keeping the directory lean between sessions.

Core Features & Use Cases

  • Purges non-permanent skills listed in the manifest from the user’s skill directory.
  • Safely preserves permanent residents such as skill-loader and skill-cleanup.
  • Supports auditable cleanup by removing the manifest after completion.

Quick Start

Remove all session-fetched skills by executing the cleanup sequence.

Frequently Asked Questions about skill-cleanup

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

FAQPage Schema
How do I clean up session-fetched skills from the .claude directory?▼

To clean up session-fetched skills, the cleanup sequence removes non-permanent skills from ~/.claude/skills by parsing the .session-skills manifest, preserving permanent residents like skill-loader and skill-cleanup.

What happens to the .session-skills manifest after cleanup is complete?▼

After cleanup is complete, the .session-skills manifest is removed to support auditable workflow practices, ensuring no residual session data remains in the ~/.claude directory.

Does skill cleanup preserve permanent skills like skill-loader?▼

Yes, skill cleanup safely preserves permanent residents such as skill-loader and skill-cleanup, while only purging non-permanent skills listed in the manifest from the user’s skill directory.

When do I need to purge non-permanent skills from my Claude session?▼

You need to purge non-permanent skills when your ~/.claude/skills directory becomes cluttered with session-fetched skills, keeping the directory lean and auditable between active Claude sessions.

How does manifest parsing work during skill directory cleanup?▼

Manifest parsing works during skill directory cleanup by reading the .session-skills manifest to identify session-fetched skills, then applying per-skill removal with directory deletion for safe, auditable workflow execution.

Can I automate skill cleanup between Claude sessions?▼

Yes, you can automate skill cleanup between Claude sessions by executing the cleanup sequence, which automatically consults the .session-skills manifest and applies per-skill removal to keep the directory lean.