plugins/ruflo-agentdb/skills/agentdb-query/SKILL.md
Query and manage AgentDB through the controller bridge. AgentDB exposes 15 agentdb_* MCP tools; this skill enumerates the standard usage path.
When you need to store, retrieve, or search knowledge across agent sessions. AgentDB provides hierarchical storage, causal knowledge graphs, semantic routing, and context synthesis.
mcp__claude-flow__agentdb_health. Sanity-check available: true.mcp__claude-flow__agentdb_session-start if not already active.mcp__claude-flow__agentdb_hierarchical-store for structured tier-keyed data (tiers: working|episodic|semantic).mcp__claude-flow__agentdb_hierarchical-recall with a query.mcp__claude-flow__agentdb_pattern-search for learned patterns (ReasoningBank-routed).mcp__claude-flow__agentdb_context-synthesize to combine multiple memories.mcp__claude-flow__agentdb_causal-edge to link related knowledge.Call mcp__claude-flow__agentdb_controllers to list the runtime registry. Functional categories surfaced via the 15 MCP tools:
agentdb_hierarchical-store, _recall (tier-routed)agentdb_pattern-store, _search (ReasoningBank-routed)agentdb_semantic-route, _context-synthesizeagentdb_causal-edge (graph-node backend with bridge fallback)agentdb_health, _controllers, _session-start, _session-endagentdb_batch (≤500 entries), _consolidateagentdb_feedbackNamespace 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".
controller: 'memory-store-fallback' — pattern persisted via memory_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 to memory_* tools per the README replacement table.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