The longer your Claude chat runs, the worse it follows your directions, and most people have no idea when it’s happening. Here’s the one-line trick to catch it in real time, plus 10 Claude Code hacks most people don’t know exist.
Nobody tells you this part. As a session fills up, Claude starts slipping on your directions. Your earlier rules get crowded out by everything that came after, and most people never notice. They just feel like Claude "got worse."
There’s a simple trick to catch it in real time. Then I’ll give you the 10 Claude Code hacks I use every day.
01
Add one line to CLAUDE.md
Open your CLAUDE.md (run /memory in Claude Code to find it) or your Project instructions in the Claude app. Paste this in with your own name.
02
Watch for the name to disappear
Now every reply starts with your name. The second it stops, that’s your check-engine light. If Claude dropped a tiny rule like that, your bigger rules are probably slipping too.
When that happens, compact the chat or start a fresh one. My rule of thumb is to compact around the 50% mark so I always get Claude’s best work. Type /context anytime to see how full the session is.
03
Start fresh without losing your place
Before you run /clear, have Claude write a handoff note, then paste it into the new session.
@ to point at one file. Type @src/auth.ts mid-message and Claude pulls in that file instead of searching the whole repo. Sharper answers, fewer tokens..claude/commands/ becomes a command, so ship.md becomes /ship. Commands have now merged into skills, so a folder like .claude/skills/ship/SKILL.md makes the same /ship and can hold extra files too. (Docs)code-reviewer.md in .claude/agents/. Each subagent runs in its own context window, so long reviews don’t clutter your main chat, and several can run in parallel. (Subagents).claude/settings.json, add allow rules like Bash(npm test) or Bash(npm run *) and those "can I run this?" prompts stop for them. (Permissions)~/.claude/CLAUDE.md and project rules in the repo’s CLAUDE.md. Claude also reads CLAUDE.md files in the folders above where you launched it, and loads them all together. (Memory docs)/compact with a focus. Plain /compact summarizes everything. /compact keep the refactor plan, drop the test debugging tells Claude what to keep. Do it before the session fills up. (Commands)/rewind instead of fighting bad code. If a change made things worse, run /rewind (or press Esc twice on an empty prompt) and roll the code and the chat back to an earlier point.The Real Win
Most of Claude Code’s power lives in a few files: CLAUDE.md, .claude/skills/, .claude/agents/ and .claude/settings.json. Get one new hack working this week and stack them over time.