- Claude Code The Words You’ll Need
- Claude Code The Three Levels
- Claude Code What Agentic Really Means
- Claude Code Getting Started in VS Code
- Claude Code Teaching Claude Your Project
Every Claude Code session starts with a fresh context window. Claude doesn’t remember yesterday’s session, your project’s quirks or the way you like things done. Without help, you’d have to explain your project from scratch every time. Claude Code has three ways to fix that: CLAUDE.md files, memory and skills.
A good way to picture them is a new employee. On their first day, you hand them the employee handbook. As they work, they keep their own notebook of things they’ve learned. And for the tasks that need doing a certain way, there’s a binder of standard procedures on the shelf.
CLAUDE.md: the employee handbook
CLAUDE.md is a plain text file in your project folder. Claude reads it at the start of every session, before you type anything. Whatever you put in it, Claude knows from the first minute.
Good things to put in it:
- How to run things: the command that starts your app or runs its tests.
- Your rules: “always do X” and “never do Y” instructions.
- Conventions: how you name things and how you like the code written.
- Project facts: things Claude can’t work out by reading the code, such as “the live site runs on a web host; never change it directly.”
Here’s what a short CLAUDE.md might look like for our sales pipeline app:
# Sales Pipeline
A small web app that tracks companies we might sell to.
## Running it
- Start the app: python app.py
- Run the tests: python -m pytest
## Rules
- Company names are stored exactly as the company writes them.
- Never delete a company; mark it inactive instead.
- Back up the database before changing its structure.
The lines starting with # are headings. CLAUDE.md is written in Markdown, a simple way to format plain text.
Keep the handbook short
Anthropic’s advice is to keep each CLAUDE.md under 200 lines. Everything in it is loaded into the context window every session, so a long file uses up room and its instructions get followed less reliably. Be specific: “Use 4 spaces to indent” works better than “format the code nicely.” If two instructions contradict each other, Claude may pick either one, so remove old rules when they change.
One more thing: CLAUDE.md is guidance, not a lock. Claude takes it seriously, but it isn’t a guarantee. You still review the work.
Don’t start from a blank page
Type /init in the Claude prompt box. Claude reads through your project and writes a starting CLAUDE.md for you, with the commands and conventions it finds. If you already have one, it suggests improvements instead of replacing it. Read what it wrote and fix anything it got wrong. It’s your handbook.
Memory: Claude’s own notebook
CLAUDE.md is what you write. Memory is what Claude writes. As you work together, Claude can save short notes about what it learns: your preferences, corrections you’ve made, and facts about the project. It reads them back at the start of each new session.
You can also ask directly. Say “remember that I prefer short explanations” or “remember that the tests need the database running first,” and Claude saves a note.
The notes are plain text files on your own computer, not in your project folder. On Windows, they’re under your user folder in .claude\projects. Each project has its own memory folder with an index file called MEMORY.md. Type /memory to see your memory files, open the folder, or turn memory on or off.
Because the notes are plain text, you can open and read them anytime. It’s a good habit: you’ll see exactly what Claude thinks it knows about you and your project, and you can fix or delete anything that’s wrong.
Skills: the binder of procedures
Some jobs follow the same steps every time. In our sales pipeline, adding a new company might mean: look it up, check it isn’t already in the database, fill in every field, then double-check the entry. You could type those steps into every prompt, or you could write them down once as a skill.
A skill is a folder with a file called SKILL.md. At the top is a short description of what the skill does and when to use it. Below that are the instructions. For example:
---
name: add-company
description: Research and add a new company to the sales pipeline. Use when the user names a company they want added.
---
1. Search the database to make sure the company isn't already there.
2. Look the company up online: website, address, what it sells.
3. Show me the details before saving anything.
4. After I approve, add it and read the entry back to check it.
Project skills go in a .claude\skills folder inside your project. You can use a skill two ways:
- Ask for it by name: type
/add-companyin the prompt box. - Let Claude pick it: say “add Harbourview Bakery to the pipeline,” and Claude notices the request matches the skill’s description and follows it.
Here’s the clever part. Claude only reads a skill’s short description up front. It loads the full instructions only when it uses the skill, so you can have lots of skills without filling up the context window.
Which one should I use?
| CLAUDE.md | Memory | Skills | |
|---|---|---|---|
| Like | The employee handbook | The employee’s notebook | The binder of procedures |
| Written by | You (Claude can help) | Claude (you can edit) | You (Claude can help) |
| Loaded | Every session | Every session | Only when needed |
| Best for | Rules and facts needed every time | Preferences and lessons learned | Step-by-step tasks you repeat |
A simple rule of thumb: if it’s a fact Claude needs every day, it goes in CLAUDE.md. If you keep typing the same set of steps, make it a skill. And let memory pick up the rest as you go.
Next up
Claude can change a lot of files quickly. In the next post, we’ll look at staying in charge: reviewing what Claude did, and using git as a safety net so you can undo anything you don’t like.