Skip to content
cccskills
FreePublished on GitHub

agentdb-recall

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?"

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Recall

Pull relevant past memories into the current context.

When to use

  • Task start — auto-load any prior episodes / patterns / skills that look relevant
  • When stuck — search for past failures + critiques on similar tasks
  • User asks — "have we done this?", "what do we know about X?"
  • Decision point — surface successful strategies before committing to one

Pick the right tool

NeedToolReturns
Similar past tasksagentdb_reflexion_recallEpisodes, top-k by similarity
Lessons from past failuresagentdb_critique_summaryCombined critique text
What worked last timeagentdb_success_strategiesApproach summaries from high-reward episodes
Generic patterns / factsagentdb_pattern_searchPatterns ranked by similarity
Reusable skills by intentagentdb_skill_searchSkills ranked by precondition match

Standard recall flow at task start

  1. Embed the current task description.
  2. Call agentdb_reflexion_recall with k=5, minReward=0.5.
  3. Call agentdb_pattern_search with the same query, k=5.
  4. Dedupe + rank — present the top 3-5 to the user as "things I found that look relevant."
  5. If user-confirmed useful: call agentdb_record_feedback (or recordFeedback via the library) so the bandit learns.

Filters worth knowing

  • 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.

Don't

  • Don't dump all 50 hits — pick 3-5. Cognitive overload tanks quality.
  • Don't recall and ignore. If you used a memory, record feedback. If you didn't, record negative feedback. The bandit needs the signal.
  • Don't recall episode content verbatim into prompts when the task changes. Summarize the lesson, not the artifact.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.

The English summary is being prepared. Showing the original description.

ruvnet/agentdb94Updated Oct 12, 2026

Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.

The English summary is being prepared. Showing the original description.

ruvnet/agentdb94Updated Oct 12, 2026

Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.

The English summary is being prepared. Showing the original description.

ruvnet/agentdb94Updated Oct 12, 2026

Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.

The English summary is being prepared. Showing the original description.

ruvnet/agentdb94Updated Oct 12, 2026

Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.

The English summary is being prepared. Showing the original description.

ruvnet/agentdb94Updated Oct 12, 2026

Walk the causal graph in AgentDB to explain why two memories are connected, or trace a root cause. Use when the user asks "why did X happen", "what led to Y", or after an incident.

The English summary is being prepared. Showing the original description.

ruvnet/agentdb94Updated Oct 12, 2026

See all skills by ruvnet

Report a problem with this skill