Practical setup habits that make Claude Code work better for you
A few habits that make a real difference when working with Claude Code day to day.
When you first launch Claude Code, run it from your project's root directory. Claude works best when it can see your whole project structure.
claude
Creates a CLAUDE.md file. Think of it as Claude's long-term memory — a persistent context file that gets loaded with every session. /init is just the starting point. Review it, refine it, make it yours.
Claude reads memory from multiple levels, and the most specific one wins.
| Level | Location |
|---|---|
| Global | ~/.claude/CLAUDE.md |
| Project | ./CLAUDE.md |
| Subdirectory | ./subdir/CLAUDE.md |
You can also pick which memory to use with the /memory command:
1. Project memory → ./CLAUDE.md
2. User memory → ~/.claude/CLAUDE.md
It gets prepended to every prompt. A bloated file eats your context window and degrades performance. Focus on what matters — cut everything else.
A good CLAUDE.md covers three things:
Keep each section short and specific. Claude doesn't need prose — it needs signal.