Noted
Turns your corrections into permanent rules, without duplicates.

211 passingone small-model call per detected correction10Turn repeated corrections into reusable project rules
Noted turns a short correction such as “No, use pnpm” into a suggested CLAUDE.md house rule. Review the candidate and edit it if needed, then explicitly choose Save project or Save global. Editing alone does not save it.
When to use it
- Save a repeatedly corrected package-manager preference for a project.
- Keep an approved house rule across projects with a global save.
- Review and remove an obsolete rule instead of repeating a conflicting correction.
Try it in your session
Make a short English correction during normal work. Review the proposed rule; edit it before saving if needed.
Explicitly choose Save project for ./CLAUDE.md or Save global for ~/.claude/CLAUDE.md. Both use a House rules section.
List saved rules and check the wording.
/rulesReplace <number> with the rule number you intend to remove. Saved instructions apply to subsequent session context, not a promised instant reload.
/rules remove <number>
Choose the behavior
There are no settings. Choose the project or global save scope explicitly, or edit the proposed text. Use /rules to verify it rather than assuming a correction was saved.
Where it works
The reviewed save band supports Terminal and Desktop; /rules can return text in other contexts.
Check current platform versions and installation guidanceKnow the limits
- A small-model call receives the correction, reply tail and existing rules. It can miss corrections or conflicts; only the first 60 rules are used for model conflict checking.
- Writes to CLAUDE.md happen only after approval. Review the file if the proposed rule is important.
- A saved rule is reusable context, not a guarantee the model will follow it or that the current session reloads immediately.
Reviewed version 0.1.2, source reviewed 2026-10-15. Read the pinned README (8628e8f). This walkthrough describes that version, not a new live Claude Code test. Catalogue updates may describe a newer version.
How it works
Slash commands
/rulesList the house rules noted learned, with dates, and remove one
Hook events
The prompt
Build me a Claude Code mod called "noted" that turns my corrections into permanent rules. What it does- When my prompt reads like a correction ("no, ...", "don't ...", "always ...", "we use X not Y", "stop doing ...", "I told you ..."), turn it into one short, general rule with a small, cheap model, e.g. "Use pnpm, not npm, in this repo."- Show a band above my prompt with the proposed rule and buttons: Save to project (./CLAUDE.md), Save globally (~/.claude/CLAUDE.md), Edit, Skip.Details
Turns your corrections into permanent rules, without duplicates.
Use it
Correct Claude the way you normally would: "no, use pnpm", "don't add comments to every line", "we use vitest, not jest", "stop adding emojis", "I told you to use tabs". Your prompt goes through untouched. A moment later a band appears above the prompt with one short, general rule:
Noted - save this as a house rule?
Use pnpm, not npm, in this repo.
[ Save to project ] [ Save globally ] [ Edit ] [ Skip ]
- Save to project appends it to
./CLAUDE.md, Save globally to~/.claude/CLAUDE.md, as a list item under a## House rulesheading (added if missing). Nothing else in the file changes. - Edit turns the rule into a text field. Press Enter to keep your wording, then save.
- Skip drops it.
- If the rule is already there (same words, or the same meaning), the band says already a rule instead of proposing it again.
- If it contradicts a rule you already have, the band shows the old rule and offers Replace old rule, which rewrites that line in place, instead of adding a contradiction.
Once the band has focus (click it, or ctrl+x tab), e edits, s skips, o dismisses a notice and d closes the /rules list. The buttons that write a file (Save, Replace old rule, Remove) have no key, and focus starts on Skip, OK or Done, so neither a stray keystroke nor Enter ever writes one. noted's lines come after any other mod's band, never in place of it, so their buttons stay in view.
/rules lists the rules noted has learned, with the file and the date each was added, in the transcript and in the band, where each one has a Remove button. /rules remove <number> removes one by its number, for surfaces without the band; it acts only when you type it, and a peer session, channel, task or plugin running it gets a refusal. Removing a rule deletes its line from the file. The /rules listing is a transcript row, so Claude reads it too.
Settings
None.
What it can touch
- Files read:
./CLAUDE.mdat the project root and~/.claude/CLAUDE.md(or$CLAUDE_CONFIG_DIR/CLAUDE.mdwhen that is set), only to find the## House ruleslist. They are read when a correction is detected, when you press a button and when you run/rules. - Files written: those two files and nothing else, and only after you press Save, Replace old rule or Remove, or run
/rules remove <number>. A file that exists but cannot be read is never written. - Environment:
CLAUDE_CONFIG_DIR,USERPROFILEandHOME(in that order), to find the global file. - Transcript: the last 600 characters of Claude's previous reply, as context for the rule.
- Model calls: one per prompt that passes a keyword pre-filter, never for other prompts. It uses the
haikualias at low effort and sends the correction (up to 600 characters), that reply tail, and up to 60 existing rules (200 characters each). That is at most about 4,000 input tokens and usually a few hundred. The existing rules, like the correction and the reply tail, are sent as quoted data the model is told not to follow, and nothing is written until you press a button. The reply is capped at 1,024 tokens, room for the model to think first, and the call at 20 seconds. A reply cut short is ignored. The call goes through the session's own client. - Store: noted's own store keeps each saved rule's text, file and date, so
/rulescan show when it was added. - Network and processes: none of its own.
Limits
- The pre-filter matches English phrasing. Corrections in other languages, and prompts over 800 characters, are not picked up.
- Only prompts you type (terminal, Remote Control, desktop app) are read. Prompts from tools, plugins, peers and schedules are ignored.
- The band draws in the terminal and the desktop app. In VS Code or on mobile, noted says once that corrections there are not captured.
/rulesworks everywhere. - The model call runs after your prompt has entered, alongside Claude's reply, so it never slows the turn. If you interrupt the turn while it runs, that suggestion may be lost.
- If the session cannot use the
haikumodel (some Bedrock, Vertex or gateway setups, refused or answered as "model not found"), noted says so once and proposes nothing. - "Same meaning" duplicates and conflicts are judged by the model, which sees the first 60 existing rules. Same-words duplicates are caught in every rule, without the model.
/ruleslists only rules saved through noted. Rules you write by hand still count for duplicates and conflicts. A rule you delete by hand drops off the list.- Claude Code reads CLAUDE.md when a session starts, so a saved rule steers Claude from the next session on. The correction you just typed is already in the current conversation.
- A CLAUDE.md that is not valid UTF-8 text is left alone, and so is one where a code fence that never closes would swallow the new rule. Line endings are kept. Removing the last rule leaves the heading in place.
- Terminal escapes and control characters are stripped from a rule before it is written, and shown as a placeholder in the band when they sit in rules you already have; those lines in your file are never touched.
Built from a prompt
This mod was built from prompts/noted.md.
Pairs well with
Follow modmyclaude for new mods: TikTok · Instagram · YouTube · X · Threads · Facebook