Blog · Setting up Claude Code to work my way
Keeping projects from bleeding into each other
Tools can move between projects. Data and keys stay where they belong.
In this seriesShow all 11 partsHide the list
- 01One file every session reads first
- 02Where it writes things down, and where it doesn't
- 03Every project starts with the same five files
- 04What it does on its own, and what waits for me
- 05Show me before you build it
- 06A front desk for all my projects
- 07The cheapest model that does the job right
- 08Two voices: documentation and me
- 09Rules that came from things going wrong
- 10Keeping projects from bleeding into each other
- 11Routines that get better every run
One AI assistant working across many projects on one PC is convenient. It also means a session in one project can reach every other project's files, keys, and accounts. So my rules put walls between them.
The basic rule
Each project stays separate. A session working in one project never touches another project's files, keys, hosting, or accounts. It doesn't link to another project, and it doesn't weigh one project's priorities against another's.
That last part is easy to miss. An assistant that can see everything could suggest "you could pause this to finish that." That's my call, made with context no single session has.
Tools travel, data doesn't
Copying a tool from one project to another is fine. A preview script, a check script, or a build step can move freely. The data it worked on stays where it was. Test data, settings, and anything a person entered belongs to its project and nowhere else.
Every key has one job
Each key or password does exactly one thing for one project. It's stored encrypted in that project's own secrets folder, with a copy in that project's collection in my password manager. Secrets never go into Git, logs, comments, or test data.
One key per job means that when something leaks or needs replacing, I replace one key and know exactly what it touches.
Two deliberate exceptions
- The front desk. One session, started outside every project, can read each project's three-line status card. It never edits anything.
- The bookmark list. One shared file that every project may add links to.
Two exceptions, both written down, both narrow. Anything else that crosses between projects is a mistake.
The same thinking applies one level up. This is a personal PC, so work accounts, work data, and work tools stay off it entirely.
What I'd look at in a business
When a company brings an AI assistant into more than one system, the first question I'd ask is what one session can reach. If the answer is "everything the person running it can reach," that's the place to start drawing walls: one key per job, and secrets kept out of anything the assistant writes.