Starter files · Claude Code
My Claude Code OS: starter files
I run my whole company out of Claude Code. These are the three layers that turn it from a chat into the place my work runs from, cut down to a starting point you can fill in yourself.
Updated 18 November 2026
The three layers
- Rules (
CLAUDE.md): Claude reads it at the start of every session. Every mistake you never want repeated goes here. - Skills (
skills/*/SKILL.md): one folder for every job you do more than twice. Claude picks the right one by its description. - Memory (
MEMORY.md): what happened this week, the ideas, calls and decisions. Claude reads it before it plans.
Set up in 10 minutes
- Copy
CLAUDE.mdinto the root of your project. Fill in the three sections at the top and delete the example rules that don’t apply to you. - Copy the folders inside
skills/into.claude/skills/in your project, or into~/.claude/skills/to use them everywhere. - Pick your memory (below), then open Claude Code and type
plan my day.
1. Rules: CLAUDE.md
The template, with eight rules from my own file as examples. Each one says the rule and why, so Claude can apply it to cases you didn’t foresee.
# CLAUDE.md
Claude reads this file at the start of every session in this project. Keep it true: when
something here stops being right, change it the same day.
## What this project is
<!-- Two or three sentences. What it does, who it's for, what "done" looks like. -->
PROJECT: ...
STACK: ...
WHERE THINGS LIVE: ...
## How I like to work
<!-- Your preferences, so Claude stops guessing. Examples: -->
- Explain what you're about to change in one line, then do it.
- Small commits, one idea each. Don't push unless I say so.
- When you're unsure, ask one question instead of guessing.
- Plain words in anything a user will read. No jargon, no hype.
## Commands
<!-- The exact commands to build, test and run. Claude will use these instead of inventing its own. -->
- Build: `...`
- Test: `...`
- Run locally: `...`
## Rules I learned the hard way
<!-- One line per mistake you never want repeated. Say the rule AND why, so Claude can apply it
to cases you didn't foresee. These are examples from my own file; keep the ones that fit. -->
- Merge branches, never cherry-pick. Cherry-picks make finished work look unmerged forever.
- Delete branches with `-d`, not `-D`. The lowercase one refuses to delete unmerged work.
- Read the live version before you deploy over it. Production may hold a fix the repo doesn't.
- "It builds on my machine" is not done. Check the version that was actually pushed.
- Never put real user data on screen, in screenshots, demos or logs. Use made-up examples.
- Measure before you claim. "Faster", "fixed" and "works" need a number or a test behind them.
- One source of truth for every number or setting. Mirrors drift.
- Before deleting anything, look at what you're deleting.
## Before you plan anything
Read `MEMORY.md` (or ask my memory connector) for what happened this week: decisions, open
tasks, ideas. Plans that ignore last week's decisions get thrown away.2. Skills: plan my day, save the session
Two skills to start with. The first plans today from what actually happened this week; the second saves the session to memory before you close it.
--- name: plan-my-day description: Plan today from what actually happened this week. Use when the user says "plan my day", "what should I work on", "morning plan" or starts a session without a clear task. --- # Plan my day 1. Read the memory first: `MEMORY.md` in this project, or the user's memory connector if one is connected (recent notes, open tasks, decisions from the last 7 days). Say in one line where you read it from. 2. Read `CLAUDE.md` for how the user likes to work. 3. List what's open: promises made to other people (with dates), tasks due today or overdue, unfinished work in this repo (`git status`, open branches). 4. Propose a plan of at most 3 things for today, in order, each with why it's first and roughly how long it takes. Promises to other people go before your own ideas. 5. Ask one question: "Start with #1?" Do nothing until the user answers. Keep it short. A plan longer than a screen won't get read.
---
name: save-session
description: Save what happened in this session to memory before it's lost. Use when the user says "save this", "wrap up", "end of day", or is about to close a long session.
---
# Save the session
1. Write a short summary of this session, in plain words:
- **Done:** what changed (files, features, fixes), one line each.
- **Decided:** any decision and the reason for it.
- **Open:** what's unfinished, and the exact next step.
- **Learned:** any mistake worth a new rule.
2. Save it:
- If a memory connector is connected (for example a notes app over MCP), create one note
titled "Session: <date> <topic>" with the summary.
- Otherwise, add it under today's date at the top of the Log in `MEMORY.md`.
3. If there was a mistake worth remembering, propose ONE new line for the rules section of
`CLAUDE.md` and add it only if the user says yes.
4. Tell the user in one line where it was saved.3. Memory
Rules and skills tell Claude how to work. Memory tells it what is going on. Three ways to keep it, from a file in the repo to talking instead of typing (what I do, with MAI and its Claude connector).
# Memory: layer 3 Claude has no idea what happened in your week. Rules and skills tell it HOW to work; memory tells it WHAT is going on: the idea you had on a walk, the call where the price changed, the thing you promised to send on Friday. Pick one of these. Start with the simplest that you'll actually keep up. ## Option 1: this file (simplest) Keep a running log at the bottom of this file. Claude reads it before it plans. The catch: you have to remember to write in it, and you won't on a busy day. ``` ## Week of 2026-11-17 - Decided: pricing stays at €9/month, €90/year (call with Ana, Tue) - Idea: onboarding should start with a recording, not a form - Promised: send Ana the new deck by Friday ``` ## Option 2: talk instead of type (what I do) I don't write my memory down. I say it: into my phone on a walk, into my watch at the gym, after every call. My notes app turns that into notes and tasks, and Claude reads them through a connector before it plans. I use MAI Second Brain for this (I built it, so I'm biased). In Claude Code: ``` claude mcp add --transport http mai https://maicontext.com/mcp ``` In the Claude app: add the MAI Second Brain plugin (Customize → Plugins), which brings the connector. Any notes app with an MCP connector works the same way: the point is that your memory fills itself while you live your week. ## Option 3: a notes folder in the repo A `notes/` folder with one Markdown file per week. Good for teams; same catch as option 1. --- ## Log <!-- If you chose option 1, write here. Newest week at the top. -->
How it grows
- Every time Claude does something you have to fix, add one line to the rules section of
CLAUDE.md. Mine is almost 4,000 lines now. - The second time you explain the same job, turn it into a skill: ask Claude “turn what we just did into a skill in .claude/skills/”.
- Don’t type your context. Say it. Two minutes of talking gives Claude more to work with than twenty minutes of typing.
Use it, change it, share it. More setups like this one are on the resources page.