Back to articles
Claude Context Pollution Is Real — This Is How I Solved It
NewsCareer

Claude Context Pollution Is Real — This Is How I Solved It

via Dev.toNicolás Baglivo

I keep a repo of markdown files that I use as context for Claude. Notes about how I write, project details, decisions I've made and why, things I want Claude to know about me so I don't have to re-explain them every session. It works well. Until it doesn't. The problem showed up when I started adding job-hunting material - cover letter drafts, notes about specific companies, salary expectations, the whole thing. Suddenly that information was leaking into unrelated sessions. I'd be thinking through a technical essay and Claude would have all that hiring context loaded for no reason. It felt noisy. And a little weird. What I wanted was simple: one repo, all my notes, but a way to tell Claude which context to use for a given session. Job hunting context when I'm writing applications. Essay-thinking context when I'm drafting technical pieces. Writing preferences always. How Claude Code loads context Claude Code looks for a CLAUDE.md file at the root of your repo and loads it automatically.

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles