// found 624 tips
Anthropic now burns through your 5-hour session limits faster during peak hours. Here's how to restructure your Claude Code workflow to get the most out of every token.
Let Claude Code agents explore your codebase before making sweeping changes.
Describe your CLI's commands, flags, and validation rules and Claude will write a complete Click application — argument types, help text, error handling, and a pyproject.toml entry to install it as a real command.
The companyAnnouncements setting surfaces team messages to every developer at startup, directly in their Claude Code session.
Add tools to your deniedTools list to create a hard block that prevents Claude from ever running them — even if you accidentally click approve. Use it for destructive commands, production databases, or anything that should never happen from your dev machine.
Once you've written the happy path, ask Claude to think of every edge case you probably haven't — then write the tests for them too.
Most code is written for the happy path — everything works, data exists, APIs respond, and inputs are valid. Tell Claude to read your code and add error handling for every failure mode — null values, network timeouts, invalid data, missing config, and unexpected states — so your app degrades gracefully instead of crashing.
Add skipDangerousModePermissionPrompt: true to your settings.json to stop Claude Code asking "are you sure?" at the start of every bypass-mode session.
In Ghostty, use Ctrl+Shift+Cmd+4 to copy a screen region to clipboard, then Ctrl+V (not Cmd+V) to paste it directly into Claude Code.
Describe a feature in plain English and let Claude generate expressive Pest tests that read like documentation.
A PostToolUse hook fires after every tool execution — use it to write an audit log of every command Claude runs, every file it edits, and every search it performs, giving your team full visibility into what happened during a session.
Pipe your staged diff to Claude with -p to get a properly formatted conventional commit message back — add it as a shell alias for a one-keystroke workflow.