Skip to content
The Liberation Engine

Build your own AI setup / Lesson 1 of 8 · Setup

Start your own AI assistant that interviews you, learns, and grows

Your first personal AI setup, built from the pieces that do most of the work: a manual about you that every session reads, a way to ask for straight answers instead of polite ones, skills it reuses, a tool it writes to check that its plan covers your notes, a hook that catches your corrections so they can turn into rules, and a small council that looks at a decision from three sides. You hand a brand new assistant a messy pile of notes and it interviews you, plans your week, and learns from what you correct.

What our independent review still flags

An independent reviewer read every file in this lesson. We published it with these known issues; keep them in mind:

What the agent made

Ran it for real with Claude Code 2.1.323 on 2026-11-13. The first session started with no saved memory; each later session was a new one that kept only the files in the folder. Your result will differ.

1 · Meet your assistant

SAVED OUTPUT · week.md

Week of Mon Nov 16 to Sun Nov 22

Sort this out first

  • Open: other shifts this week? Notes list only "mon 7a-7p" and "wed 7a-7p". All suggested times depend on this.
  • Open: are the 3 mugs made? ("- photograph and list 3 new mugs in the shop, about 2 hours, by fri 6p")
  • Open: what to tell the cafe: yes, no, price, date? ("- reply to the cafe that asked about 20 mugs")
  • Open: car shop days, hours, booking? ("- car inspection, 45 min, shop opens at 8")

Monday Nov 16

7a-7p ER shift (mon 7a-7p)

Tuesday Nov 17

9:30a yoga, optional (- yoga tues 9:30a, optional but I feel better when I go) 11a-1p suggested: photograph and list 3 new mugs, due fri 6p (- photograph and list 3 new mugs in the shop, about 2 hours, by fri 6p) Anytime suggested: reply to the cafe about 20 mugs, once you decide what to say (- reply to the cafe that asked about 20 mugs) Anytime suggested: pay electric bill $142.60, due Thu (- electric bill $142.60 due thurs)

Wednesday Nov 18

7a-7p ER shift (wed 7a-7p)

Thursday Nov 19

8:15a dentist, cleaning (- dentist thurs 8:15a (cleaning))

Read the whole result

Friday Nov 20

8a-8:45a suggested: car inspection, if the shop is open Fri (- car inspection, 45 min, shop opens at 8) 7p Ana's birthday dinner, thai place (- Ana's birthday dinner fri 7p at the thai place)

Saturday Nov 21

Sunday Nov 22

What I assumed

  • Year: 2026.
  • Yoga takes about 1 hour (so the photo slot starts 11a).
  • Reply to the cafe takes about 15 min. Paying the bill takes about 10 min.

The piece it left behind

It saved a skill any later session can use: .claude/skills/council/SKILL.md.

SAVED IN THE FOLDER · .claude/skills/council/SKILL.md
name: council
description: For a decision Maya names, write a council file (default council.md) with three views (Realist, Coach, Skeptic) and one recommendation. Never decides for her and never changes her plan, rules or manual.

council

Inputs: the decision Maya names, and the file name she names (default council.md). Write only that file.

Start the file with: "One assistant wrote all three views below, one after another. They are not three separate people."

Write three seats, one after another. Each seat:

  • names the files it used,
  • writes UNKNOWN for anything the files do not settle,
  • states a link between two things (one taking time from another, one causing another) only when the files say so.

Seats:

Read the whole result
  1. Realist: only the days and times in Maya's files (notes, week.md, answers.txt).
  2. Coach: only what her manual (CLAUDE.md, about-me.txt) says she wants.
  3. Skeptic: what could go wrong and what nobody knows yet, in the plain words of the Straight talk section of CLAUDE.md.

Then:

  • Recommendation: one sentence. If any fact the decision needs is UNKNOWN, it says the decision stays open and names the UNKNOWN facts it depends on, including money facts such as price and costs when the files do not give them. Never say the decision closes once some listed facts are known.
  • Where the seats differ, or that they agree.
  • Facts most worth finding out, most important first, three or fewer. Do not claim they are all it would take.

Never:

  • do arithmetic or set a numeric condition the files do not support,
  • decide for Maya,
  • change week.md, rules.json, CLAUDE.md or any notes.

Then a brand-new session used what it saved on new input: see the proof.

Make your own

  1. Get the files

    Download the practice folder (ZIP)

    Unzip it: you get a folder called cli-practice with 2 practice files. Practice files for a made-up person, Maya, an ER nurse with a small online clay shop: her notes for the week of Monday, November 16, 2026, and a short note about herself. Swap in your own notes when you do it for real. It also has a for-later folder with the new files for the fresh sessions.

  2. Open your agent in that folder

    Open a terminal in cli-practice and type claude or omp --approval-mode always-ask. First time? Set up in about five minutes, with steps for Mac, Windows, and Linux.

  3. Paste this prompt

    Work only in this folder. Do not use network tools, install anything, or read or write outside this folder. Python 3 standard library only. Do not ask me to reply. Do not use em dashes or en dashes.
    Read about-me.txt and week-dump.txt. You are becoming my personal assistant. Build these, each short and in plain words:
    1. CLAUDE.md, 40 lines or fewer: who I am and what I want, in my own words from about-me.txt; how to talk to me; a "Straight talk" section: tell me the plain truth even when I will not like it, with no hedging, cheerleading or lecturing, say plainly when I am wrong and why, and keep what you know apart from what you guess; what you do not know yet (write UNKNOWN, never guess); an empty "Rules" section that says rules are added only by the reflect skill; and these standing instructions: when I start a line with No, actually, I am stating a preference: change nothing yet, because the hook in this folder records it and the reflect skill decides; I fix wrong facts in my notes file myself; a day off is a day with no shift in my notes, and my notes may not list every shift; booked things (shifts, appointments) stay at their real day and time; never assume anything my files do not say, including whether something is ready, what it is worth, or how likely it is.
    2. questions.md: interview me. At most 5 questions, ranked by how much my answer would change my week, each with why it matters and what stays open in the plan until I answer. Never answer them yourself, and never treat an open question as settled.
    3. week.md, my week, written by you: "Sort this out first" (5 lines or fewer, only clashes between items and questions still open, each naming the note line it is about), then each day Monday to Sunday with its items and times, then "What I assumed" (only how long untimed things take and the year). Every item line of my notes appears exactly once under a day. Each line under a day starts with its time (written like 7a, 8:15a or 7a-7p) or the word Anytime, follows the rules in rules.json, and ends with its source in parentheses: an item line of my notes exactly, or answers: and one whole line of answers.txt, exactly. Booked items sit at their real day and time. A time you choose for an item that is not booked is a suggestion: write "suggested" after it. Never write that something cannot happen unless my notes say so; say what it clashes with instead.
    4. check.py, a small tool you write to check that your plan covers my notes. It reads notes written the way week-dump.txt is: a line that starts with "- " is always an item, even in capital letters; any other line in capital letters is a heading, with or without a blank line before it; every other line under a heading is an item. If it reads no items at all, it fails. In the plan it counts only lines under the Monday to Sunday headings, never the "Sort this out first" lines, and counts each item line of the notes separately even when two are identical. python3 check.py NOTES PLAN fails, naming the line, when an item line of the notes is not under exactly one day, or when a line under a day does not end with its source in parentheses: an exact item line of the notes, or answers: and one whole line of the answers.txt beside the notes file, matched exactly (part of a line does not count). Before its verdict it always prints: "Checked only that every note line is in the plan once, under a day, and that every plan line says where it came from. Not checked: times, days, bookings, amounts, deadlines, rules, or whether the plan is a good one. Read those yourself." The last line is PASS or FAIL. It does not read times at all. Put a short comment at the top of check.py saying what it checks and what it does not. python3 check.py --self-test plants one defect of each kind (a missing item, an item only in "Sort this out first", a repeated note line kept once, a day line with no source, a day line whose answers: text is not a whole line of answers.txt, a day line citing only part of an answers.txt line, an item written in capital letters missing from the plan, notes with no items) and one heading with no blank line before it, and shows each one handled.
    5. Three skills, each .claude/skills/<name>/SKILL.md with name and description frontmatter:
       - week: read CLAUDE.md and rules.json, write the plan for the notes file I name (default week-dump.txt and week.md), run check.py, and fix the plan until it passes.
       - reflect: read learning/corrections.jsonl. A correction I gave in two or more different messages (different "message" ids) becomes ONE short rule in my own words: add it to rules.json with an id, its text and its receipts (the time and exact words of each correction), and add the same rule to the Rules section of CLAUDE.md. A correction from only one message goes in learning/candidates.md. Never invent a rule. Then replan with the week skill.
       - council: for a decision I name, write the council file I name (council.md if I name none) with three seats one after another, each from its own sources: the Realist (only the days and times in my files), the Coach (only what my manual says I want), and the Skeptic (what could go wrong and what nobody knows yet, in the plain words my Straight talk section asks for). Each seat names the files it used, writes UNKNOWN for anything my files do not settle, and states a link between two things (one taking time from another, one causing another) only when my files say so. Then the council gives one recommendation in one sentence, where the seats actually differ (or that they agree), and the facts most worth finding out, most important first (three or fewer), never claiming they are all it would take. It never does arithmetic or sets a numeric condition my files do not support; if any fact the decision needs is UNKNOWN, the recommendation says the decision stays open and names the UNKNOWN facts it depends on, including money facts such as price and costs when my files do not give them, and never says the decision closes once some listed facts are known. The council file says plainly that one assistant wrote all three views, one after another. The council never decides for me and never changes my plan, rules or manual.
    6. A hook that catches corrections. learning/catch.py reads the hook's JSON on standard input and takes the prompt text. For each line that starts with No, actually (any capitalization), it appends one JSON line to learning/corrections.jsonl: "time" (UTC), "message" (one random id per run, shared by every line of that message) and "words" (the whole line exactly). It never changes or blocks my message and always exits 0. If it cannot save a correction, it prints a JSON object whose "systemMessage" starts "Correction NOT saved:" with the reason, which Claude Code shows me as a warning. Wire it in .claude/settings.json as a UserPromptSubmit hook running python3 "$CLAUDE_PROJECT_DIR/learning/catch.py", and set "autoMemoryEnabled": false there so Claude Code's automatic memory does not also keep notes about me for this folder. Test it with standard-input cases: two No, actually lines in one message, a line that only has No, actually in the middle, input that is not JSON, and a save that fails because learning/corrections.jsonl is a folder.
    Run check.py on week.md, check.py --self-test and the hook tests. Your final reply is one line naming week.md.

    The prompt asks the agent to stay in this folder; it cannot enforce that. Read each file change and command before you approve it.

  4. Check it yourself

    Open cli-practice/week.md in any text editor, then:

    Human check: CLAUDE.md is within the line limit and has a Straight talk section. All 9 item lines of week-dump.txt sit under a day in week.md once, each line under a day starts with a time or Anytime and ends with its source, and the shifts and the Thursday 8:15a dentist sit at their real times. check.py prints what it checked and what it did not, then PASS. It gives the same verdict when the notes have no blank lines, and it fails a repeated note line kept once, an item moved into Sort this out first, a day line with no source, a day line citing only part of an answers line and an all-caps item missing from the plan; its self-test passes. The week, reflect and council skills exist. The hook keeps whole No, actually lines under one message id, does not crash on input that is not JSON, and returns a Correction NOT saved warning when it cannot write; the folder settings turn automatic memory off.

    When we checked the recording above: Rebuilt the folder from the recording and checked it with a separate script: manual with Straight talk, every item line once under a day with its source, shifts and the dentist at their real times, check.py prints what it does not check and PASS, gives the same verdict without blank lines, fails a repeated note line, an item only in Sort this out first, a line with no source, a line citing part of an answers line and a missing all-caps item; self-test passes; three skills; the hook keeps whole lines under one id, survives bad input and returns a warning on a failed save; automatic memory off.

Then prove it: fresh sessions

Each run below is a brand-new session, recorded for real in Claude Code. It remembers nothing from the run before except the files saved in the folder, so the short prompt is the whole instruction.

2 · Answer its questions, then say No, actually

Before this run, copy the files from for-later/interview in the ZIP into cli-practice: answers.txt.

Quit the agent, start it again in cli-practice, and paste only this:

I answered your questions in answers.txt.
No, actually, one more thing that is not in there: I don't want anything before 9 in the morning on my days off.
Work only in this folder; no network tools, installs, reading or writing outside it, or replies from me. Python 3 standard library only. No em dashes or en dashes. Leave answers.txt, about-me.txt and week-dump.txt unchanged.
Add every answer in answers.txt to CLAUDE.md (40 lines or fewer), in my own plain words, replacing the UNKNOWN it settles: answers about how I live go where they belong, and answers about this week only go under a "This week only" heading. Do not write anything I did not say. In questions.md mark a question answered only when answers.txt answers it directly; otherwise it is still open. Follow your manual about lines I start with No, actually.
Copy week.md to history/week-before-answers.md, then use your week skill to replan this week with the answers.
Write interview-result.md, 15 lines or fewer: for each answer, what changed in the plan, and which questions are still open. If you mention the No, actually line, say whether it appears in learning/corrections.jsonl; do not say you saw the hook run. Say only what changed between the two plans; if you are not sure why something moved, do not guess. Anything in quotation marks must be copied exactly from my files. Your final reply is one line naming interview-result.md.
SAVED OUTPUT · interview-result.md

Interview result (old plan: history/week-before-answers.md, new plan: week.md)

Read the whole result
  • Clay time: added clay time 8:30p-10:30p, suggested, on Tue, Thu, Fri, Sat, Sun (no shift in notes). Mon and Wed have none.
  • Clay time on Fri: new Sort-out line, Ana's dinner end time is not in notes, so it may overlap 8:30p.
  • Photos before 4p: no move. Photo slot stays Tue 11a-1p; line now says "before 4p".
  • Yoga first to drop: no move. Tue 9:30a yoga line now says it is first to drop.
  • Bills day before: electric bill moved from Tue to Wed (due Thu). Wed is your 7a-7p shift, so it says outside the shift.
  • Cafe: added "decide on cafe order" on Thu. Reply to the cafe moved from Tue to Thu, after you decide. Sort-out line now says how fast you can make 20 is not in your files.
  • "Anything you asked that isn't answered here, keep it as a question for later.": all 4 questions kept open in questions.md and week.md.
  • No, actually line (nothing before 9 on days off): it appears in learning/corrections.jsonl, one entry. Plan not changed for it; your manual says the reflect skill decides. Fact: the Fri 8a car slot is before 9 on a day with no shift in your notes.
  • CLAUDE.md: no UNKNOWN replaced, no answer settles one. Clay, photos, yoga, bills went under "How I live"; cafe and the keep-questions line under "This week only".

Still open (questions.md): 1 other shifts, 2 are the 3 mugs made, 3 what to tell the cafe, 4 car shop days and hours.

Human check: learning/corrections.jsonl holds one line, the No, actually line exactly as typed. The answers are in CLAUDE.md, the cafe answer under This week only, rules.json still has no rules, the electric bill moved to Wednesday, the cafe reply moved after the Thursday decision, and check.py prints PASS.

When we checked the recording: One exact correction in the log; answers in CLAUDE.md with the cafe answer under This week only; no rules yet; check.py PASS.

3 · Say it again, the way people do

Quit the agent, start it again in cli-practice, and paste only this:

I looked at the plan again.
No, actually, keep mornings before 9 empty on my days off, I already told you that.
No, actually, call it clay time, not side project, everywhere you show it to me.
Work only in this folder; no network tools, installs, reading or writing outside it, or replies from me. No em dashes or en dashes. Follow your manual about lines I start with No, actually: change nothing else now.
Write correct-note.md, five lines or fewer: which lines from this message appear in learning/corrections.jsonl (say they appear in the log; do not say you saw the hook run), how many separate messages each correction has now come from, and whether each one has come from two or more messages, which is what the reflect skill needs to make a rule. Do not predict anything else. Anything in quotation marks must be copied exactly from my files or learning/corrections.jsonl. Your final reply is one line naming correct-note.md.
SAVED OUTPUT · correct-note.md
  • Both "No, actually" lines from this message appear in learning/corrections.jsonl.
  • Mornings: "keep mornings before 9 empty on my days off" now comes from 2 separate messages (the earlier one: "I don't want anything before 9 in the morning on my days off."). That is two or more, so reflect has what it needs to make a rule.
  • Clay time: "call it clay time, not side project, everywhere you show it to me." comes from 1 message only. That is under two, so reflect has not got enough to make a rule yet.

Human check: learning/corrections.jsonl now holds three corrections from two messages; the two lines from this message share one message id. The plan, rules and manual did not change.

When we checked the recording: Three corrections from two messages; plan, rules and manual unchanged.

4 · Ask it to reflect, and watch a rule appear

Quit the agent, start it again in cli-practice, and paste only this:

Use your reflect skill on everything in learning/corrections.jsonl.
Work only in this folder; no network tools, installs, reading or writing outside it, or replies from me. Python 3 standard library only. No em dashes or en dashes. Keep CLAUDE.md 40 lines or fewer. Copy week.md to history/week-before-rules.md before you replan.
Then write reflect.md, 25 lines or fewer: each correction exactly as I typed it, which became a rule and why, which stayed a candidate and why, the rule as it now reads, and what moved in this week's plan (booked things stay at their real time). Run check.py on the new plan and say what it printed last. Say only what changed between the two plans; if you are not sure why something moved, do not guess. Anything in quotation marks must be copied exactly from my files, learning/corrections.jsonl or what check.py printed. Your final reply is one line naming reflect.md.
SAVED OUTPUT · reflect.md

Reflect (old plan: history/week-before-rules.md, new plan: week.md)

Your corrections, exactly as typed

  1. 2026-11-13T17:00:42Z: "No, actually, one more thing that is not in there: I don't want anything before 9 in the morning on my days off."
  2. 2026-11-13T17:02:04Z: "No, actually, keep mornings before 9 empty on my days off, I already told you that."
  3. 2026-11-13T17:02:04Z: "No, actually, call it clay time, not side project, everywhere you show it to me."

Became a rule

  • 1 and 2 say the same thing and come from 2 different messages. That is enough, so it is now R1.
  • R1 as it now reads (rules.json and CLAUDE.md): "keep mornings before 9 empty on my days off"

Stayed a candidate

  • 3 comes from 1 message only. Under two, so no rule. Parked in learning/candidates.md.
  • The plan does not say "side project" anywhere, so nothing changed for it.
Read the whole result

What moved in this week's plan

  • Fri car inspection: suggested 8a-8:45a moved to 9a-9:45a. Fri has no shift in your notes, so R1 applies. Still only if the shop is open Fri.
  • Thu dentist 8:15a: did not move, it is booked. Line now says it is before 9 on a day off.
  • Thu "decide on cafe order" and reply to the cafe: Anytime became Anytime after 9a (Thu has no shift in your notes). Decide line is now marked suggested.
  • Nothing else changed. Sort-out lines, other days, clay time, questions: same.
  • CLAUDE.md: R1 added under Rules; one blank line removed to stay at 40 lines.

check.py on the new plan

  • Last line it printed: "PASS". It does not check times, days or rules; I reread those myself.

Human check: rules.json has one rule, keeping mornings before 9 empty on days off, with both corrections word for word as receipts, and the same rule is in CLAUDE.md. The clay time correction, from one message, is a candidate. The suggested car inspection moved from Friday 8a to 9a, the booked Thursday 8:15a dentist stayed where it is, and check.py prints PASS.

When we checked the recording: One rule with two exact receipts, also in CLAUDE.md; clay time a candidate; suggested car inspection moved from Friday 8a to 9a; dentist kept; check.py PASS.

5 · Ask your council a real decision

Quit the agent, start it again in cli-practice, and paste only this:

Use your council skill on this, writing council.md: should I say yes to the cafe that asked about 20 mugs? In my words: "I want to say yes but I need to know if I can make 20 by mid December."
Work only in this folder; no network tools, installs, reading or writing outside it, or replies from me. No em dashes or en dashes. Change nothing except council.md.
Write council.md, 30 lines or fewer, as the skill says: each seat's view with the files it used, the recommendation in one sentence, where the seats differ, and the facts most worth finding out. Anything in quotation marks must be copied exactly from my files. Your final reply is one line naming council.md.
SAVED OUTPUT · council.md

Council: say yes to the cafe's 20 mugs?

One assistant wrote all three views below, one after another. They are not three separate people.

Realist (files: week-dump.txt, week.md, answers.txt)

  • Known shifts: "mon 7a-7p" and "wed 7a-7p". Shifts after Sun Nov 22: UNKNOWN.
  • Clay time is "8:30p to 10:30p on nights I'm not working". week.md suggests it Tue, Thu, Fri, Sat, Sun; Fri "may overlap the dinner".
  • Mugs you can make per clay night, or in total by mid December: UNKNOWN.
  • Decision day is set: "I'll decide Thursday."

Coach (files: CLAUDE.md, about-me.txt)

  • You want the shop to grow: "It doesn't pay the bills yet but I want it to."
  • You want this order: "I want to say yes".
  • What the order pays, or whether it moves the shop toward paying the bills: UNKNOWN.
Read the whole result

Skeptic (files: CLAUDE.md, questions.md, week.md)

  • Plain truth: nobody, including you, has written down how fast you make mugs. Wanting to say yes does not answer "I need to know if I can make 20 by mid December."
  • Price, costs, stock: UNKNOWN. A yes with no price is a yes to an unknown deal.
  • questions.md says: "A yes could take time from the rest of the week." How much: UNKNOWN.
  • Still open: whether the 3 shop mugs are made ("Are the 3 new mugs made and ready to photograph?").

Recommendation

The decision stays open: it depends on UNKNOWN facts, including how many mugs you can make by mid December, your shifts after this week, the price the cafe would pay and your costs.

Where the seats differ

  • Coach leans toward yes because you want it; Realist and Skeptic say the files cannot show you can make 20 in time, or that it pays.

Facts most worth finding out (not the only ones)

  1. How many mugs you can make in one clay night, start to finished.
  2. Your shifts from Nov 23 to mid December.
  3. What the cafe would pay per mug, and what each mug costs you.

Human check: council.md has the Realist, the Coach and the Skeptic, each naming the files it used, says one assistant wrote all three, marks what the files do not settle as UNKNOWN, keeps the decision open with price and costs among the unknowns, and names the facts most worth finding out. The plan, rules and manual did not change.

When we checked the recording: Three seats with files named and UNKNOWN marked; says one assistant wrote all three; decision left open, including price and costs; plan, rules and manual unchanged.

Do it for real

Do it on your own week, in a new folder: put your own notes where week-dump.txt is and a few lines about yourself where about-me.txt is, and answer its questions for real. Each Sunday, replace week-dump.txt with the new week's notes, update or clear answers.txt, delete last week's lines under "This week only" in CLAUDE.md, start Claude Code in the same folder, ask it to plan your week, and check that the dates at the top of the plan are the new week's and that nothing from last week came back. Edit the Straight talk section in CLAUDE.md to ask for the bluntness you want. It steers the answers but does not guarantee them: CLAUDE.md is guidance the model reads, not a setting it must obey, so when an answer turns polite or vague, correct it with a No, actually line. Use No, actually lines for preferences, each on its own line, and look in learning/corrections.jsonl now and then, since a correction that is not there was not recorded. A preference becomes a rule only after it has come up in two messages and you ask it to reflect, and rules are guidance the assistant follows, not checks a program enforces. When a plan line gets a fact wrong (a date, an amount, a booking), compare it with the source in parentheses at the end of the line. If the source is wrong, fix that file yourself (week-dump.txt for your notes, answers.txt for your answers); if the source is right, tell it which plan line is wrong. Then ask it to replan. Check times, money, deadlines and bookings in the plan yourself: check.py checks only what it says it checks, and PASS does not mean the plan is right. Every few weeks ask it to use the reflect skill and read the rules it writes. Bring real decisions to the council skill and find out the facts it says are most worth knowing. When you catch yourself typing the same request twice, ask it to turn that request into a new skill. The hook is a Claude Code hook: OMP and other terminal tools do not run it. To give another tool the same manual, copy CLAUDE.md to AGENTS.md, which OMP reads, and record corrections by hand there. What goes in this folder leaves your computer: Claude Code sends your prompts, the files it reads and its answers to the model provider, keeps transcripts of your sessions on your computer for 30 days by default, and learning/corrections.jsonl keeps your exact words. Read Claude Code data usage before adding anything private. This folder turns off Claude Code's automatic memory; your other folders keep it on unless you turn it off, as Claude Code memory explains. Hooks are programs that run on your computer with your permissions, so read Claude Code hooks and look inside any folder someone else made before you open it. Never keep passwords or keys in the folder.

Grow it further

The setup you just built is small on purpose. Watch these to see where it can go, then use the open projects to take each piece further. The first video and the first project come from Daniel Miessler, whose open personal AI system, LifeOS, is the place to go next.

Why an agent, not a chat window

A chat app keeps your conversation. Here the assistant also keeps files in a folder you control: a manual every new session reads, skills it can reuse, a checker it runs on its own work, and a hook, a small program Claude Code runs each time you send a message, that writes down your corrections. Claude Code's automatic memory is turned off for this folder, so the manual, rules and correction log are the notes it keeps about you here, in files you can open, edit and delete. Your prompts and its answers still go to the model provider, as the privacy notes at the end explain.

Go deeper

Why the prompt is written this way

The recorded runs

ToolModelFirst run tookFiles madeSessions
Claude Code 2.1.323claude-opus-5-52 min 32 s12first session + 4 later

This lesson is recorded in Claude Code only. Its hook is a Claude Code hook; a copy of CLAUDE.md saved as AGENTS.md gives OMP the same manual.

Push it further