AgentDB Advanced Features
A reference skill that teaches Claude AgentDB's advanced side: QUIC sync, hybrid vector+metadata search, multi-DB sharding, MMR and production patterns.
What it does
Gives Claude a working reference for advanced AgentDB usage (the reasoningbank adapter shipped with agentic-flow).
- QUIC synchronization: enable
enableQUICSync, declaresyncPeers, tune port/interval/batch/retries/compression, plus env-var commands for a 3-node deployment - Distance metrics: cosine vs euclidean vs dot (formula, range, best use cases) and a custom weighted-distance example
- Hybrid search: vector similarity combined with metadata filters (
$gte,$lte,$in,$contains) and vector/metadata score weighting - Multi-database & sharding: separate DBs per domain and a shard routing helper
- MMR diversification, context synthesis, connection pooling, error-code handling, latency/stats monitoring, CLI export/import/merge/reindex, VACUUM/ANALYZE, troubleshooting
Who it's for
- Node.js/TypeScript developers building agent memory on agentic-flow / AgentDB
- Teams sharing memory across multiple agents or server nodes
- Anyone tuning vector search quality (filters, result diversity)
Example uses
- "Sync AgentDB patterns across three servers with sub-ms latency" → generates peer/port config and per-node launch commands
- "Search only ML papers from 2023+ with 50+ citations" → produces
retrieveWithReasoningwith metadata filters - "My recommendations are all near-duplicates" → guides
useMMRandmmrLambdatuning
Prerequisites: Node.js 18+, AgentDB v1.0.7+, and basic familiarity with distributed systems and vector search.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/spencermarx/open-code-review/HEAD/.claude/skills/agentdb-advanced/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .claude/skills/agentdb-advanced folder from the GitHub repo spencermarx/open-code-review into my ~/.claude/skills/agentdb-advanced-features/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/spencermarx/open-code-review.git && mkdir -p ~/.claude/skills && cp -r open-code-review/.claude/skills/agentdb-advanced ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/spencermarx/open-code-review.git - Create the Claude Code skills folder:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r open-code-review/.claude/skills/agentdb-advanced ~/.claude/skills/ - Prepare AgentDB in your project: confirm Node.js 18+ and run
npm i agentic-flow(verify the CLI withnpx agentdb@latest --help) - Add the env vars you need to
.env, e.g.AGENTDB_PATH=.agentdb/reasoningbank.dbandAGENTDB_ENABLED=true - Restart Claude Code and ask something like "set up QUIC sync for AgentDB" to confirm the skill loads.