cleanup

Remove temporary files and logs from the .claude directory.

5|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/AxGord/claude-workflow --skill cleanup-axgord
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup
Source: https://github.com/AxGord/claude-workflow/tree/main/templates/skills/cleanup
Command: npx skills add https://github.com/AxGord/claude-workflow --skill cleanup-axgord

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manages and cleans up data within the .claude directory, ensuring Claude's performance is not hindered by accumulated files and sessions.

Core Features & Use Cases

  • Temporary Data Removal: Cleans up temporary files that are no longer needed.
  • Project Session Logs Management: Deletes unnecessary logs from projects without affecting the necessary files.
  • Empty Project Directory Cleanup: Offers to remove project directories with no remaining files.
  • Memory Audit: Reviews and presents a table of data entries for user verification before deletion.

Quick Start

Run the 'cleanup' skill to clean up unnecessary data in the .claude directory.

Frequently Asked Questions about cleanup

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

FAQPage Schema
How do I clean up the .claude directory to optimize Claude's performance?

To clean up the .claude directory and optimize Claude's performance, run the 'cleanup' skill. It removes temporary files and deletes unnecessary project session logs that hinder performance.

What temporary files and logs can I safely delete from the .claude directory?

You can safely delete temporary files and unnecessary project session logs from the .claude directory. The cleanup skill targets these specific files while preserving necessary project data.

How do I remove empty project directories in the .claude directory?

To remove empty project directories in the .claude directory, the cleanup skill offers to delete project directories that have no remaining files, ensuring your workspace stays organized.

Can I review data before deleting files in the .claude directory?

Yes, you can review data before deletion. The cleanup skill performs a memory audit, presenting a table of data entries for your verification before any files are actually removed.

What permissions are needed to delete files from the .claude directory?

Deleting files from the .claude directory requires permissions to access and delete files within that directory, allowing the cleanup script to remove temporary data and empty project folders.

Why does Claude's performance degrade over time and how does directory management help?

Claude's performance degrades when accumulated files and sessions clutter the .claude directory. Directory management helps by cleaning up this data, ensuring performance is not hindered by temporary files.