CLAUDE.md files are automatically loaded by the Claude Agent SDK when a conversation starts. NanoClaw Pro organizes these files in a three-level hierarchy:
Location:groups/CLAUDE.mdRead by: All groupsWritten by: Main channel onlyPurpose: Store facts, preferences, and context that apply across all conversations.Example:
# Global Memory## About Me- Name: Sarah- Timezone: America/New_York- Writing style: lowercase, casual, no em dashes## Preferences- Prefers morning check-ins at 7am (not 9am)- Likes detailed technical explanations- Uses Obsidian for note-taking## Current Projects- Building NanoClaw Pro documentation- Learning TypeScript and container orchestration
Only the main channel can write to global memory. Other groups can read it but cannot modify it.
Location:groups/{group-name}/CLAUDE.mdRead by: That group onlyWritten by: That group onlyPurpose: Store group-specific context, conversation patterns, and ongoing work.Example for a Dev Team group:
# Dev Team Context## Team Members- Alice (lead), Bob (backend), Carol (frontend)## Active Tasks- Deploying v2.0 to production (Alice leading)- Investigating Redis performance issue (Bob)- Redesigning dashboard UI (Carol)## Conventions- Use this group for technical discussions only- Post deployment updates here- Code reviews happen in GitHub, not here
Location:groups/{group-name}/*.mdRead by: That group only (available in working directory)Written by: That group onlyPurpose: Detailed notes, research, meeting logs, project documentation.Example files:
From within conversations:The agent automatically searches memory before check-ins:
// From .claude/skills/proactive-agent/SKILL.md:86"2. Search memory: QMD_DIR=~/.qmd ~/.local/bin/qmd search 'working on'"
Manually from command line:
# Search for information about current projectsQMD_DIR=~/.qmd ~/.local/bin/qmd search "current projects"# Find notes about a specific personQMD_DIR=~/.qmd ~/.local/bin/qmd search "Alice"# Find deadline-related notesQMD_DIR=~/.qmd ~/.local/bin/qmd search "deadline friday"
Every morning check-in searches memory to personalize questions:
// From .claude/skills/proactive-agent/SKILL.md:821. Read ~/memory/context/profile.md for context2. Search memory: QMD_DIR=~/.qmd ~/.local/bin/qmd search "working on"3. Send a morning check-in adapted based on memory
Instead of a generic “what are you working on?”, you might get:
gm! three questions:1. how did the website redesign go yesterday?2. still focusing on the dark mode feature today?3. what's one thing you're grateful for?
qmd makes check-ins feel personalized because they reference your actual projects and context.
@Andy remember globally: team prefers async communication over meetings
This appends to groups/CLAUDE.md.Updating group memory:
@Andy remember: Alice is leading the v2.0 deployment
This appends to groups/{current-group}/CLAUDE.md.Creating notes:
@Andy create a note called "meeting-notes.md" with these highlights:- Decided to use TypeScript for the new service- Alice will lead code review process- Deadline is Friday
This creates groups/{current-group}/meeting-notes.md.