fabio-dee

fabio-dee / ccaudit

Public

Every Claude Code session loads every agent, skill, and MCP server you configured, used or not. Audit, archive, restore anytime.

29
1
100% credibility
Found Apr 19, 2026 at 29 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

ccaudit scans your AI helper's unused tools, assistants, and memory files to show waste and safely archive them, reclaiming context space.

How It Works

1
๐Ÿ” Notice slow AI chats

Your AI helper feels sluggish because old tools and assistants load every time, wasting space.

2
๐Ÿ’ป Run a quick check

Type one simple command to scan what you have and spot the unused ones eating up your space.

3
๐Ÿ‘ป See the ghosts!

Get a clear report showing exactly what's wasting space, like unused helpers costing thousands of words per chat.

4
๐Ÿ” Preview the cleanup

Try a safe preview to see what would be safely tucked away without deleting anything.

5
๐Ÿงน Clean it up

Confirm and run the cleanup โ€“ unused items move to a safe spot, freeing up room instantly.

โœ… Faster, roomier chats

Your AI now loads quicker with more space for real work, and you can always undo with one command.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 29 to 29 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ccaudit?

ccaudit is a TypeScript CLI that audits every Claude Code session by scanning logs for ghosts: unused agents, skills, MCP servers, commands, hooks, and memory files that load every time, wasting up to 50% of your 200k context window. Run `npx ccaudit` for token estimates, health scores, and framework-aware reports on defined vs. used items across every Claude Code project. Archive ghosts safely with `ccaudit --dangerously-bust-ghosts` after a dry-run, restore anytime via `ccaudit restore`.

Why is it gaining traction?

Unlike `/context`'s live snapshot, ccaudit does longitudinal scans over 7d/30d windows, spotting forgotten installs from every Claude Code GitHub repo or plugin. Evidence-based token math (Anthropic docs + logs) nails costs better than file-size hacks, with framework protection for partial-use setups like GSD. JSON/CSV/quiet modes, CI support, and shareable ghost scores hook devs tracking every Claude skills agent.

Who should use this?

Claude Code heavyweights juggling agents from every Claude Code course, camp, or GitHub every AI tool repo. Teams in every GitHub compound engineering flow hitting context walls. Beginners explained every Claude Code concept via slash commands, or pros auditing every Claude Code for beginners setups before production.

Verdict

Essential for Claude Code users โ€” low 1.0% credibility and 29 stars signal early maturity, but zero runtime deps, 80%+ test coverage, and reversible CLI make it reliable now. Pair with ccusage for full every programmer should know stack control.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.