Claude Code Notes: Reduce Repetitive Workspace Work
In this article
Connecting Claude Code to your notes lets you turn scattered documentation, meeting notes, and code comments into context that Claude can use automatically. Instead of re-pasting the same project conventions, API details, or setup instructions into every session, you point Claude at your notes once and it pulls the relevant pieces when needed. This guide walks you through linking Claude Code to a notes folder and setting up a workflow that cuts down on repetitive typing and context-switching.
What You'll Need
- Claude Code installed and authenticated (run
claudein your terminal to verify). - A notes directory—either local (e.g.,
~/notes) or a synced folder like Obsidian vault or Notion export. - Basic familiarity with the command line and editing files in your project.
- Optional: a Git repository for your notes if you want version history.
Step-by-Step
- Create a notes folder for your project. Inside your project directory, run
mkdir .claude-notes(or use a shared folder like~/notes/project-nameif you prefer notes to live outside the repo). This keeps project-specific notes close to the code. - Add a CLAUDE.md file. Claude Code automatically reads a file named
CLAUDE.mdin the project root. Create it and add a line like:Always check .claude-notes/ for relevant context before answering.This tells Claude to look at your notes. - Write your notes in Markdown. Use clear headings and bullet points. For example, create
.claude-notes/conventions.mdwith your coding style,.claude-notes/api.mdwith endpoint details, and.claude-notes/setup.mdwith build commands. - Reference notes explicitly in prompts. When you start a session, say: "Read .claude-notes/conventions.md and follow those rules when writing code." Claude will load the file and use it as context.
- Use the /memory command (if available). In Claude Code, type
/memoryto see what persistent context is loaded. You can add a note like "Project conventions are in .claude-notes/conventions.md—always consult them." This makes the instruction persist across sessions. - Automate with a script (optional). Create a shell script that copies or symlinks your notes into the project before starting Claude. For example,
ln -s ~/notes/project .claude-noteskeeps notes in sync without manual copying. - Update notes as you learn. When you discover a new convention or fix a tricky bug, append a note. Over time, Claude will have richer context, reducing the need to re-explain things.
- Test with a fresh session. Close Claude Code, reopen it in the project, and ask a question that depends on your notes (e.g., "What's the naming convention for components?"). If Claude answers correctly, the connection works.
Common Mistakes
- Putting notes in a subfolder without telling Claude. Claude won't scan your entire filesystem; you must reference the folder in CLAUDE.md or your prompt.
- Using non-Markdown formats. Claude reads plain text best. PDFs or Word docs may not be parsed correctly unless you convert them first.
- Overloading CLAUDE.md. If you dump all notes into CLAUDE.md, it becomes too long and Claude may ignore parts. Keep it short and point to external files.
- Forgetting to update notes. Stale notes mislead Claude. Make it a habit to edit notes when something changes.
- Symlinking without checking. If the target doesn't exist, Claude will see a broken link. Verify the symlink works before relying on it.
Tips
- Use a consistent naming convention like
conventions.md,api.md,troubleshooting.mdso you and Claude know what to expect. - Keep notes concise. Claude has a context window; too much text can push out important code. Aim for bullet points over paragraphs.
- Leverage the @-mention feature. In Claude Code, you can type
@.claude-notes/conventions.mdto attach a specific file to your message, making it explicit and immediate. - Use Git for your notes. This lets you roll back if a note becomes incorrect.
- Create a template. Start with a boilerplate notes structure for new projects so you don't have to recreate it each time.
Troubleshooting
- Claude doesn't see the notes. Check that the file path is correct and that you're in the right working directory. Run
ls .claude-notesto verify. If using symlinks, ensure the target exists. - Claude reads the notes but ignores them. Your instruction may be too vague. Be specific: "Follow the naming rules in .claude-notes/conventions.md exactly."
- Notes are too long and Claude truncates them. Split large notes into smaller files and reference only the relevant one per request.
- CLAUDE.md isn't being picked up. Make sure the file is in the project root (where you run
claude), not in a subfolder. Also check for typos in the filename. - Changes to notes aren't reflected. Claude may cache context. Restart the session or use
/clearto reset.
Frequently Asked Questions
Can I use a notes app like Obsidian or Notion?
Yes, as long as you can export or access the notes as plain text files. Obsidian vaults are just Markdown files, so you can point Claude to the vault folder. For Notion, export to Markdown and keep a local copy.
Will Claude read all my notes automatically?
No, not unless you tell it to. You need to reference the folder or specific files in your prompt or CLAUDE.md. Claude won't scan your entire filesystem by default.
Does this work with multiple projects?
Yes. Keep a separate notes folder per project, or use a shared folder with subdirectories. In CLAUDE.md, you can specify which subfolder to use for that project.
What if my notes contain sensitive information?
Be careful. Claude Code sends the context to Anthropic's API. Avoid putting passwords, API keys, or personal data in notes unless you're comfortable with that. Use environment variables for secrets instead.
Can I use this with a remote repository?
Yes. If your notes are in a Git repo, clone it locally and symlink or copy the folder into your project. This also gives you version control.
How often should I update my notes?
Whenever something changes—new conventions, updated APIs, or fixes. The more current your notes, the less you'll have to repeat yourself to Claude.