agentdb-query
What it does
This skill guides an agent to use AgentDB, a memory store that keeps knowledge in tiers and links related facts. It is for people who want their agents to remember and recall information across work sessions.
When to use it
- βWhen you want knowledge saved so it can be recalled in later sessions.
- βWhen you need to find learned patterns from earlier tasks.
- βWhen you want related facts linked together as a knowledge graph.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agentdb/skills/agentdb-query/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βStore our decision to use weekly releases, then recall it when we plan the next sprint.β
5 new skills a week. 1 minute to read.
How it works
The agent checks that AgentDB is available, starts a session, saves facts in working, episodic or semantic tiers, and searches or links them when asked.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
AgentDB Query
Query and manage AgentDB through the controller bridge. AgentDB exposes 20 agentdb_* MCP tools; this skill enumerates the standard usage path.
When to use
When you need to store, retrieve, or search knowledge across agent sessions. AgentDB provides hierarchical storage, causal knowledge graphs, semantic routing, and context synthesis.
Steps
- Check health β
mcp__plugin_ruflo-core_ruflo__agentdb_health. Sanity-checkavailable: true. - Start session β
mcp__plugin_ruflo-core_ruflo__agentdb_session-startif not already active. - Store knowledge β
mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-storefor structured tier-keyed data (tiers:working|episodic|semantic). - Recall knowledge β
mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recallwith a query. - Search patterns β
mcp__plugin_ruflo-core_ruflo__agentdb_pattern-searchfor learned patterns (ReasoningBank-routed). - Synthesize context β
mcp__plugin_ruflo-core_ruflo__agentdb_context-synthesizeto combine multiple memories. - Build causal graph β
mcp__plugin_ruflo-core_ruflo__agentdb_causal-edgeto link related knowledge.
Available controller groups
Call mcp__plugin_ruflo-core_ruflo__agentdb_controllers to list the runtime registry. Functional categories surfaced via the 20 MCP tools:
- Hierarchical β
agentdb_hierarchical-store,_recall(tier-routed) - Pattern β
agentdb_pattern-store,_search(ReasoningBank-routed) - Semantic β
agentdb_semantic-route,_context-synthesize - Causal β
agentdb_causal-edge(graph-node backend with bridge fallback) - Lifecycle β
agentdb_health,_controllers,_session-start,_session-end - Bulk β
agentdb_batch(β€500 entries),_consolidate - Quality β
agentdb_feedback - Graph reads β
agentdb_graph-query(k-hop / semantic / pagerank from a domain-prefixed node id such asentity:xyz; SQL k-hop is bounded at 3 hops, checkappliedDepthandtruncated) andagentdb_graph-pathfinder - Deletes (destructive) β
agentdb_hierarchical-delete,agentdb_causal-edge-delete,agentdb_causal-node-delete. Confirm the exact ids with the user before calling; they are not undoable from this plugin.
Important: namespace handling
Namespace strings apply to memory_* and embeddings_search only. The agentdb_hierarchical-*, agentdb_pattern-*, and agentdb_causal-edge tools route by tier or controller, not namespace. Don't pass namespace: 'foo' to those tools β it will be silently ignored. See plugin README "Namespace convention".
Operational fallbacks (branch on these)
controller: 'memory-store-fallback'β pattern persisted viamemory_store --namespace pattern. NOT a failure._graphNodeBackend: trueβ causal-edge handled by@ruvector/graph-node.success: false, error: '...Use memory_store/memory_search instead.'β bridge unavailable; switch tomemory_*tools per the README replacement table.
CLI alternative
npx @claude-flow/cli@latest memory search --query "your query" --namespace patterns
npx @claude-flow/cli@latest memory store --key "key" --value "value" --namespace patterns
npx @claude-flow/cli@latest memory list --namespace patterns
FAQ
What are the memory tiers?
The skill lists working, episodic and semantic tiers for storing knowledge.
What is a causal graph?
It is a set of links between facts that shows which ones relate or lead to others.
Does it check that the store is running?
Yes. The first step is a health check that confirms AgentDB is available.
Details
Original description by the author
Query AgentDB through the controller bridge -- semantic routing, hierarchical recall, causal graphs, context synthesis, pattern store/search
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1561
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.