User Guide
Learn how to effectively use Basic Memory in your daily workflow to build rich semantic knowledge
Once you have Basic Memory installed, here’s how to make the most of it. This covers everything from creating your first notes to building a comprehensive knowledge graph.
Basic Memory Workflow
Using Basic Memory follows a natural cycle:
- Have conversations with AI assistants like Claude
- Capture knowledge in Markdown files
- Build connections between pieces of knowledge
- Reference your knowledge in future conversations
- Edit files directly when needed
- Sync changes automatically
Creating Knowledge
Through Conversations
To create knowledge during conversations with Claude:
This creates a Markdown file in your ~/basic-memory
directory with semantic markup.
Direct File Creation
You can create files directly:
- Create a new Markdown file in your
~/basic-memory
directory - Add frontmatter with title, type, and optional tags
- Structure content with observations and relations
- Save the file
- Run
basic-memory sync
if not in watch mode
Using Special Prompts
Basic Memory includes several special prompts that help you leverage your knowledge base more effectively. In apps like Claude Desktop, these prompts trigger specific tools to search and analyze your knowledge base.
Continue Conversation
Use this prompt to resume previous topics with full context:
What happens:
- Searches your knowledge base for relevant content
- Builds context from related documents
- Resumes with awareness of previous discussions
Recent Activity
See what you’ve been working on recently:
What happens:
- Retrieves recently modified documents
- Summarizes main topics and points
- Offers to continue any discussions
Search
Find specific information in your knowledge base:
What happens:
- Searches across all your documents
- Summarizes key findings
- Offers to explore specific documents
Working with Memory URLs
Basic Memory uses special memory://
URLs to reference knowledge:
URL Formats
Using Memory URLs
Reference existing knowledge in conversations:
Claude will load that specific document and any related context.
Building Knowledge Connections
Creating Relations
Use WikiLink syntax to connect knowledge:
Common Relation Types
implements
- One thing implements anotherrequires
- Dependenciesrelates_to
- General connectionspart_of
- Hierarchy relationshipsextends
- Extensions or enhancementspairs_with
- Things that work together
Adding Observations
Structure facts with semantic categories:
File Organization
Directory Structure
Best Practices
- Use descriptive filenames
- Group related content in folders
- Include dates in time-sensitive notes
- Archive old content regularly
Multi-Project Features
Project Management
Switch to my work project
basic-memory project list
You: “Add a troubleshooting section to my setup guide” Claude: [Uses edit_note to append new section]
You: “Move my old meeting notes to the archive folder”
Claude: [Uses move_note with database consistency]
Tags are searchable: "Find my brewing notes"
will find this document.
Syncing and Updates
Real-time Sync (Default)
Basic Memory automatically syncs file changes in real-time. No manual sync needed.
Manual Sync
If you prefer manual control:
Checking Status
Integration Tips
With Obsidian
- Open your
~/basic-memory
directory in Obsidian - Use graph view to see connections
- Edit files directly in Obsidian
- Changes are synced in real time. Ask the AI to read a note to see changes.
With Git
Basic Memory files are git-friendly and work well with version control.
With Other Editors
Basic Memory uses standard Markdown files that work with:
- VS Code with Markdown extensions
- Typora for rich text editing
- Any text editor for quick edits
- Web editors for remote access
Troubleshooting
Common Issues
Changes not syncing:
- Check
basic-memory status
for sync status - Restart sync with
basic-memory sync --watch
- Verify file permissions
Claude can’t find knowledge:
- Confirm files are in the correct project directory
- Check frontmatter formatting
- Try
memory://
URLs for direct references
Performance issues:
- Large knowledge bases may need optimization
- Use
basic-memory project info
to check database size - Consider archiving old content
Getting Help
Best Practices
Knowledge Creation
- Be descriptive - Use clear titles and rich content
- Add context - Include background and reasoning
- Create connections - Link related concepts
- Use categories - Structure observations semantically
- Review and refine - Edit AI-generated content for accuracy
Workflow
- Start conversations contextually - Use special prompts
- Build incrementally - Add to existing notes rather than creating duplicates
- Organize regularly - Move old content to appropriate folders
- Cross-reference - Link new content to existing knowledge
- Switch projects - Use different projects for different contexts
Long-term Maintenance
- Archive old content - Keep active knowledge base focused
- Refactor connections - Update relations as knowledge evolves
- Regular reviews - Periodically review and update key documents
- Backup regularly - Use git or other backup solutions
- Share appropriately - Use git for collaboration when needed