greppable/greppable-cc-plugin/traversing-gdlm-memory
Claude Code and agent skill by greppable/greppable-cc-plugin
- community
Checking that the SKILL.md file is still in the repository.
Use when agent memory from prior sessions could inform current work — choosing between alternatives when past decisions exist, investigating why something was built a certain way, or checking if a problem was already solved. Triggers on: \"what did we decide about X\", \"why did we choose Y\", \"what do we know about Z\", references to past session work (\"last time\", \"before\", \"we decided\"), recording decisions/observations/errors, correcting memories, following supersedes chains, concept anchors, or any .gdlm file operation. NOT for general \"remember my preferences\", git log/blame searches, episodic conversation memory, PR comment reviews, or meeting notes in docs/.
Install
npx vskill@latest install greppable/greppable-cc-plugin/traversing-gdlm-memorySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as greppable/greppable-cc-plugin/traversing-gdlm-memory.
Memory Quick Reference
Available Memory Files
!bash -c 'find docs/gdl/memory/active -name "*.gdlm" -maxdepth 1 2>/dev/null | while read f; do count=$(grep -c "^@memory" "$f" 2>/dev/null || echo 0); echo "- $(basename "$f"): $count records"; done'
Format
Each memory is one line. Each field is self-describing (key:value). Latest timestamp wins for corrections.
Required Fields
| Field | Description | |
|---|---|---|
id | M-{agent}-{seq} unique identifier | |
agent | Agent that authored the memory | |
subject | Primary topic (flat) | |
detail | The knowledge content | |
ts | ISO timestamp |
Optional Fields
| Field | Description | |
|---|---|---|
tags | Comma-separated retrieval tags | |
confidence | high, medium, low | |
relates | Links to other memory IDs (typed: supersedes~M-001) | |
type | observation, decision, preference, error, fact, task, procedural | |
anchor | Concept anchor reference | |
status | corrected, deleted, compacted |
Three Tiers
| Tier | Path | Purpose | |
|---|---|---|---|
| Active | memory/active/*.gdlm | Current working memory (read/write) | |
| Archive | memory/archive/*.gdlm | Compacted summaries (read-only) | |
| History | memory/history/{period}/*.gdlm | Full originals (forensic only) |
Concept Anchors
Two-grep similarity search via memory/anchors.gdlm:
Grep Patterns
Graph Traversal
Source the helpers: source "${CLAUDE_PLUGIN_ROOT}/scripts/gdlm-tools.sh"
| Helper | Purpose | Example | |
|---|---|---|---|
gdlm_get | Fetch memory by ID | gdlm_get M-sf-042-018 | |
gdlm_outbound | What does X relate to? | gdlm_outbound M-001 supersedes | |
gdlm_inbound | What points TO X? | gdlm_inbound M-001 caused_by | |
gdlm_follow | Follow chain N hops | gdlm_follow M-ERR-001 caused_by 5 | |
gdlm_chain | Follow to end | gdlm_chain M-001 supersedes | |
gdlm_filter | Filter by type + keyword | gdlm_filter decision auth |
Relationship Types
| Type | Meaning | |
|---|---|---|
supersedes | This replaces that | |
caused_by | This happened because of that | |
supports | This evidence backs that claim | |
contradicts | This conflicts with that | |
refines | This adds detail to that |
Writing Memories
Corrections
Append new record with same ID. Latest timestamp wins:
Deletions
Append with status:deleted:
Key Rules
- Each line is a complete, self-describing record
grep "key:value"directly answers queries - no context lines needed- Active tier is the primary query target; search archive when active is insufficient
- Concept anchors enable similarity search in exactly two grep calls
- Latest timestamp always wins for corrections
- Include
anchorfield when writing to enable concept-based retrieval
Query Cookbook
Common queries translated to commands:
| Question | Command | |||
|---|---|---|---|---|
| "Auth decisions last month" | `grep "type:decision" *.gdlm \ | grep "anchor:auth-security" \ | grep "2026-01"` | |
| "What superseded M-001?" | gdlm_inbound M-001 supersedes | |||
| "Current version of M-001" | gdlm_chain M-001 supersedes | |||
| "Why did this error happen?" | gdlm_follow M-ERR-001 caused_by 5 | |||
| "How important is M-001?" | `gdlm_inbound M-001 \ | wc -l` | ||
| "All procedural knowledge" | gdlm_filter procedural | |||
| "Decisions about deployment" | gdlm_filter decision deploy | |||
| "High-confidence facts" | `grep "type:fact" *.gdlm \ | grep "confidence:high"` |
Tooling Recipes
Generate Memory Records
Auto-increments the ID from the max sequence in the file. --append writes directly with flock-based locking.
Time Travel — Compare memory across git history
Validate Memory Files
Checks required fields (id, agent, ts), M-{agent}-{seq} ID format, and duplicate IDs.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/traversing-gdlm-memory/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/greppable/greppable-cc-plugin/traversing-gdlm-memory)