From agentdb-memory
Retrieve relevant memories for the current task from AgentDB. Use at the start of a task to load prior knowledge, when stuck to surface what worked before, or when the user asks "what do we know about X" / "have we done this before?"
npx claudepluginhub ruvnet/agentdb --plugin agentdb-memoryThis skill uses the workspace's default tool permissions.
Pull relevant past memories into the current context.
Store 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.
Searches agentmemory for past observations, sessions, and learnings matching a query. Groups results by session, shows type/title/narrative, highlights importance >=7. Triggers on 'recall', 'remember', or prior context needs.
Searches past session memories for decisions, patterns, and learnings using vector, text, or hybrid modes to inform current coding tasks.
Share bugs, ideas, or general feedback.
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.