| name | garde |
| description | Search and retrieve context from past Claude sessions. Triggers on 'search memory', 'find past sessions', 'what did we learn about', 'have we done this before', 'what did we decide about', 'what did I work on yesterday', 'remind me what we did', or when disoriented about past work ("I'm lost", "where were we?"). (user) |
| allowed-tools | ["Bash(garde:*)","Read"] |
| requires | [{"cli":"garde","check":"garde --version"}] |
Reference Files Quick Index
When you need...
- Full CLI reference →
references/COMMANDS.md
- Search workflow patterns →
references/WORKFLOWS.md
- Troubleshooting →
references/TROUBLESHOOTING.md
Read SKILL.md first, then load specific references as needed.
Memory Primitives
Search and retrieve context from past Claude sessions.
When to Use
Automatic triggers:
- User asks about past work: "What did we decide...", "Have we done this before...", "When did we..."
- Daily recap requests: "What did I work on yesterday?", "Remind me what we did"
- User seems confused about context: "Didn't we already...", "I thought we..."
- Starting work on a topic with likely history
When NOT to Use
- Simple question-answering (no history needed)
- Work with clear handoff context already loaded
- Greenfield projects with no session history
- Single-session tasks with no prior context
Core Primitives
All commands require uv run from ~/Repos/garde-manger:
1. Search
uv run garde search "query"
uv run garde search "query" --type X
uv run garde search "query" --project .
uv run garde search "query" -n 20
Source types: claude_code, handoff, claude_ai, cloud_session
2. Drill (Progressive Disclosure)
uv run garde drill <id>
uv run garde drill <id> --outline
uv run garde drill <id> --turn N
uv run garde drill <id> --full
3. Recent
uv run garde recent
uv run garde recent --all
uv run garde recent --days 14
uv run garde recent --all --by-project
Daily recap pattern: --all --by-project shows "infra-openwrt (8 sessions)" style summary — useful for "what did I work on yesterday?"
4. Status
uv run garde status
Progressive Disclosure Pattern
The unfolding label: Don't load full conversations immediately.
Search → Find relevant sources by keyword
↓
Triage → Read extraction summaries (arc, learnings, builds)
↓
Drill → Only load full content if extraction isn't enough
Extraction summaries include:
- Arc: Started → Turns → Ended (conversation shape)
- Builds: What was created
- Learnings: Insights with "why it matters"
- Patterns: Reusable approaches discovered
- Open threads: Unfinished work
The extraction is decision support for whether to drill deeper—not a replacement for full context when details matter.
Feedback: Filing Issues
When encountering problems with memory search or quality, file a structured bead. This helps improve the system.
When to File (Without Asking User)
- Search returning wrong/no results for known content
- Extraction missing key learnings or builds
- CLI errors or crashes
- Skill not triggering on expected phrases
Structured Templates
Search issues:
bon new "memory: search not finding [topic]" \
--why "Query '[query]' should find [expected] but returns [actual]" \
--what "Investigate FTS indexing for the missing content" \
--done "Query returns expected results"
Extraction quality:
bon new "memory: extraction missing [type]" \
--why "Source [id] missing [learnings/builds/arc]" \
--what "Check extraction pipeline for source [id]" \
--done "Missing extractions are captured"
CLI bugs:
bon new "memory: [brief error]" \
--why "[Error message] when running [command]" \
--what "Debug and fix the CLI error" \
--done "Command runs without error"
Skill discovery:
bon new "memory: skill not triggering on '[phrase]'" \
--why "Expected memory skill on '[phrase]' but didn't trigger" \
--what "Add trigger phrase to skill description" \
--done "Skill triggers on '[phrase]'"
Anti-Patterns
| Anti-Pattern | Problem | Fix |
|---|
| Loading full content first | Token waste, slow | Use progressive disclosure |
| Searching without type filter | Noisy results | Add --type for precision |
| Ignoring extraction summary | Missing the "unfolding label" | Check arc/learnings first |
| Filing vague bug reports | Hard to reproduce | Use structured templates above |
| Searching after handoff loaded | Already have context | Check handoff/bon first |
Integration Points
Consumed by:
/open command → can check recent activity
Depends on:
garde CLI installed (via uv run garde from ~/Repos/garde-manger)
- Database populated (
garde scan has been run)
- API key for extraction (
~/.claude/memory/env)
Quick Reference
| Task | Command |
|---|
| Search all sources | uv run garde search "query" |
| Search current project | uv run garde search "query" --project . |
| Recent activity | uv run garde recent |
| Daily recap (by project) | uv run garde recent --all --by-project --days 1 |
| View extraction | uv run garde drill <id> |
| View specific turn | uv run garde drill <id> --turn N |
| Check coverage | uv run garde status |
For detailed CLI reference: See references/COMMANDS.md