agentdb-query
できること
このスキルは、知識を階層に保ち、関連する事実をつなぐ記憶ストアであるAgentDBを、エージェントに使わせます。作業のセッションをまたいで、エージェントに情報を覚えて思い出させたい人のためのものです。
使う場面
- ✓後のセッションで思い出せるように、知識を保存したいとき。
- ✓以前のタスクで学んだパターンを見つけたいとき。
- ✓関連する事実を、知識グラフとしてつなげたいとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agentdb/skills/agentdb-query/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“週次のリリースにするという私たちの決定を保存し、次のスプリントを計画するときに思い出してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、AgentDBが使えるかを確認し、セッションを開始し、事実を作業、エピソード、意味の階層に保存し、求められたら検索やつなぎを行います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
記憶の階層は何ですか?
スキルは、知識を保存するために作業、エピソード、意味の階層を挙げています。
因果のグラフとは何ですか?
どの事実が互いに関係しているか、またはどの事実につながるかを示す、事実同士のつながりの集まりです。
ストアが動いているかを確認しますか?
はい。最初の手順は、AgentDBが使えることを確認する健康チェックです。
詳細
作者による元の説明
Query AgentDB through the controller bridge -- semantic routing, hierarchical recall, causal graphs, context synthesis, pattern store/search
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1561
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
clickhouse-io
280kエージェントがClickHouseデータベースのクエリとスキーマを最適化できるようにします。高性能な分析処理向けのベストプラクティスを適用します。分析クエリが遅すぎるときに使います。
scientific-db-pubmed-database
280kエージェントが生物医学分野の科学論文を検索するのに役立ちます。特定の医療情報が必要な研究に便利です。