r/ClaudeCode • • 2d ago

Tips & Workflows Claude Code has ruined copy-pasting from a browser for me

I’ve been using Claude Code in my terminal for a few weeks, and letting it directly read my directory, run tests, and fix its own lint errors saves so much time.

My favorite use case right now is running a quick pre-PR check—having it scan my git diff for leftover debug logs, update docstrings, and make sure everything matches my CLAUDE.md rules before I push.

What’s your favorite daily workflow or tip for keeping token usage low?

0 Upvotes

3 comments sorted by

•

u/AutoModerator 2d 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.

1

u/WillowFar6967 2d ago

Fresh session per task saves me the most. The agent keeps a short handover file, so a new chat starts from that and doesn't drag a whole day of history along. Screenshots are sneaky too, they sit in context and get re-read every step, so I have a separate small session look at them and answer in a couple of lines.

1

u/mkotsollaris 2d ago edited 1d ago

For token usage my biggest win was keeping it off Claude's fetch tool for docs. When it pulls a docs page it often drags in the nav, cookie banners and half the sidebar, or gets an empty JS page and starts guessing. Now i save the few pages i actually need as markdown in a docs folder and point CLAUDE.md at it, way cheaper and it stopped making up APIs. Do you let it browse at all during the pre-PR check?