CreatmanCEO

Cc Janitor — Productivity skill for Claude Code

Productivity community

Tidy up your Claude Code environment — sessions, permissions, context, hooks, schedule.

How to install Cc Janitor

This entry records only its repository, not the path inside it, so there is no exact command to give. Open CreatmanCEO/cc-janitor and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cc Janitor does

Tidy up your Claude Code environment — sessions, permissions, context, hooks, schedule. Open-source TUI/CLI.

Alternatives in Productivity

  • Getting Help — career-ops is an open source project maintained in limited time 32.5k ★
  • Worktree Status Check — Verify the current worktree environment and show task details 23.4k ★
  • Om Correct — Sweep a corrected fact through the vault — finds every note restating it, applies the correction at the single 4.6k ★

README

cc-janitor

[![CI](https://github.com/CreatmanCEO/cc-janitor/actions/workflows/ci.yml/badge.svg)](https://github.com/CreatmanCEO/cc-janitor/actions) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![PyPI](https://img.shields.io/pypi/v/cc-janitor?label=pypi&color=blue)](https://pypi.org/project/cc-janitor/) [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/downloads/) [![Claude Code](https://img.shields.io/badge/Claude%20Code-Opus%204.7%20%C2%B7%201M%20context-cc785c)](https://code.claude.com)

🇬🇧 English · [🇷🇺 Русский](README.ru.md)

**The deterministic janitor for your `~/.claude/` state. Audit sessions, permissions, CLAUDE.md, memory, hooks, and Auto Dream consolidations — with soft-delete trash, timestamped backups, reversible undo, and pre/post snapshots around every Auto Dream cycle. No LLM in the cleanup path. 12 upstream Claude Code issues closed across 4 shipped phases. MIT.**

**Why this exists, in one sentence.** Anthropic’s Auto Dream rewrites your project memory between sessions — aggressively, without rollback, with no pre-flight check. Their own guidance is *“back up `~/.claude/` before enabling”* — and nothing in the Claude Code ecosystem does that backup, observes the consolidation, or lets you roll it back. cc-janitor does all three, plus cleans up everything else that piles up in `~/.claude/` after a few months of heavy use.


Where this fits

The Claude Code state-management space in May 2026 splits into four bands:

|Approach |Cost |What you get |What it lacks | |-------------------------------------------------------------------------|-----------------------|---------------------------------------------------------------------------------------