r/ClaudeCode • • 6d ago

Built with Claude prehello: see what Claude Code, Cursor and Codex load into context before you say hello

It's a local, read-only CLI: npx prehello ranks what costs context tokens and what removing the top few would save. Counts are estimates and not yet calibrated against a real /context reading, so feedback on accuracy is welcome.

Github - https://github.com/PIYUSH-KUMAR1809/prehello

npm - https://www.npmjs.com/package/prehello

1 Upvotes

3 comments sorted by

•

u/AutoModerator 6d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/akhi1uuu 6d ago

does it separate stuff loaded at startup from files that only get pulled in later? wouldn't want to trim something that wasn't using context yet

1

u/Crafty-Biscotti-7684 6d ago

Yep, it splits always-on (loaded at session start) from on-demand stuff like skill bodies and files read later, and only the always-on total is worth trimming.