agentdb-query
- Repo stars 54,444
- Author repo ruflo
AgentDB Query
Query and manage AgentDB through the controller bridge. AgentDB exposes 15 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__claude-flow__agentdb_health. Sanity-checkavailable: true. - Start session —
mcp__claude-flow__agentdb_session-startif not already active. - Store knowledge —
mcp__claude-flow__agentdb_hierarchical-storefor structured tier-keyed data (tiers:working|episodic|semantic). - Recall knowledge —
mcp__claude-flow__agentdb_hierarchical-recallwith a query. - Search patterns —
mcp__claude-flow__agentdb_pattern-searchfor learned patterns (ReasoningBank-routed). - Synthesize context —
mcp__claude-flow__agentdb_context-synthesizeto combine multiple memories. - Build causal graph —
mcp__claude-flow__agentdb_causal-edgeto link related knowledge.
Available controller groups
Call mcp__claude-flow__agentdb_controllers to list the runtime registry. Functional categories surfaced via the 15 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
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- Fluxly category
- AI
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @ruvnet · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- macOS · Linux · Windows
- Runtime requirements
- Node.js
- Detected file/system behavior
-
- Read-only
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. When you need to store, retrieve, or search knowledge across agent sessions. AgentDB provides hierarchical storage, causal knowledge graphs, semantic routing, and context synthesis.
Check health — mcpclaude-flowagentdbhealth. Sanity-check available: true. Start session — mcpclaude-flowagentdbsession-start if not already active. Store knowledge — mcpclaude-flowagentdbhierarchical-store for structured tier-keyed data (tiers:…
Call mcpclaude-flowagentdbcontrollers to list the runtime registry. Functional categories surfaced via the 15 MCP tools: Hierarchical — agentdbhierarchical-store, recall (tier-routed) Pattern — agentdbpattern-store, search (ReasoningBank-routed)
Namespace strings apply to memory and embeddingssearch only. The agentdbhierarchical-, agentdbpattern-, and agentdbcausal-edge tools route by tier or controller, not namespace. Don't pass namespace: 'foo' to those tools — it will be silently ignored. See…
controller: 'memory-store-fallback' — pattern persisted via memorystore --namespace pattern. NOT a failure. graphNodeBackend: true — causal-edge handled by @ruvector/graph-node. success: false, error: '...Use memorystore/memorysearch instead.' — bridge…
CLI alternative
# AgentDB Query
Query and manage AgentDB through the controller bridge. AgentDB exposes 15 `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
1. **Check health** — `mcp__claude-flow__agentdb_health`. Sanity-check `available: true`.
2. **Start session** — `mcp__claude-flow__agentdb_session-start` if not already active.
3. **Store knowledge** — `mcp__claude-flow__agentdb_hierarchical-store` for structured tier-keyed data (tiers: `working|episodic|semantic`).
4. **Recall knowledge** — `mcp__claude-flow__agentdb_hierarchical-recall` with a query.
5. **Search patterns** — `mcp__claude-flow__agentdb_pattern-search` for learned patterns (ReasoningBank-routed).
6. **Synthesize context** — `mcp__claude-flow__agentdb_context-synthesize` to combine multiple memories.
7. **Build causal graph** — `mcp__claude-flow__agentdb_causal-edge` to link related knowledge.
## Available controller groups
Call `mcp__claude-flow__agentdb_controllers` to list the runtime registry. Functional categories surfaced via the 15 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`
## Important: namespace handling
… Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> When to use → Steps → Available controller groups → Important: namespace handling → Operational fallbacks (branch on these) → CLI alternative
terms -> Check health · Start session · Store knowledge · Recall knowledge · Search patterns · Synthesize context · Build causal graph · Hierarchical
files/cmd -> agentdb · mcpclaude-flowagentdbhealth · available: true · mcpclaude-flowagentdbsession-start · mcpclaude-flowagentdbhierarchical-store · working|episodic|semantic · mcpclaude-flowagentdbhierarchical-recall · mcpclaude-flowagentdbpattern-search
body sha256 -> 72f5f3035f1f
Decide Fit First
Design Intent
How To Use It
Boundaries And Review