Skip to content
Back to skills

Vector Db Ingest

ASecurity

Ingests repository files into the ChromaDB vector store. Builds or updates the vector index from a manifest or directory scan using ingest.py. Use when new files need to be indexed or the vector store is out of date. <example> user: "Index these new plugin files into the vector database" assistant: "I'll use vector-db-ingest to add them to the vector store." </example> <example> user: "The vector store is missing recent files -- update it" assistant: "I'll use vector-db-ingest to re-index th...

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 6, 2026
ai-agentspythonbashsqlapidatabase

Works with

  • api

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro scans all 17 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add richfrem/Project_Sanctuary --skill vector-db-ingest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vector Db Ingest?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vector Db Ingest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-vector-db-ingest/badge)](https://www.skillsdirectory.com/skills/richfrem-vector-db-ingest)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vector-db-ingest
description: |
  Ingests repository files into the ChromaDB vector store. Builds or updates the vector index from a manifest or directory scan using ingest.py.
  Use when new files need to be indexed or the vector store is out of date.

  <example>
  user: "Index these new plugin files into the vector database"
  assistant: "I'll use vector-db-ingest to add them to the vector store."
  </example>
  <example>
  user: "The vector store is missing recent files -- update it"
  assistant: "I'll use vector-db-ingest to re-index the changes."
  </example>
model: inherit
color: green
tools: ["Bash", "Read", "Write"]
---

# 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.

**This is a write operation.** The vector store is the backing index for Phase 2 search.

## Prerequisites

### 1. First-time setup
If `chromadb` is not installed or `vector_profiles.json` is missing, run the init skill first:
```bash
python3 ./scripts/init.py
```

### 2. Verify server is running
Use the `vector-db-launch` skill if the server is not already up:
```bash
# Check heartbeat
curl -sf http://127.0.0.1:8110/api/v1/heartbeat

# If not running, start it:
chroma run --host 127.0.0.1 --port 8110 --path .vector_data &
```
See `../../SKILL.md` for full launch instructions.

## Execution Protocol

### Full ingest (first time or full rebuild)

```bash
python3 ./scripts/ingest.py \
  --profile knowledge --full
```

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

```bash
python3 ./scripts/ingest.py \
  --profile knowledge --since 24
```

### Code files (uses AST parsing shim)

```bash
python3 ./scripts/ingest.py \
  --profile knowledge --full --code
```

`ingest_code_shim.py` is invoked automatically for `.py` and `.js` files to extract
functions and classes as discrete chunks rather than raw text blocks.

## After Ingesting

Run a quick smoke test to confirm the new content is retrievable:

```bash
python3 ./scripts/query.py \
  "describe what was just ingested" --profile knowledge --limit 3
```

## Rules

- **Never write to `.vector_data/` directly** -- always use `ingest.py`.
- **Never read `.sqlite3` files with `cat` or `sqlite3`** -- will corrupt context.
- **Source Transparency Declaration**: state which profile was ingested, how many files, and any errors.

Files in this skill

  • SKILL.md2.4 KB
  • references/examples/vector_knowledge_manifest.json3.5 KB
  • references/examples/vector_profiles.json490 B
  • resources/architecture_sequence.mmd2.3 KB
  • resources/deployment_model.mmd2.2 KB
  • resources/rag_design_choices.md4.7 KB
  • resources/stabilizers/README.md7.3 KB
  • resources/stabilizers/vector_consistency_check.md22.7 KB
  • scripts/ingest.py6.6 KB
  • scripts/ingest_code_shim.py10.4 KB
  • scripts/init.py5.4 KB
  • scripts/operations.py9.8 KB
  • scripts/query.py2.7 KB
  • scripts/requirements.in477 B
  • scripts/requirements.txt8 KB
  • scripts/vector_config.py6.8 KB
  • scripts/vector_consistency_check.py18.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.