chromadb

chromadb is a skill for Claude Code, Codex from ashish7802/awesome-api-skills. It costs 0 tokens per session (646 once invoked), scanned A, original, MIT.

An open-source vector database for storing text, documents, embeddings, and metadata. Embeddings are numeric representations used to find items with similar meaning, often for retrieval-augmented generation (RAG), where an AI model answers using retrieved documents.

In plain words
What is it for?
Use it to create collections, add or update documents, run similarity searches, filter results by metadata, and build RAG pipelines in Python or JavaScript.
Why use it?
It gives an application a place to search documents by meaning as well as filter them by structured fields. Persistent, server, and hosted modes support different deployment needs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create collections, add or update documents, run similarity searches, filter results by metadata, and build RAG pipelines in Python or JavaScript.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashish7802/awesome-api-skills/chromadb
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 ashish7802/awesome-api-skills --skill chromadb
Clone the repo
git clone --depth 1 https://github.com/ashish7802/awesome-api-skills

Made for: Claude Code, Codex.

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 chromadb

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/chromadb/github.svg)](https://agentmods.dev/skills/ashish7802/awesome-api-skills/chromadb)
Your own site
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/chromadb"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/chromadb/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 chromadb

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/chromadb"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/chromadb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 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 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.00000 $0.00646
Opus 5.5 $0.00000 $0.00258
Sonnet 5.5 $0.00000 $0.00129
Haiku 4.5 $0.00000 $0.00065

Measured 11d ago against content hash 15aba1ad0ca2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chromadb 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/quickstart.ts), 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.

skills/chromadb/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ChromaDB API & SDK Skill

Verification Tier: code_example_tested | Last Verified: 2026-11-18
Official Docs: https://docs.trychroma.com/docs/overview/introduction

Overview

Chroma is an open-source vector database designed for storing embeddings, documents, and structured metadata for Retrieval-Augmented Generation (RAG) workflows. It runs in local persistent mode, client-server HTTP mode (ChromaClient), or managed Chroma Cloud (CloudClient).

Installation

npm install chromadb
pip install chromadb

Authentication

In Chroma Cloud or authenticated server deployments, pass API tokens via environment variables (CHROMA_API_KEY, CHROMA_TENANT, CHROMA_DATABASE) or Bearer headers—never expose unauthenticated Chroma HTTP ports to the public internet.

Core Concepts

  • Collections: Logical containers created idempotently with client.getOrCreateCollection({ name, metadata }).
  • Upsert vs Add: Prefer collection.upsert() over collection.add() in ingestion pipelines so retries are idempotent without duplicate-ID failures.
  • Metadata & Document Filtering: Combine vector similarity (queryEmbeddings / queryTexts) with structured where and whereDocument filters for tenant isolation.

Error Handling & Rate Limits

  • Always guarantee identical embedding model & vector dimensionality between ingestion and querying (mismatched dimensions throw InvalidDimensionException).
  • Chunk large ingestion batches (e.g., 100–500 documents per upsert call) and retry transient 5xx/network errors with exponential backoff.

Security Best Practices

  • Enforce multi-tenant isolation using dedicated tenants/databases or mandatory server-enforced where: { tenantId } metadata filters on every query.
  • Never allow unvalidated user-supplied JSON directly into where filter operators.

AI Pitfalls

  • Calling collection.add() repeatedly with existing IDs instead of collection.upsert().
  • Mixing embedding models (e.g., 1536-dim and 3072-dim) in the same collection.
  • Running an unauthenticated Chroma server bound to 0.0.0.0:8000 in production.

Read the full file on GitHub · 50 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 50 lines · 0 tokens per session scan A 15aba1ad0ca2

Subscribe to this mod's changes

chromadb is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 646 tokens. 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-11-19.

Related

chromadb compared with skills from other repositories

chromadb next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chromadbashish7802/awesome-api-skillsSkill1311d agoMITA0Claude Code, Codex
building-agentsericrisco/rsc-harnessSkill6824d agoMITA85Claude Code, Codex
langchain-oracledb-helperoracle-devrel/oracle-ai-developer-hubSkill4.5kyesterdaynoneA72Claude Code, Codex
build-pathsoracle-devrel/oracle-ai-developer-hubSkill4.5kyesterdaynoneA57Claude Code, Codex
langchain4j-vector-stores-configurationgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA77Claude Code
qdrantgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA50Claude Code
astra-vector-backenderichare/skillrouteSkill412mo agoMITA27Claude Code, Codex