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.
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.