Abinesh-L

Analyze your Claude Code context window, detect wasted tokens, and get pasteable fix commands. Zero API calls

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

CRUSTS is an offline tool that analyzes AI coding assistant session logs to categorize memory usage, detect inefficiencies like duplicate file reads, and generate user-friendly suggestions for optimization.

How It Works

1
😩 AI buddy forgets things

While working with your AI coding helper, you notice it suddenly forgets earlier details or warns about full memory.

2
🔍 Discover CRUSTS

You hear about CRUSTS, a free helper that peeks into your AI chats to show what's crowding the memory.

3
🚀 Check your recent chat

You run CRUSTS on your latest work session and instantly get a clear picture.

4
📊 View the memory map

A colorful chart breaks down your memory use: chats, files peeked, tools, instructions, and more.

5
⚠️ Spot repeats and waste

It flags repeated file peeks, unused extras, and gives exact tips to free up space.

6
📋 Copy ready fixes

Get three simple blocks to paste: one for now, one for future setups, one quick cleanup command.

🎉 Smooth sailing ahead

Your AI remembers better, chats flow longer without surprises, and you code happier.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 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 claude-crusts?

Claude-crusts is a TypeScript CLI tool (Bun-powered) that analyzes your Claude Code context window from session JSONL logs, breaking it down into six categories—Conversation, Retrieved, User, System, Tools, State—to spot wasted tokens like duplicate file reads or unused tools. It solves the black-box problem of context bloat by delivering offline breakdowns, waste reports, and pasteable fix commands for your current or past sessions, with zero API calls. Run `claude-crusts analyze` for a visual dashboard or `fix` for ready-to-paste prompts.

Why is it gaining traction?

Unlike Claude's built-in `/context` snapshot, it pinpoints specifics—like "index.ts read 9x"—and generates tailored /compact commands or CLAUDE.md tweaks, saving hours of manual debugging. Devs love the timeline view for compaction prediction and calibration against real /context output, making it a must for optimizing long coding sessions. Its rule-based smarts (no LLM needed) deliver actionable intel on analyze Claude code waste that generic tools miss.

Who should use this?

Claude Code users hitting frequent auto-compactions during codebase analysis or repo refactoring. Backend devs analyzing GitHub repos with Claude, frontend teams debugging tool-heavy workflows, or anyone using Claude to analyze GitHub projects, profiles, or even videos/audio via tools—especially if you're burning quota on redundant reads.

Verdict

Grab it if you're deep into Claude Code—early docs and commands shine, but with 12 stars and 1.0% credibility, treat it as a promising alpha for power users. Test on a real session; it'll pay off fast despite the youth.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.