memory-notes — Claude Code skill: what it does, how to install
Guides coding agents on structuring markdown notes for Basic Memory knowledge graphs. It covers YAML metadata, categorized observations, and wiki-style note relations.
npx skills add basicmachines-co/basic-memory --skill memory-notes -a claude-codeWhat memory-notes does
The skill teaches agents the exact anatomy of notes parsed by Basic Memory. Each document starts with frontmatter containing a title and optional tags. The frontmatter title must match the top heading. Below it, the body holds context and trade-offs in plain prose. Search queries rely on this text.
Structured facts live in the observations section: - [category] text #tag. Categories are arbitrary and queryable through bm_search. Time qualifiers like @effective:YYYY-MM-DD define when a fact applies. Relative terms like yesterday remain plain text, so exact dates are mandatory. Relations form graph edges via directional links.
What it helps with
- format project notes for Basic Memory knowledge graph ingestion
- record technical decisions with explicit validity timeframes
- connect markdown files using typed wiki-link relationships
- categorize atomic facts and risks with custom bracketed tags
Example prompts for the agent
- Create a Basic Memory note documenting our database migration decisions.
- Format this meeting summary with bracketed observations and links to the auth spec.
- Add a decision observation with an effective date qualifier to the architecture note.
How to install memory-notes
1Skills CLI (Vercel)
npx skills add basicmachines-co/basic-memory --skill memory-notes -a claude-code2Manually: put the files in place
~/.claude/skills/memory-notes/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/memory-notes/
1Skills CLI (Vercel)
npx skills add basicmachines-co/basic-memory --skill memory-notes -a codex2Manually: put the files in place
.agents/skills/memory-notes/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add basicmachines-co/basic-memory --skill memory-notes -a cursor2Manually: put the files in place
.cursor/skills/memory-notes/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install basicmachines-co/basic-memory memory-notes2Manually: put the files in place
.github/skills/memory-notes/SKILL.md1Skills CLI (Vercel)
npx skills add basicmachines-co/basic-memory --skill memory-notes -a gemini-cli2Platform CLI
gemini skills install https://github.com/basicmachines-co/basic-memory --path skills/memory-notesManually: put the files in place
.devin/skills/memory-notes/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add basicmachines-co/basic-memory --skill memory-notes -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about memory-notes
How to install memory-notes in Claude Code?
Run npx skills add basicmachines-co/basic-memory --skill memory-notes -a claude-code. The skill file will be placed in ~/.claude/skills/memory-notes/SKILL.md.
What does the memory-notes skill do?
It teaches your AI agent how to write structured markdown documents for the Basic Memory graph. The rules specify how to format frontmatter, categorize atomic facts, and link notes.
How do observations handle dates and deadlines?
Observations take qualifiers such as @due:YYYY-MM-DD or @effective:YYYY-MM-DD directly after the category bracket. Relative words like "yesterday" stay as plain text and are not parsed as date filters.