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:
You: We've covered several authentication approaches. Could you create a note summarizing what we've discussed?
Claude: I'll create a note summarizing our authentication discussion.
This creates a Markdown file in your ~/basic-memory
directory with semantic markup.
You can store your knowledge at any location you want. ~/basic-memory
is the default project location. See Choosing Where Your Notes Are Saved for more information.
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
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:
"Let's continue our conversation about [topic]"
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 have we been discussing 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:
"Find information about [topic]"
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
memory://title # Reference by title
memory://folder/title # Reference by folder and title
memory://permalink # Reference by permalink
memory://path/relation_type/* # Follow all relations of type
memory://path/*/target # Find entities with relations to target
Using Memory URLs
Reference existing knowledge in conversations:
You: "Take a look at memory://coffee-brewing-methods and let's discuss improvements"
Claude will load that specific document and any related context.
Building Knowledge Connections
Creating Relations
Use WikiLink syntax to connect knowledge:
- implements [[Authentication System]]
- requires [[Database Schema]]
- relates_to [[Security Guidelines]]
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:
- [decision] We chose JWT tokens for stateless auth
- [requirement] Must support 2FA for sensitive operations
- [technique] Use bcrypt for password hashing
- [issue] Rate limiting needed for login attempts
File Organization
Directory Structure
~/basic-memory/
├── projects/ # Project-specific notes
├── decisions/ # Decision records
├── learning/ # Learning notes and research
├── meetings/ # Meeting notes
└── archive/ # Archived content
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
# Create new project
basic-memory project add work ~/work-notes
# Switch projects instantly during conversations
# You can say: "Switch to my work project"
# List all projects
basic-memory project list
Moving notes from one project to another is not currently supported. The easiest thing to do is to either move the note yourself or write a new note, then delete the old note.
Enhanced Editing
Incremental editing instead of rewriting:
You: "Add a troubleshooting section to my setup guide"
Claude: [Uses edit_note to append new section]
Smart file organization:
You: "Move my old meeting notes to the archive folder"
Claude: [Uses move_note with database consistency]
Enhanced Search
Search now includes frontmatter tags:
---
title: Coffee Notes
tags: [brewing, equipment, techniques]
---
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.
Checking Status
# View sync status
basic-memory status
# View project information
basic-memory project info
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
cd ~/basic-memory
git init
git add .
git commit -m "Initial knowledge base"
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 - Verify file permissions
- Reset the database with
basic-memory reset
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
Live help is available on our Discord server in the #help channel. You can also find past conversations of people who may have encountered a problem similar to yours.
# View all available commands
basic-memory --help
# Get help for specific commands
basic-memory sync --help
basic-memory project --help
Best Practices
Knowledge Creation
- Create Relations - Link related concepts
- Make Observations - Structure facts with semantic categories
- Create an AI Assistant Guide - AI assistants can be guided through a reference note
- Be descriptive - Use clear titles and rich content
- Add context - Include background and reasoning
- Use categories - Structure observations semantically
- Review and refine - Edit AI-generated content for accuracy
Workflow
- Use Special Prompts - Start conversations contextually
- 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 and to create boundaries
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