| name | memory-curate |
| description | Curate the Basic Memory knowledge graph: find orphan notes and suggest links, propose typed relations, merge duplicates, audit tags and folders, and build hub notes. Use to organize, connect, and improve a knowledge base as notes accumulate. |
Memory Curate
Maintain a healthy, well-connected knowledge graph. As notes accumulate, it pays to periodically organize, link, and curate the knowledge base so isolated notes become a connected graph.
This skill curates the knowledge graph — the notes, relations, and tags that make up the knowledge base. (For hygiene on an agent's own memory files — splitting bloated files, pruning stale entries — see memory-defrag.)
When to Use
- Asked to organize, clean up, or improve the knowledge base
- Asked to find connections between notes, or what isn't linked yet
- Orphan or unlinked notes are mentioned
- Asked about duplicate or similar notes
- Asked for help with folder organization or tag consistency
- Phrases like "help me organize", "find related notes", "what's not linked", "clean up my notes"
Curation Capabilities
1. Find Orphan Notes
Orphans have no relations to other notes — they're islands in the graph.
search_notes(query="*", page_size=50)
read_note(identifier="note-to-check")
What to do with orphans:
- Suggest relations based on content similarity
- Ask whether they should connect to existing topics
- Propose hub notes to gather related orphans (see capability 6)
2. Suggest Typed Relations
Analyze a note's content and propose meaningful connections.
read_note(identifier="note-to-analyze")
search_notes(query="key terms from the note")
Suggest relations based on shared topics, complementary content (problem/solution,
question/answer), sequence (part 1 → part 2), or hierarchy (parent concept → detail).
Relation-type vocabulary:
relates_to — general topical connection
extends — builds upon or elaborates
implements — realizes a concept or spec
depends_on — requires understanding of
part_of — hierarchy or composition
contrasts_with — presents an alternative view
inspired_by — source of insight
enables — makes something possible
Custom relation types are fine — use whatever verb is descriptive.
Add a confirmed relation with edit_note:
edit_note(
identifier="API Design Decisions",
operation="append",
section="Relations",
content="- depends_on [[Rate Limiter]]",
)
3. Identify Similar / Duplicate Notes
Find notes that may cover the same ground.
search_notes(query="topic keywords")
Actions for duplicates:
- Merge into a single comprehensive note, then redirect the loser with a relation
- Link with
supersedes / updates when one revises the other
- Differentiate by adding context that clarifies each note's distinct focus
edit_note(
identifier="DB Schema v1",
operation="append",
section="Relations",
content="- updates [[DB Schema v2]]",
)
4. Folder Organization Review
list_directory(dir_name="/", depth=3)
Look for overcrowded folders, single-note folders, inconsistent naming, and notes
that belong elsewhere. Suggest grouping related notes into topic folders, adding
subfolders for large categories, and a consistent naming convention. Move misplaced
notes with move_note — the permalink stays stable, so wiki-links keep resolving.
move_note(
identifier="API Design Decisions",
destination_path="architecture/api-design-decisions.md",
)
5. Tag Consistency
search_notes(query="*", page_size=100)
Look for:
- Variant tags —
architecture vs arch; pick one and standardize
- Unused tags — present on a single note, no longer carrying weight
- Over-used generic tags — so broad they don't aid discovery
- Missing tags — relevant notes lacking an obvious tag
6. Create Index / Hub Notes
After finding a cluster of related notes, build a navigation hub.
write_note(
title="Architecture Decisions Index",
directory="indexes",
tags=["architecture", "index"],
note_type="index",
content="""# Architecture Decisions Index
A hub linking architecture-related decisions and patterns.
## Decisions
- [[Database Selection Decision]]
- [[API Design Patterns]]
- [[Authentication Architecture]]
## Patterns
- [[Repository Pattern]]
- [[Async Client Pattern]]
## Observations
- [index] Central hub for architecture knowledge #navigation
## Relations
- indexes [[Architecture]]""",
)
7. Enrich Sparse Notes
Find notes lacking structure and fill them in.
read_note(identifier="sparse-note")
If the note is missing an Observations section, suggest categories. If it has no
Relations, suggest links. If it has no tags, suggest relevant ones. If it lacks
context, suggest adding background. Apply with edit_note.
Curation Workflows
Quick Health Check
A fast overview of knowledge base status:
- Count total notes
- Identify orphan count
- List recently modified (
recent_activity)
- Check for obvious duplicates
- Report folder distribution
Deep Organization Session
Thorough review and improvement:
- Audit — catalog all notes, identify issues
- Orphans — address unlinked notes
- Relations — suggest new connections
- Duplicates — merge or differentiate similar notes
- Structure — reorganize folders if needed
- Index — create hub notes for major topics
Topic-Focused Organization
Organize around a specific subject:
- Find all notes related to the topic (
search_notes)
- Map existing relations with
build_context(url="memory://...")
- Identify gaps in the topic graph
- Suggest new notes to fill them
- Create a topic index note
Best Practices
- Work incrementally. Don't reorganize everything at once.
- Confirm before changing. Always ask before moving, merging, or editing notes.
- Preserve permalinks. Moving a note is fine; changing its permalink breaks inbound links.
- Explain suggestions. Say why a relation or merge makes sense.
- Respect the existing system. Enhance the user's organization — don't impose a new taxonomy.
- Show the graph. Use
build_context to help the user see how notes connect.
Example Conversations
User: "Help me organize my notes"
The assistant:
- Runs a health check on the knowledge base
- Reports: "You have 47 notes. I found 12 orphans and 3 potential duplicates."
- Asks: "Want to start by connecting the orphans, or review the duplicates first?"
User: "Find notes that should link to my API design note"
The assistant:
- Reads the API design note
- Searches for related content
- Suggests: "5 notes could relate —
- 'REST Best Practices' →
relates_to
- 'Authentication Flow' →
implements
- 'Rate Limiting Decision' →
extends
Should I add any of these relations?"
User: "Are there notes on similar topics?"
The assistant:
- Analyzes titles and content for clusters
- Reports: "Possible overlaps —
- 'Auth Flow' and 'Authentication Design' cover similar ground
- 'DB Schema v1' and 'DB Schema v2' likely want a
supersedes relation
Want to review either?"