chromadb
Skill13 starsChanged 27 days agoMITView on GitHub
Verification Tier: code_example_tested | Last Verified: 2026-11-18 Official Docs: https://docs.trychroma.com/docs/overview/introduction
- Reads credentials
- Installs packages
In this repository140 other files it gives its agents.
- algoliaSkill
- anthropic-mcpSkill
- anthropicSkill
- argo-cdSkill
- auth0Skill
- aws-bedrockSkill
- aws-dynamodbSkill
- aws-lambdaSkill
- aws-s3Skill
- azure-blob-storageSkill
- azure-openaiSkill
- better-authSkill
- better-sqlite3Skill
- biomeSkill
- braintreeSkill
- bullmqSkill
- caddySkill
- clerkSkill
- cloudflare-d1Skill
- cloudflare-r2Skill
- cloudflareSkill
- cloudflare-workersSkill
- cloudinarySkill
- cohereSkill
- convexSkill
- datadogSkill
- deepgramSkill
- deepseekSkill
- deno-deploySkill
- digitaloceanSkill
- discordSkill
- dockerSkill
- drizzleSkill
- elevenlabsSkill
- eslintSkill
- expressSkill
- fastapiSkill
- firebaseSkill
- flySkill
- geminiSkill
- github-actionsSkill
- githubSkill
- gitSkill
- google-cloud-runSkill
- google-cloud-storageSkill
- google-maps-platformSkill
- grafanaSkill
- groqSkill
- helmSkill
- honoSkill
- inngestSkill
- jaegerSkill
- jwtSkill
- kafkaSkill
- kubernetesSkill
- langchainSkill
- langfuseSkill
- langgraphSkill
- lemon-squeezySkill
- linearSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Upsert vs Add: Prefer collection.upsert() over collection.add() in ingestion pipelines so retries are idempotent without duplicate-ID …
- Very specific: line 24
Always guarantee identical embedding model & vector dimensionality between ingestion and querying (mismatched dimensions throw …
- Very specific: line 29
Never allow unvalidated user-supplied JSON directly into where filter operators.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 chromadbAuthentication
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()overcollection.add()in ingestion pipelines so retries are idempotent without duplicate-ID failures. - Metadata & Document Filtering: Combine vector similarity (
queryEmbeddings/queryTexts) with structuredwhereandwhereDocumentfilters 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
upsertcall) and retry transient5xx/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
wherefilter operators.
AI Pitfalls
- Calling
collection.add()repeatedly with existing IDs instead ofcollection.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:8000in production.
Production Checklist
getOrCreateCollectionandupsertused for idempotent ingestion- Embedding model version and dimensions pinned in collection metadata
- Tenant isolation enforced via database scoping or mandatory
wherefilters - Server authentication enabled for non-local deployments
References
Related skills
qdrant— alternative topinecone— alternative tolangchain— integrates with
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

