claude-hygiene

Audit and clean Claude data in ~/.claude/ with reports and archiving.

2|5|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/whoabuddy/claude-knowledge --skill claude-hygiene
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-hygiene
Source: https://github.com/whoabuddy/claude-knowledge/tree/main/claude-config/skills/claude-hygiene
Command: npx skills add https://github.com/whoabuddy/claude-knowledge --skill claude-hygiene

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander.

What problem does it solve?

Claude data accumulates across sessions; this skill streamlines visibility, archiving, learning extraction, and cleanup.

Core Features & Use Cases

  • Audit ~/.claude/ data sizes and activity.
  • Archive old session artifacts to reduce storage.
  • Extract learnings and prepare extraction reviews for Nuggets, Patterns, Decisions.

Quick Start

Run /claude-hygiene to view the help and begin auditing your data.

Frequently Asked Questions about claude-hygiene

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

FAQPage Schema
How do I clean up Claude session data accumulating in ~/.claude/?

To clean up Claude session data, you can audit storage sizes and archive old artifacts from your ~/.claude/ directory. This process reduces storage bloat by moving outdated session files while preserving essential project data.

Can I extract learnings from past Claude sessions automatically?

Yes, you can extract learnings from past Claude sessions by running an extraction review. This process identifies Nuggets, Patterns, and Decisions from your session history, enabling routine knowledge curation across all projects.

What is the best way to audit Claude data sizes and file activity?

The best way to audit Claude data sizes and file activity is to generate specific reports for your ~/.claude/ directory. These reports provide visibility into storage consumption and session activity across all your Claude projects.

Does Claude data cleanup require any specific dependencies or environments?

Claude data cleanup requires the commander dependency to handle explicit file operations and state tracking. This ensures safe, repeatable outcomes when archiving sessions or removing low-value files from your environment.

How do I archive old Claude sessions without losing valuable project data?

You can archive old Claude sessions without losing data by using explicit file operations with state tracking. This approach safely moves old session artifacts to an archive while extracting learnings before removing any low-value files.