AgentDB Performance Optimization

AgentDB Performance Optimization is a skill for Claude Code from amangit1314/repo-rag. It costs 53 tokens per session (3,268 once invoked), scanned A, original, no licence file.

A set of techniques for making AgentDB handle vector data more efficiently. It covers reducing memory use, speeding up searches, caching results, and processing items in batches.

In plain words
What is it for?
Use it to optimize AgentDB for larger collections, faster similarity searches, and lower memory consumption.
Why use it?
It addresses slow searches and high memory use when an AI application stores and searches many vectors.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to optimize AgentDB for larger collections, faster similarity searches, and lower memory consumption.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amangit1314/repo-rag/agentdb-optimization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add amangit1314/repo-rag --skill agentdb-optimization
Clone the repo
git clone --depth 1 https://github.com/amangit1314/repo-rag

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for AgentDB Performance Optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/amangit1314/repo-rag/agentdb-optimization/github.svg)](https://agentmods.dev/skills/amangit1314/repo-rag/agentdb-optimization)
Your own site
<a href="https://agentmods.dev/skills/amangit1314/repo-rag/agentdb-optimization"><img src="https://agentmods.dev/badge/skills/amangit1314/repo-rag/agentdb-optimization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for AgentDB Performance Optimization

Your own site · 80×15
<a href="https://agentmods.dev/skills/amangit1314/repo-rag/agentdb-optimization"><img src="https://agentmods.dev/badge/skills/amangit1314/repo-rag/agentdb-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.03268
Opus 5 $0.00026 $0.01634
Sonnet 5 $0.00011 $0.00654
Haiku 4.5 $0.00005 $0.00327

Measured 5d ago against content hash 0438ee74207a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

AgentDB Performance Optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/agentdb-optimization/SKILL.md · 510 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 510 lines · 53 tokens per session scan A 0438ee74207a

Subscribe to this mod's changes

AgentDB Performance Optimization is a skill published in the GitHub repository amangit1314/repo-rag (0 stars, last pushed 1mo ago), with no licence file. It adds 53 tokens to every session and 3,268 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

Vector Databases

Guides retrieval-store design, indexing, and query behavior for embedding-backed systems without confusing storage with application truth.

agentic-in/elephant-agent · 26 tokens

memmachine-memory

Use when an agent or model needs durable project, user, or session context from MemMachine, needs to save information to MemMachine memory, has requests involving mem-cli, memmachine, or memmachineclient, has insufficient conversation context, or is tempted to search local files for prior context that should come from…

MemMachine/MemMachine · 96 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

unified-llm-api

Call model APIs through @prismshadow/agenthub — streaming text generation, image generation, speech synthesis, embeddings and the supported-model registry with one client.

Prism-Shadow/penguin-harness · 39 tokens

mem0-integration

Mem0 memory layer integration for AI agents. Implement persistent, semantic memory for long-term context retention and personalization.

a5c-ai/babysitter · 27 tokens

wegent-knowledge

Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.

wecode-ai/Wegent · 51 tokens