Start any message with # to instantly save a note to Claude Code's persistent memory — without breaking your flow to run a separate command.
# always use TypeScript strict mode for this project
That single line gets written to your memory file and applied in every future session for this project. It's a faster alternative to /memory add when you're mid-task and want to capture a decision the moment you make it.
You can drop multiple notes in one message:
# prefer named exports over default exports
# use Zod for all input validation
# never use `any` in TypeScript
Each line stacks alongside your existing memory entries, so your preferences build up naturally as you work. Claude will respect them from the next message onward.
This is especially useful when you've just agreed on an architectural pattern with Claude and want to lock it in before moving on — note it immediately rather than trusting yourself to remember later.
# use the repository pattern for all database access
# controllers should only handle HTTP — no business logic
Capture decisions as you make them — the best time to add a memory note is right when you decide something.
Log in to leave a comment.
The /btw command lets you ask quick side questions that are answered immediately but never added to the conversation history.
The --continue flag loads your most recent conversation instantly, no session ID required.
Claude Code accepts images from any clipboard source — screenshots, Slack messages, browser windows, and design mockups all paste directly into your prompt.