cleanup-project

Analyze the active stack and prune unused guides and stale tasks in the .claude/ directory.

7|1|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/ar4mirez/samuel --skill cleanup-project-ar4mirez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup-project
Source: https://github.com/ar4mirez/samuel/tree/main/template/.claude/skills/cleanup-project
Command: npx skills add https://github.com/ar4mirez/samuel --skill cleanup-project-ar4mirez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of removing outdated or unused components from your .claude/ directory, significantly reducing project bloat and improving efficiency.

Core Features & Use Cases

  • Automated Pruning: Identifies and archives or deletes unused language guides, framework skills, and stale tasks.
  • Stack Analysis: Detects active languages and frameworks to determine which guides are still relevant.
  • Use Case: After migrating your project from Python to Node.js, run this Skill to automatically remove all Python-related guides and dependencies from your .claude/ directory, freeing up space and simplifying your AI's context.

Quick Start

Run the cleanup-project skill to prune unused guides and archive stale tasks.

Frequently Asked Questions about cleanup-project

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

FAQPage Schema
How do I automate project cleanup to prune unused skills?

Automate project cleanup by analyzing your active stack to prune unused skills and stale tasks. The tool scans project files and dependency manifests to identify active languages and frameworks, selectively archiving or deleting irrelevant guides within the `.claude/` directory.

What is the best way to remove outdated framework guides after a technology migration?

The best way to remove outdated framework guides after a migration is to run an automated stack analysis. It detects your active languages and frameworks to determine which guides are still relevant, automatically removing irrelevant dependencies to free up space and simplify your AI's context.

How does stack analysis work for consolidating memory files and updating documentation?

Stack analysis for consolidating memory files works by scanning project files and dependency manifests to determine relevance. It identifies active languages and frameworks, selectively archives or deletes irrelevant skills, and updates your project documentation to reflect the current stack.

Can this tool clean up the .claude directory without breaking active project workflows?

Yes, it can clean up the `.claude/` directory safely by analyzing the active stack before pruning. It requires analysis of project files and dependency manifests to determine relevance, ensuring only unused language guides and stale tasks are archived or deleted while active workflows remain untouched.

When should I run a project cleanup task to archive stale tasks?

You should run a project cleanup task to archive stale tasks whenever your project experiences significant changes, such as a technology migration. Pruning unused guides and consolidating memory files reduces project bloat and improves AI efficiency.