Tool menus and features change. This guide teaches tool-independent skills; check any product-specific detail against that tool's current documentation.
01 — Quick answer
What is an AI context file and why write one?
A context file is a one-page plain-text note about you: who you are, what you do, who you serve, how you decide, how you write, and what the AI must never do. You write it once, load it into any assistant, and stop re-explaining yourself in every chat. Generic answers usually mean the AI never knew you.
02 — Outcome
What will you have when you finish?
A plain-text file of roughly 300 to 600 words, saved where you can find it, loaded into at least one AI assistant as standing context, and tested with a question only someone who knows you could answer well. You will also have a refresh date on your calendar.
03 — Who it's for
Who should write one?
Good fit: Anyone who uses an AI assistant for real work and keeps typing the same background every time: your role, your audience, your tone, what you don't want. Business owners, freelancers, team leads and job seekers all benefit. You need no technical skill beyond saving a text file.
Not yet the best fit: if you have used an assistant fewer than a handful of times, spend a week asking it ordinary questions first so you know what you want to change. If you need an AI to know your whole company (processes, pricing, policies), start here and then move to the guide on organizing business knowledge.
04 — Time needed
How long does it take?
Estimates for this guide.
- Active work: about 30 minutes
- Waiting or processing: none
- Testing: about 15 minutes
- Total: about 45 minutes
Plan a 10-minute refresh every three months.
05 — Before you begin
What do you need first?
Terms used in this guide
- Context
- Everything the AI can see when it answers: your message, any files, and any standing instructions. If something is not in the context, the AI does not know it.
- Standing instructions (system prompt, custom instructions, project instructions)
- Text that an assistant reads before every conversation. Different products name it differently; the idea is the same.
- Plain-text file (.txt or .md)
- A file with words and simple headings, no formatting layer. Markdown (.md) is plain text with a few symbols for headings and lists; any assistant can read it.
- First Brain
- In the Three Brains framework, your own judgment: your voice, your ethics, your experience, what you know to be true. The context file is the First Brain written down so the Third Brain (AI) can use it.
06 — Steps
How do you write and load the file?
Step 1: Decide what the AI keeps getting wrong
Objective: turn vague frustration into a short list of things the AI should already know.
Open your last five or six AI conversations. Note every place you corrected it or re-explained something: "no, I run a two-person studio", "shorter", "my clients are dentists", "don't use that word". Group the notes into three piles: facts about you and your work, facts about who you serve, and preferences about how you want answers. Those piles become the file.
Why this matters: an assistant produces the average of everything it has read unless you give it something specific to work from. The corrections you keep making are the specific part.
Step 2: Answer the seven questions, in your own words
Objective: draft the body of the file under seven short headings.
Write two to five lines under each heading. Use the words you actually use at work; do not polish. If a heading does not apply, leave one line saying so.
- Who I am. Name, role, business or team, where you are based, one line of background that explains your judgment (for example, "software engineer by training, now running a consulting practice").
- What I do. What you sell or deliver, to whom, and how work usually arrives.
- What I am working on now. Two or three current priorities and one thing you are deliberately not doing. Date this section; it changes fastest.
- Who I serve. Your customers or audience, what they say they want, what they actually need, the words they use, what they fear.
- How I decide. How you weigh risk, what is non-negotiable, how you want to be told you are wrong, whether you prefer one recommendation or options.
- How I communicate. Tone, length, phrases you use, phrases you never use. Add a sample if you have one.
- How I want the AI to work with me. Ask before acting or just draft? Clarifying questions or best guess? Format defaults. Hedging you don't want. Things it must never do (invent numbers, invent quotes, send anything, touch certain topics).
Why this matters: the seven headings cover the three things an assistant cannot infer: your situation, your audience and your standards. Most disappointing answers come from a missing one of those.
Step 3: Let the AI interview you if writing stalls
Objective: use the assistant to draw the answers out of you, one question at a time, without letting it invent anything.
If a blank page stops you, give the assistant the headings and ask it to interview you. The important context to give it: the headings you want covered, that it should ask one question at a time, that it may ask one follow-up when an answer is vague, that it must not summarize or praise, and that the final file must use your words, not its paraphrase. Dictating your answers out loud usually gives richer detail than typing.
Example prompt
Example of giving the AI the context it needs
Written for this guide, not taken from any source. It shows the context to give the AI for this step and why; replace every [bracket] with your own details.
I want to write a one-page context file about myself that I will give to AI assistants. Cover these headings, in order: who I am; what I do; what I am working on now; who I serve; how I decide; how I communicate; how I want an AI to work with me. Interview me one question at a time. Ask one follow-up only if my answer is vague. Do not praise my answers, do not summarize until the end, and do not add anything I did not say. When all headings are covered, write the file in the first person using my own wording, with [brackets] where I skipped something. Start with the first question.
Customize: the heading list (add "my team" or "my products" if that is where the AI goes wrong), and the number of questions you have patience for.
How to judge the result: read the file aloud; if a line sounds like the AI rather than you, replace it with what you would actually say. Any fact you did not state must be deleted.
Adapting to another tool: any chat assistant can run an interview; if yours tends to answer all questions at once, say "wait for my reply after each question".
Why this matters: people answer questions more fully than they fill in forms, and the one-question rule stops the AI from steering you toward generic answers.
Step 4: Remove what must never be in it
Objective: keep the file safe to paste anywhere.
Delete passwords, account and card numbers, government ID numbers, your home address, health details, and any customer's personal information. Replace exact client names with roles if a client would not want to be named. Keep money as ranges or rules ("I quote by the project, never hourly") rather than figures you would not want a stranger to read. (added note: a context file is often pasted into several tools over time; treat it as semi-public.)
Why this matters: the file will be copied into products with different privacy terms. What it should carry is judgment and preferences, not private data.
Step 5: Cut it to one page and save it as plain text
Objective: a file short enough that the AI actually follows it.
Aim for 300 to 600 words. Keep a line only if leaving it out would cause a mistake. Short, specific rules ("one recommendation, then the trade-off") beat long explanations. Save as context.txt or context.md in a folder you own, and put the date in the first line.
Why this matters: long instruction files are followed less reliably; the AI loses track of early lines when later text piles up. Plain text also means you can move the file to any tool next year.
Step 6: Load it where your assistant reads before every chat
Objective: make the file automatic rather than something you remember to paste.
Most assistants have a place for standing instructions: account-level preferences, a project or workspace with instructions and files, or a settings file read at the start of a session. Put the context file there. If your tool has none, keep the file open and paste it as the first message of any conversation that matters. If you work in several tools, load the same file in each so they all know the same you.
Example only: in assistants that offer "projects" or "workspaces", the usual pattern is one workspace per body of work, with the context file attached and a short line in the instructions saying "read context.md first". Names and menus differ by product and change often; look for the feature that persists across conversations.
Why this matters: context that lives in one chat dies with that chat. Standing context is what makes the tenth conversation better than the first.
07 — Test it
How do you know it worked?
What to test: that the AI uses the file without being reminded.
How: in a fresh conversation, ask for something you do often (a client reply, a short post, a plan for your week). Do not add any background.
Success looks like: the draft names your real audience, matches your tone, respects your never-do list and asks a clarifying question only where the file says to.
If it fails: find the missing or vague line. If it guessed your audience, your "who I serve" section is thin. If it hedged, add a rule against hedging. Change one line at a time and retest in a new chat.
08 — Troubleshooting
What usually goes wrong?
| Problem | Possible cause | Fix | How to verify |
|---|---|---|---|
| Answers are still generic | The file describes you but not your audience or standards | Add specifics under "who I serve" and "how I decide", with real phrases | Repeat the test task; the draft should mention your audience's situation unprompted |
| The AI ignores a rule | Rule buried in a long paragraph, or the file is over a page | Move rules into a short "never do / always do" list; cut the file | Ask it to list your rules back to you |
| It sounds like the AI, not you | Paraphrased during the interview | Replace lines with your own wording; attach one writing sample | Read the next draft aloud |
| Different tools behave differently | Each tool loaded a different version | Keep one master file; re-load everywhere after changes | Ask each tool the same question and compare |
| Out of date within weeks | "Working on now" mixed with permanent facts | Keep the dated section separate; refresh quarterly | First line shows the last refresh date |
09 — FAQ
Common questions
Is this the same as the AI's built-in memory?
No. Built-in memory is whatever the product chose to remember, in its own words, and it stays inside that product. Your file is deliberate, yours, and portable. Use both if you like, but the file is the one you control.
Should I write one file for business and one for personal use?
If the audiences and rules differ a lot, yes: a short shared "who I am" block, then separate files for work and life. Most people start with one file and split later.
Does the file replace a well-written request?
No. The file covers what is always true. Each task still needs its own brief: what you want, for whom, in what format, and what "done" means. The guide on briefing an AI like a new hire covers that.
How often should I update it?
When the AI makes the same mistake twice, add one line immediately. Beyond that, a 10-minute refresh every three months is enough; mark the date in the first line.
Can my team use the same file?
Each person needs their own. What a team shares is business knowledge (processes, policies, voice); that belongs in a shared knowledge base, covered in a separate guide.
10 — What next
Where do you go from here?
Use the file for a week, then add one rule for any correction you make twice. Once your personal context is solid, write the per-task brief well (the next guide), and start collecting your business knowledge into files the AI can search. The Third Brain is only as useful as the First and Second Brains feeding it; this file is the first deposit.
Related guides
Sources
Based on my notes from reviewing public AI training material (free written guides and YouTube lessons by several creators), expanded with my own explanations, examples, steps and checks, and reorganized into an independent LCGIS guide. Example prompts were written for this guide. Tool names appear only as examples; check any product-specific detail against that tool's current documentation.
- Learn AI With Mariah (free guide): The about-me.md File That Makes Claude Know You
- Learn AI With Mariah (free guide): What's an .md File? A Beginner Crash Course (+ Free Template)
- Learn AI With Mariah (free guide): Top 1% of Claude Users Do This
- Learn AI With Mariah (free guide): Set Up Claude In 5 Steps (The Beginner's Guide)
- Learn AI With Mariah (free guide): Train AI Like a New Hire: The 3-Level Setup for Your Business
- Learn AI With Mariah (free guide): Getting Started With AI the Right Way
- Learn AI With Mariah (free guide): 15 Global Instructions to Copy Into Your Claude Settings
- Learn AI With Mariah (free guide): The CLAUDE.md Starter Template: From Beginner to the Anthropic Team's Way
- Learn AI With Mariah (free guide): Context Engineer: The AI Job That Replaced Prompt Engineering ("The $200K Job Died. This One Replaced It.")
- Learn AI With Mariah (free guide): Onboard Claude Like A Coworker: The Interview Prompt
- Outskill (YouTube): Build Your Own LinkedIn Content Engine with Claude
- Outskill (YouTube): I Taught Claude to Edit My Videos (Free Skill Inside)
- Vaibhav Sisinty (YouTube): You're Using Claude the Hard Way. This Is the New Way
- Vaibhav Sisinty (YouTube): Set Up the AI Agents the Top 1% Use Before You Open ChatGPT Again. His $10B Company Uses Them Daily.