vector-db-ingest

vector-db-ingest is a skill for Claude Code, Codex from richfrem/agent-plugins-skills. It costs 122 tokens per session (581 once invoked), scanned A, original, MIT.

An indexing tool that reads repository files and stores searchable chunks in ChromaDB, a database used for meaning-based search.

In plain words
What is it for?
It is for full repository indexing, incremental updates, or indexing one selected file or folder for semantic search.
Why use it?
It removes the need to rebuild or update the search index manually when files are new or changed.

Skill for Claude CodeCodex

Part of the agent-memory plugin — 13 skills, 2 commands, 9 agents shipped together

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.

agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/vector-db-ingest
Any agent
npx skills add richfrem/agent-plugins-skills --skill vector-db-ingest
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code, Codex.

Or install agent-memory, the plugin that ships this one along with the rest of its 13 skills, 2 commands, 9 agents.

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 vector-db-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/vector-db-ingest.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/vector-db-ingest)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/vector-db-ingest"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/vector-db-ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 581 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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.00122 $0.00581
Opus 5 $0.00061 $0.00291
Sonnet 5 $0.00024 $0.00116
Haiku 4.5 $0.00012 $0.00058

Measured 2d ago against content hash 1438ceca3e74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

vector-db-ingest 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 2d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/ingest_code_shim.py, scripts/ingest.py, scripts/init.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/agent-memory/skills/vector-db-ingest/SKILL.md · 75 lines

What it actually says

Dependencies

This skill requires the chromadb and langchain packages defined in the plugin root.


VDB Ingest Agent

Role

You ingest (index) repository files into the ChromaDB vector store so they can be semantically searched. You build or update the parent-child chunk structure that query.py searches against.

High-Performance Mode: This skill uses a configurable batch processing engine (default 1,000 files) defined in .agent/learning/vector_profiles.json.

Prerequisites

1. First-time setup

If vector_profiles.json is missing, run the init skill first:

python ./scripts/init.py

2. Execution Mode

This plugin defaults to In-Process mode for zero-latency direct disk access. No background server is required unless explicitly configured in the profile.

Execution Protocol

Full ingest (first time or full rebuild)

Note: The --profile flag is mandatory to load the correct manifest and batch settings.

python ./scripts/ingest.py --profile wiki --full

Incremental ingest (only new/changed files since N hours)

python ./scripts/ingest.py --profile wiki --since 24

Single File/Folder Ingest

python ./scripts/ingest.py --profile wiki --file path/to/file.md
python ./scripts/ingest.py --profile wiki --folder path/to/folder

After Ingesting

Run a quick semantic search to confirm the new content is retrievable:

python ./scripts/query.py "search query" --profile wiki --limit 3

Rules

  • Profile Sovereignty: Always pass --profile to ensure the correct batch size and manifest are used.
  • In-Process Reliability: Ensure no other process is holding a lock on the database folder during ingestion.
  • Source Transparency: State which profile was ingested, how many files, and any errors encountered.
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. 2d ago First seen · 75 lines · 122 tokens per session scan A 1438ceca3e74

Subscribe to this mod's changes

vector-db-ingest is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 581 once invoked, about $0.0006 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

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

postgres-hybrid-text-search

Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…

timescale/pg-aiguide · 162 tokens

cloudflare-vectorize

Cloudflare Vectorize vector database for semantic search and RAG. Use for vector indexes, embeddings, similarity search, or encountering dimension mismatches, filter errors.

secondsky/claude-skills · 37 tokens

AgentDB Vector Search

Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.

ruvnet/ruflo · 41 tokens

laravel-vector-search

Use when implementing semantic/vector search in Laravel 13 with PostgreSQL + pgvector.

fusengine/agents · 22 tokens