Skip to content
cccskills
FreePublished on GitHub

agentdb-query

Store and retrieve knowledge across agent sessions with AgentDB. Organize memories into tiers, search learned patterns, combine related memories into context, and record causal links to support later work.

OriginalShow the original description

Query AgentDB through the controller bridge -- semantic routing, hierarchical recall, causal graphs, context synthesis, pattern store/search

See how to install

Good for

  • Reuse knowledge from previous agent sessions
  • Store and search learned patterns
  • Combine related memories into context
  • Record causal links between pieces of knowledge

Files included (1)

  • SKILL.md4.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  1. Check health — mcp__plugin_ruflo-core_ruflo__agentdb_health. Sanity-check available: true.
  2. Start session — mcp__plugin_ruflo-core_ruflo__agentdb_session-start if not already active.
  3. Store knowledge — mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-store for structured tier-keyed data (tiers: working|episodic|semantic).
  4. Recall knowledge — mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall with a query.
  5. Search patterns — mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search for learned patterns (ReasoningBank-routed).
  6. Synthesize context — mcp__plugin_ruflo-core_ruflo__agentdb_context-synthesize to combine multiple memories.
  7. Build causal graph — mcp__plugin_ruflo-core_ruflo__agentdb_causal-edge to 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 as entity:xyz; SQL k-hop is bounded at 3 hops, check appliedDepth and truncated) and agentdb_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 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.

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

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

Compare models available through the HuggingFace router with chat-ui configuration, research missing models, and write short English descriptions of their architecture and capabilities. Add entries to both production and development configuration files and commit the changes.

  • Adding newly available router models to chat-ui
  • Writing concise descriptions of model capabilities
  • Updating production and development model entries together
ruvnet/ruflo77.1KUpdated Oct 19, 2026

adr-create

FreeSummary

Create an Architecture Decision Record, a document for recording important design choices, with the next sequential number. It generates a Markdown template, registers the record in AgentDB, and links related decisions found through search.

  • Record the reasoning behind adopting a technology
  • Start an ADR for an API or data model change
  • Document an infrastructure decision
ruvnet/ruflo77.1KUpdated Oct 19, 2026

adr-index

FreeSummary

Build a searchable index and relationship graph from ADRs, records of architectural decisions. Import two supported document formats, refresh existing metadata without duplicate relationships, and review summaries of statuses, missing references, and inconsistencies.

  • Index ADRs imported from another project
  • Refresh a graph that differs from files on disk
  • Set up ADR tracking in an existing codebase
ruvnet/ruflo77.1KUpdated Oct 19, 2026

adr-reindex

FreeSummary

Rebuild the index of ADRs, records of architectural decisions, after files or relationship lines are deleted. It clears stored records and relationships, indexes the files still present, and checks that the final record count matches.

  • Rebuild the index after deleting an ADR file
  • Remove stale relationships after editing an ADR
  • Reconcile the ADR index on a schedule
ruvnet/ruflo77.1KUpdated Oct 19, 2026

adr-review

FreeSummary

Review code changes against accepted Architecture Decision Records, documents that capture agreed design choices. Report violations, outdated references, compliant changes, and areas without ADR coverage, then suggest code fixes or a new decision record where appropriate.

  • Check a pull request before merging
  • Review major code changes against agreed design decisions
  • Find references to superseded ADRs
ruvnet/ruflo77.1KUpdated Oct 19, 2026

adr-verify

FreeSummary

Check saved architecture decision records (ADRs) for broken references, circular replacement relationships, and inconsistent statuses. Use the results to verify imported records or stop a CI check when selected integrity rules fail.

  • Checking ADR integrity after import
  • Blocking CI when ADR issues are found
  • Reviewing ADR data before a release
ruvnet/ruflo77.1KUpdated Oct 19, 2026

See all skills by ruvnet

Report a problem with this skill