agentdb-query
Skill by ruvnet
Queries AgentDB through a controller bridge so an AI assistant can store, recall and search knowledge across agent sessions. It suits agent workflows that need persistent, tiered memory and causal links.
Install agentdb-query
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ruvnet/ruflo /tmp/ruflo && mkdir -p ~/.claude/skills && cp -r /tmp/ruflo/plugins/ruflo-agentdb/skills/agentdb-query ~/.claude/skills/agentdb-queryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ruvnet/ruflo /tmp/ruflo && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ruflo/plugins/ruflo-agentdb/skills/agentdb-query ~/.gemini/antigravity-cli/skills/agentdb-queryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
agentdb-query is a skill that lets an AI assistant store, recall and search knowledge in AgentDB through a controller bridge. It exposes 20 agentdb_* MCP tools, covering hierarchical storage by tier (working, episodic, semantic), pattern store and search, semantic routing, context synthesis and causal graphs.
The skill follows a standard path: check health, start a session, store and recall knowledge, search patterns, and link related items in a causal graph. Context synthesis summarizes validated task episodes rather than ordinary memories. Deletes require confirming ids with the user first. It fits workflows where agents need knowledge kept across sessions.
Written from the project's SKILL.md and checked against it.
What it can do
- Check AgentDB healthRuns agentdb_health to confirm that AgentDB is available before use.
- Start a sessionOpens an AgentDB session with agentdb_session-start when none is active.
- Store knowledge by tierSaves structured data with agentdb_hierarchical-store into working, episodic or semantic tiers.
- Recall knowledgeRetrieves stored knowledge with agentdb_hierarchical-recall using a query.
- Search learned patternsFinds learned patterns with agentdb_pattern-search, routed through ReasoningBank.
- Summarize past task outcomesUses agentdb_context-synthesize for success rate, reward and critique patterns of earlier tasks.
- Build causal graph linksLinks related knowledge with agentdb_causal-edge to form a causal graph.
- Delete recordsOffers destructive deletes via agentdb_hierarchical-delete and related tools, after confirming ids with the user.
What you need
- AgentDB MCP tools from the ruflo-core plugin
- Bash access for the optional CLI path
- npx access to @claude-flow/cli for CLI commands
Try asking
- Check whether AgentDB is available before storing anything
- Store this design decision in the semantic tier of AgentDB
- Recall what we saved about the billing service
Good to know
- Namespace strings are ignored by the hierarchical, pattern and causal-edge tools.
- Deletes are not undoable from this plugin.
- Batch operations accept up to 500 entries.
- When the bridge is unavailable, the skill falls back to memory_* tools.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/ruflo-agentdb/skills/agentdb-query/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: mcp__plugin_ruflo-core_ruflo__agentdb_semantic-route mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store mcp__plugin_ruflo-core_ruflo__agentdb_context-synthesize mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store mcp__plugin_ruflo-core_ruflo__agentdb_controllers mcp__plugin_ruflo-core_ruflo__agentdb_health mcp__plugin_ruflo-core_ruflo__agentdb_batch mcp__plugin_ruflo-core_ruflo__agentdb_feedback mcp__plugin_ruflo-core_ruflo__agentdb_consolidate mcp__plugin_ruflo-core_ruflo__agentdb_session-start mcp__plugin_ruflo-core_ruflo__agentdb_session-end Bash
-
SKILL.md5 KB
Alternatives to agentdb-query
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
agentdb-query: common questions
What is AgentDB in this skill?
The source describes AgentDB as a store with hierarchical storage, causal knowledge graphs, semantic routing and context synthesis, accessed through the controller bridge.
Why does context-synthesize return no-memories for my records?
The source says context-synthesize only summarizes validated task episodes, so ordinary records return no-memories or no-eligible-episodes. The assistant should combine those records from recall and search results instead.
Can the assistant delete AgentDB records?
Yes, through destructive delete tools. The source says to confirm the exact ids with the user first, because deletes cannot be undone from this plugin.
How do I install agentdb-query?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agentdb-query free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is agentdb-query safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agentdb-query?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
