/agentdb-memory:agentdb-recallfrom agentdb-memory
Retrieves relevant memories from AgentDB to load prior knowledge at task start, when stuck, or when asked about past work. Summarizes lessons from past episodes and patterns.
Ships in agentdb-memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pull relevant past memories into the current context.
| Need | Tool | Returns |
|---|---|---|
| Similar past tasks | agentdb_reflexion_recall | Episodes, top-k by similarity |
| Lessons from past failures | agentdb_critique_summary | Combined critique text |
| What worked last time | agentdb_success_strategies | Approach summaries from high-reward episodes |
| Generic patterns / facts | agentdb_pattern_search | Patterns ranked by similarity |
| Reusable skills by intent | agentdb_skill_search | Skills ranked by precondition match |
agentdb_reflexion_recall with k=5, minReward=0.5.agentdb_pattern_search with the same query, k=5.agentdb_record_feedback (or recordFeedback via the library) so the bandit learns.minReward — drop low-quality matches (default 0.3).onlyFailures — explicitly query the postmortem set when debugging.onlySuccesses — only winning approaches when copying a strategy.timeWindowDays — recent context only when the codebase has shifted.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ruvnet/agentdb --plugin agentdb-memory4 skills in this plugin
/agentdb-memory-guardScreen what goes into AgentDB memory for prompt injection with the opt-in aidefence guard (AGENTDB_INJECTION_GUARD=warn|block). Use when agents store text from untrusted sources (web pages, tool output, user uploads) into episodes, patterns or skills; when a recalled memory contains instructions; or when the user asks how to stop memory poisoning in AgentDB./agentdb-rememberStore a memory in AgentDB — an episode (task + outcome + critique), a pattern, or a skill. Use when the user says "remember this", "save this for later", "add to memory", or when the agent has just succeeded/failed at a task and the lesson is worth keeping./agentdb-Other plugins' skills for the same job