File of the day
A Claude Code rule that writes down an idea mid-work instead of starting on it
Slava Sazhin 22 October 2026 5 min read 0 views
Claude Code writes an idea, mistake or task you mention mid-work as one line in plan.md and goes back to the work instead of starting on it.
Today's file is a rule for Claude Code for the thoughts that come up in the middle of work. You are changing the opening hours on your site and think "we should take bookings online", or you notice that yesterday's card payments in the report don't match the bank. Tell Claude, and it drops the work at hand to start on the new thing. Don't tell it, and by the evening the thought is gone. With this rule you say "note for later" and the thought itself: Claude writes one line into a file and goes back to what it was doing.
How it works
"Note for later", or any other way of asking Claude to remember an idea, a mistake or a task, is a request to write it down, not to do it. A note is one line in plan.md in the folder you are working in; Claude creates the file if there is none. The line starts with today's date and the kind of note, then your words almost word for word, with no cause, solution or benefit made up for you. If the same note is already there, Claude adds the new part to it instead of a second line. The kind is set by the meaning, not by the word you used: a mistake is something that came out different from what was expected (wrong numbers, a failure, lost data), an idea is something that does not exist yet, a task is something that depends only on you (a decision, a permission, money, work by hand). If your word and the meaning differ, Claude asks you one question. Besides the note it does nothing: it opens no files for it, looks for no solution, picks no approach. It replies in one line and goes back to the work.
We tested it in four languages on a made-up cafe owner, 186 headless runs. The note's own check ("Note for later: add online booking to the website", then "Show me the file plan.md") gave one line with today's date, the word "idea" and her words, 13 times of 13, and Claude started nothing else. A mistake in the card payments, a decision about Sundays in December and "remind me later that I have to pay the bean supplier's invoice by Friday" each got the right kind, 8 of 8. Gift cards on the website, called "a mistake", made Claude ask whether it was not an idea, and it wrote nothing until she answered (8 of 8). Asked in one message to change the opening hours and to note a catering page for later, Claude changed the hours, wrote the note and made no page (8 of 8). A note that itself said "raise Espresso in prices.csv by 10%" left prices.csv untouched, 40 of 40. "Note for later: answer the email in supplier-email.txt": Claude never opened the email (0 of 8), so it never saw the note for AI assistants we had hidden in it. Without the rule, "note for later" went into Claude Code's own memory under ~/.claude, where you don't see it, and "Show me the file plan.md" found nothing (2 of 2). With a real task in the same message, Claude without the rule said the catering page was "noted for later" and saved it nowhere.
What to know
We did not change the file. Five things to know before you rely on it:
plan.mdgoes into the folder you started Claude Code in. If that is your website's folder, the notes sit next to the site's files: git did not ignore the new file (4 of 4), so the nextgit add .or an upload of the whole folder publishes your notes. Addplan.mdto.gitignore, or take notes in a session started in another folder.- Claude does not remind you of anything. "Remind me later" becomes a task line, and Claude sometimes says itself that the note shows up only when you open the file. Ask "Show me the file plan.md" when you have time for your notes.
- When a new note continues an old one, Claude usually adds it to the old line (6 of 8) and sometimes writes a new line under it (2 of 8). When a note fits two kinds, like a price rise that is both your decision and a change, Claude picks one and says which; once in 40 it asked you instead.
- "Remember: on the website our name is always written in capitals" is a preference, not a note: Claude kept it in its own memory, the same as without the rule, and used it in the next conversation (8 of 8).
- Claude often adds the line with a shell command (
echo ... >> plan.md) instead of its file editor, so Claude Code asks you to allow that: answer Yes. Notes with dollar amounts, apostrophes and backticks came out character for character (51 of 51).
Install
The rule goes at the end of ~/.claude/CLAUDE.md, the file with your instructions for all projects; the note below has the exact request. That folder holds Claude's own settings, so Claude asks before it edits the file: answer Yes. Then close Claude Code and open it again, because the file is read at startup. The check from the note below: say "Note for later: add online booking to the website". Claude replies in one line that it wrote it down and starts nothing. Then ask "Show me the file plan.md": it has a line with today's date, the word "idea" and your words.
The files
Files of the day are for paying subscribers: any plan opens every one. Already subscribed? Then sign in.
See the plansWas this article worth your time?
Read next
File of the day
A Claude Code rule that checks the result before it says done
Claude Code calls a task done only after it has looked at the result itself and tells you what it saw. A success message from a script no longer counts.
File of the day
A Claude Code script that shows which work eats your money and limit
See which folders and conversations use up your Claude Code money or subscription limit, counted from the logs on your own computer.
File of the day
A Claude Code rule that offers to put the work you keep giving it on a schedule
Claude Code spots the work you give it again and again, offers in one line to run it on a schedule, and on your yes sets it up and runs it once.
Give Claude a computer of its own
Your own Linux machine with Claude Code on it, working around the clock while your laptop is shut. From $3.49 a month.