How to Build a Context File System for Your AI (Copy This Template)
A copy-paste starter template, a bootstrap prompt, and the exact steps to get Claude, ChatGPT, or Cowork to actually load your context files, so you stop re-explaining yourself every session.
You need two files, a prompt to build them, and about twenty minutes. That's the whole starting kit: a file with the facts and rules that never change, a file with what's true right now, and a way to get your AI tool to actually read both before you type a word.
I wrote about why I built mine and what it looks like at full size in How I Built My AI a Memory System. This post skips the story and gives you the reusable part: the template, the prompt, and the setup steps for the tools most people are actually using.
The two files you actually need
Start with two, not four. Everything else is an upgrade you add once you actually catch yourself repeating something, not a day-one requirement.
A rules file. Who you are, what you do, and the handful of things that never change: your tone, your pricing floor if you have one, words you never use, how you like work handed back to you.
A state file. What's actually true right now. Active projects, what's blocked, what's next. Nothing older than this week belongs in it. Once something's done or stale, it moves out.
That's the whole starting kit. A rules file and a state file solve the two most common failures: retyping the same background every session, and an AI confidently working off information that stopped being true.
Copy this starter template
Paste this into a plain text file, fill in the brackets, save it as rules.md and state.md (or about.md and status.md, the name doesn't matter).
# Rules
## Who I am
[2-3 sentences: what you do, who you serve, how you like to work]
## Hard rules
- [A tone or voice rule]
- [A word or phrase to never use]
- [A standing constraint, like a pricing floor or a client you don't take]
## Always ask before
- [Anything you never want done without your OK first]# Current state
## [Project or client name]
Status: [one line]
Blocker: [one line, or "none"]
Next move: [one line]Keep each project entry to three lines. If a status line starts growing past that, it's turning into a diary, and a diary is exactly what a state file isn't for.
The bootstrap prompt: let your AI build it for you
You don't have to fill the template out alone. Paste this into a new chat with whatever AI tool you're using:
This does two things at once. It gets you a working first draft in one conversation instead of staring at a blank template, and it forces you to actually answer each question instead of skipping the ones that feel obvious.
Getting your AI tool to actually load it
A file sitting on your desktop does nothing on its own. It has to load into the conversation automatically, and how that works depends on the tool. If you're not sure which to use, start with Cowork, it's the one built for people who aren't developers.
| Tool | Rules file goes | State file goes | Watch for |
|---|---|---|---|
| Cowork | CLAUDE.md in your connected folder | Same folder | Folder has to be connected first, via Context for a Cowork Project |
| Claude Projects | Project Knowledge | Project Knowledge | Optional: also add to project instructions for extra steering |
| Claude Code | CLAUDE.md in your working folder | Same folder | Filename has to be exact |
| ChatGPT | Project instructions | Project files | Don't also set account-wide Custom Instructions, it gets overridden inside the project |
| Anything else | Paste at the top of a new chat | Paste at the top of a new chat | Slower, but always works |
Cowork. Start here if you're not sure which tool to use. Same CLAUDE.md file as the others, but the folder has to actually be connected first. For an ad-hoc chat, connect the folder when you start. For a Cowork Project, link it under that project's Context section, that's the step people skip. Once it's connected, CLAUDE.md inside it gets read automatically. This is the exact mechanism SpringOS runs on.
Claude Projects. Create a Project, then upload both files to the project's Knowledge section. For extra steering, paste the rules file into project instructions too. You'll find that option under “Set project instructions” in the project menu. Anything in Project Knowledge loads into every conversation you start inside that project. You don't re-upload it each time.
Claude Code. Save the rules file as CLAUDE.md in your working folder. It's read automatically at the start of every session in that folder, no separate setup step, same underlying mechanism as Cowork, just without a folder-connection step, since Claude Code already runs inside whatever folder you opened it in.
ChatGPT. Create a Project, then open Project settings and paste your rules file into the project instructions field. Upload your state file to the project's files. Keep both files in that same project rather than splitting the rules file into your account-wide Custom Instructions instead, project instructions override Custom Instructions the moment you're chatting inside a project, so splitting them means the rules file quietly stops applying right where you'd be using it most. ChatGPT also has a separate Memory feature that saves facts about you automatically, and you can edit what it's saved, but it's built for picking up general context over time, not for holding a rules file you want followed exactly.
Any other tool, or no persistent feature at all. Paste both files at the top of a new chat. It's still faster than retyping from memory, and it's the fallback every other method is really just automating.
Build a skill file for anything you do often
Once you catch yourself explaining the same task the same way twice in a week, that's the signal. Not before. A skill file is a third file, loaded only when that specific job comes up, so your rules file doesn't turn into a dumping ground for every one-off process you've ever explained.
Paste this into a new chat:
Save the result next to your rules and state files. Point to it by name when the task comes up, something like “use my client-email file for this one,” or set your tool to load it automatically if the task comes up often enough to justify that.
Once you've got some real history built up, there's a faster way: let your AI find the pattern instead of you having to notice it. This only works if your tool's cross-chat search or memory is turned on, it needs something to search, so it's an upgrade for later, not a day-one move.
Whether this actually works depends on your tool:
Claude.ai. Needs a paid plan, Pro, Max, Team, or Enterprise, and the search toggle turned on in Settings > Capabilities. Search only works inside the boundary you're in: chats outside a Project search each other, a Project's chats only search within that same Project.
ChatGPT. Turn on “Reference chat history” in Settings > Personalization > Memory. It reads more like a background pattern-notice than an exact list, so expect softer, more general suggestions than a direct search would give.
Cowork. Works out of the box, no toggle needed. This is the same mechanism behind a scheduled maintenance pass.
Claude Code. Not supported. Stick with the manual prompt above.
Automate the update
Two or three files stop being useful the moment nobody keeps them current, which is exactly the problem this setup exists to solve. The fix isn't a bigger system. It's a standing prompt that runs the same five-minute check on a schedule.
Paste this into a new chat, or save it as the prompt for a recurring task:
How to make it actually run on a schedule depends on your tool:
Cowork. Has scheduled tasks built in. Tell it in plain language, something like “run this every weekday morning at 9am,” or use the /schedule command. Paid plans only.
Claude Code. Uses a separate feature called Routines, set up at claude.ai/code/routines or with /schedulein the CLI. Runs on Anthropic's own servers, so it fires even with your laptop closed. Paid plans only.
ChatGPT. Has its own Scheduled page in the sidebar, on web and mobile. Type the task with a schedule attached, something like “every weekday at 8am, do X,” and confirm it. Free accounts don't get this, it needs a paid plan.
Claude Projects (the plain kind, not Cowork). No built-in scheduling as of this writing. Run the prompt yourself at whatever cadence fits, paste it in at the start of a session, or set a calendar reminder if you want the nudge.
Anything else. Same deal, run it manually. It's a five-minute pass either way. The automation just removes the chance you forget to do it.
What to do after day one
That's the whole system. Two files today. A skill file the first time you catch yourself repeating a task. Automation whenever the manual check-in gets old. Nothing here needs to happen on day one except the first two files.
Sources: Claude Help Center: How can I create and manage projects?, OpenAI Help Center: Projects in ChatGPT, OpenAI Help Center: Tasks in ChatGPT, Claude Cowork Help Center: Schedule recurring tasks, Claude Code Docs: Run prompts on a schedule, Claude Help Center: Use Claude's chat search and memory, OpenAI Help Center: Memory FAQ
Let's find the hours
you've been losing.
Book a free 45-minute call and I'll show you exactly where AI can give them back.
Whether you're AI-curious, want to collaborate, or just want to connect, I'd love to meet.