Team instructions belong in CLAUDE.md. Your sandbox URL and your odd habits do not.
Create a CLAUDE.local.md at the project root. It loads alongside CLAUDE.md and is treated the same way, but it is yours. Add it to .gitignore so it never gets committed.
echo "CLAUDE.local.md" >> .gitignore
Example: a test-data account, the local URL you always use, or a note that you want terse answers. Within a directory, the local file is appended after CLAUDE.md, so it is read last.
It keeps the shared file clean. Colleagues do not need to read about your preferred test account, and you do not need to fight over wording in a pull request just to get Claude to behave the way you like.
The caveat is worktrees. A gitignored file exists only in the worktree where you made it, so a second worktree does not see it. For that case the docs suggest importing a file from your home directory with @~/... instead. And running /memory is a quick way to open and edit the files Claude actually loaded.
Further reading: How Claude remembers your project – Claude Code docs, Commands – Claude Code docs, On this site: scope instructions with paths in .claude/rules, On this site: @-import files in CLAUDE.md instead of pasting them