[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74YEG9YR0Y9EPN6664SR2JA":3,"skill-same:01M74YEG9YR0Y9EPN6664SR2JA":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M74YEG9YR0Y9EPN6664SR2JA","chroma",null,"Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source projects.","KalarisLabs\u002Fresearch-agent-skills","KalarisLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F300878568?v=4","01M74Y7MT23GXXC56VM6TVSXZY","Kalarislabs","01M74Y7MTQM9REXZX4SNXWX95C",132,"MIT","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchroma\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: chroma\ndescription: Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source projects.\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  category: knowledge-and-rag\n  maintainer: Kalaris Labs\n  tags: RAG, Chroma, Vector Database, Embeddings, Semantic Search, Open Source, Self-Hosted, Document Retrieval, Metadata Filtering\n  dependencies: chromadb, sentence-transformers\n---\n\n# Chroma - Open-Source Embedding Database\n\nThe AI-native database for building LLM applications with memory.\n\n## When to use Chroma\n\n**Use Chroma when:**\n- Building RAG (retrieval-augmented generation) applications\n- Need local\u002Fself-hosted vector database\n- Want open-source solution (Apache 2.0)\n- Prototyping in notebooks\n- Semantic search over documents\n- Storing embeddings with metadata\n\n**Metrics**:\n- **1,900+ forks**\n- **v1.3.3** (stable, weekly releases)\n- **Apache 2.0 license**\n\n**Use alternatives instead**:\n- **Pinecone**: Managed cloud, auto-scaling\n- **FAISS**: Pure similarity search, no metadata\n- **Weaviate**: Production ML-native database\n- **Qdrant**: High performance, Rust-based\n\n## Quick start\n\n### Installation\n\n```bash\n# Python\npip install chromadb\n\n# JavaScript\u002FTypeScript\nnpm install chromadb @chroma-core\u002Fdefault-embed\n```\n\n### Basic usage (Python)\n\n```python\nimport chromadb\n\n# Create client\nclient = chromadb.Client()\n\n# Create collection\ncollection = client.create_collection(name=\"my_collection\")\n\n# Add documents\ncollection.add(\n    documents=[\"This is document 1\", \"This is document 2\"],\n    metadatas=[{\"source\": \"doc1\"}, {\"source\": \"doc2\"}],\n    ids=[\"id1\", \"id2\"]\n)\n\n# Query\nresults = collection.query(\n    query_texts=[\"document about topic\"],\n    n_results=2\n)\n\nprint(results)\n```\n\n## Core operations\n\n### 1. Create collection\n\n```python\n# Simple collection\ncollection = client.create_collection(\"my_docs\")\n\n# With custom embedding function\nfrom chromadb.utils import embedding_functions\n\nopenai_ef = embedding_functions.OpenAIEmbeddingFunction(\n    api_key=\"your-key\",\n    model_name=\"text-embedding-3-small\"\n)\n\ncollection = client.create_collection(\n    name=\"my_docs\",\n    embedding_function=openai_ef\n)\n\n# Get existing collection\ncollection = client.get_collection(\"my_docs\")\n\n# Delete collection\nclient.delete_collection(\"my_docs\")\n```\n\n### 2. Add documents\n\n```python\n# Add with auto-generated IDs\ncollection.add(\n    documents=[\"Doc 1\", \"Doc 2\", \"Doc 3\"],\n    metadatas=[\n        {\"source\": \"web\", \"category\": \"tutorial\"},\n        {\"source\": \"pdf\", \"page\": 5},\n        {\"source\": \"api\", \"timestamp\": \"2025-01-01\"}\n    ],\n    ids=[\"id1\", \"id2\", \"id3\"]\n)\n\n# Add with custom embeddings\ncollection.add(\n    embeddings=[[0.1, 0.2, ...], [0.3, 0.4, ...]],\n    documents=[\"Doc 1\", \"Doc 2\"],\n    ids=[\"id1\", \"id2\"]\n)\n```\n\n### 3. Query (similarity search)\n\n```python\n# Basic query\nresults = collection.query(\n    query_texts=[\"machine learning tutorial\"],\n    n_results=5\n)\n\n# Query with filters\nresults = collection.query(\n    query_texts=[\"Python programming\"],\n    n_results=3,\n    where={\"source\": \"web\"}\n)\n\n# Query with metadata filters\nresults = collection.query(\n    query_texts=[\"advanced topics\"],\n    where={\n        \"$and\": [\n            {\"category\": \"tutorial\"},\n            {\"difficulty\": {\"$gte\": 3}}\n        ]\n    }\n)\n\n# Access results\nprint(results[\"documents\"])      # List of matching documents\nprint(results[\"metadatas\"])      # Metadata for each doc\nprint(results[\"distances\"])      # Similarity scores\nprint(results[\"ids\"])            # Document IDs\n```\n\n### 4. Get documents\n\n```python\n# Get by IDs\ndocs = collection.get(\n    ids=[\"id1\", \"id2\"]\n)\n\n# Get with filters\ndocs = collection.get(\n    where={\"category\": \"tutorial\"},\n    limit=10\n)\n\n# Get all documents\ndocs = collection.get()\n```\n\n### 5. Update documents\n\n```python\n# Update document content\ncollection.update(\n    ids=[\"id1\"],\n    documents=[\"Updated content\"],\n    metadatas=[{\"source\": \"updated\"}]\n)\n```\n\n### 6. Delete documents\n\n```python\n# Delete by IDs\ncollection.delete(ids=[\"id1\", \"id2\"])\n\n# Delete with filter\ncollection.delete(\n    where={\"source\": \"outdated\"}\n)\n```\n\n## Persistent storage\n\n```python\n# Persist to disk\nclient = chromadb.PersistentClient(path=\".\u002Fchroma_db\")\n\ncollection = client.create_collection(\"my_docs\")\ncollection.add(documents=[\"Doc 1\"], ids=[\"id1\"])\n\n# Data persisted automatically\n# Reload later with same path\nclient = chromadb.PersistentClient(path=\".\u002Fchroma_db\")\ncollection = client.get_collection(\"my_docs\")\n```\n\n## Embedding functions\n\n### Default (Sentence Transformers)\n\n```python\n# Uses sentence-transformers by default\ncollection = client.create_collection(\"my_docs\")\n# Default model: all-MiniLM-L6-v2\n```\n\n### OpenAI\n\n```python\nfrom chromadb.utils import embedding_functions\n\nopenai_ef = embedding_functions.OpenAIEmbeddingFunction(\n    api_key=\"your-key\",\n    model_name=\"text-embedding-3-small\"\n)\n\ncollection = client.create_collection(\n    name=\"openai_docs\",\n    embedding_function=openai_ef\n)\n```\n\n### HuggingFace\n\n```python\nhuggingface_ef = embedding_functions.HuggingFaceEmbeddingFunction(\n    api_key=\"your-key\",\n    model_name=\"sentence-transformers\u002Fall-mpnet-base-v2\"\n)\n\ncollection = client.create_collection(\n    name=\"hf_docs\",\n    embedding_function=huggingface_ef\n)\n```\n\n### Custom embedding function\n\n```python\nfrom chromadb import Documents, EmbeddingFunction, Embeddings\n\nclass MyEmbeddingFunction(EmbeddingFunction):\n    def __call__(self, input: Documents) -> Embeddings:\n        # Your embedding logic\n        return embeddings\n\nmy_ef = MyEmbeddingFunction()\ncollection = client.create_collection(\n    name=\"custom_docs\",\n    embedding_function=my_ef\n)\n```\n\n## Metadata filtering\n\n```python\n# Exact match\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\"category\": \"tutorial\"}\n)\n\n# Comparison operators\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\"page\": {\"$gt\": 10}}  # $gt, $gte, $lt, $lte, $ne\n)\n\n# Logical operators\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\n        \"$and\": [\n            {\"category\": \"tutorial\"},\n            {\"difficulty\": {\"$lte\": 3}}\n        ]\n    }  # Also: $or\n)\n\n# Contains\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\"tags\": {\"$in\": [\"python\", \"ml\"]}}\n)\n```\n\n## LangChain integration\n\n```python\nfrom langchain_chroma import Chroma\nfrom langchain_openai import OpenAIEmbeddings\nfrom langchain.text_splitter import RecursiveCharacterTextSplitter\n\n# Split documents\ntext_splitter = RecursiveCharacterTextSplitter(chunk_size=1000)\ndocs = text_splitter.split_documents(documents)\n\n# Create Chroma vector store\nvectorstore = Chroma.from_documents(\n    documents=docs,\n    embedding=OpenAIEmbeddings(),\n    persist_directory=\".\u002Fchroma_db\"\n)\n\n# Query\nresults = vectorstore.similarity_search(\"machine learning\", k=3)\n\n# As retriever\nretriever = vectorstore.as_retriever(search_kwargs={\"k\": 5})\n```\n\n## LlamaIndex integration\n\n```python\nfrom llama_index.vector_stores.chroma import ChromaVectorStore\nfrom llama_index.core import VectorStoreIndex, StorageContext\nimport chromadb\n\n# Initialize Chroma\ndb = chromadb.PersistentClient(path=\".\u002Fchroma_db\")\ncollection = db.get_or_create_collection(\"my_collection\")\n\n# Create vector store\nvector_store = ChromaVectorStore(chroma_collection=collection)\nstorage_context = StorageContext.from_defaults(vector_store=vector_store)\n\n# Create index\nindex = VectorStoreIndex.from_documents(\n    documents,\n    storage_context=storage_context\n)\n\n# Query\nquery_engine = index.as_query_engine()\nresponse = query_engine.query(\"What is machine learning?\")\n```\n\n## Server mode\n\n```python\n# Run Chroma server\n# Terminal: chroma run --path .\u002Fchroma_db --port 8000\n\n# Connect to server\nimport chromadb\nfrom chromadb.config import Settings\n\nclient = chromadb.HttpClient(\n    host=\"localhost\",\n    port=8000,\n    settings=Settings(anonymized_telemetry=False)\n)\n\n# Use as normal\ncollection = client.get_or_create_collection(\"my_docs\")\n```\n\n## Best practices\n\n1. **Use persistent client** - Don't lose data on restart\n2. **Add metadata** - Enables filtering and tracking\n3. **Batch operations** - Add multiple docs at once\n4. **Choose right embedding model** - Balance speed\u002Fquality\n5. **Use filters** - Narrow search space\n6. **Unique IDs** - Avoid collisions\n7. **Regular backups** - Copy chroma_db directory\n8. **Monitor collection size** - Scale up if needed\n9. **Test embedding functions** - Ensure quality\n10. **Use server mode for production** - Better for multi-user\n\n## Performance\n\n| Operation | Latency | Notes |\n|-----------|---------|-------|\n| Add 100 docs | ~1-3s | With embedding |\n| Query (top 10) | ~50-200ms | Depends on collection size |\n| Metadata filter | ~10-50ms | Fast with proper indexing |\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fchroma-core\u002Fchroma ⭐ 24,300+\n- **Docs**: https:\u002F\u002Fdocs.trychroma.com\n- **Discord**: https:\u002F\u002Fdiscord.gg\u002FMMeYNTmh3x\n- **Version**: 1.3.3+\n- **License**: Apache 2.0\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the corpus, embedding model and vector store versions, and where the index will live.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Index a small subset and test retrieval on known question-passage pairs.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Measure recall@k on a labeled set; answers cite retrieved passages only.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Retrieval returns irrelevant chunks | Revisit chunking, add BM25\u002Fhybrid search, or re-rank before changing the generator. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Answers must come from retrieved text; say when the corpus does not contain the answer.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `llamaindex`: Data framework for building LLM applications with RAG.\n- `langchain`: Framework for building LLM-powered applications with agents, chains, and RAG.\n- `qdrant-vector-search`: High-performance vector similarity search engine for RAG and semantic search.\n","# Chroma - Open-Source Embedding Database\n\nThe AI-native database for building LLM applications with memory.\n\n## When to use Chroma\n\n**Use Chroma when:**\n- Building RAG (retrieval-augmented generation) applications\n- Need local\u002Fself-hosted vector database\n- Want open-source solution (Apache 2.0)\n- Prototyping in notebooks\n- Semantic search over documents\n- Storing embeddings with metadata\n\n**Metrics**:\n- **1,900+ forks**\n- **v1.3.3** (stable, weekly releases)\n- **Apache 2.0 license**\n\n**Use alternatives instead**:\n- **Pinecone**: Managed cloud, auto-scaling\n- **FAISS**: Pure similarity search, no metadata\n- **Weaviate**: Production ML-native database\n- **Qdrant**: High performance, Rust-based\n\n## Quick start\n\n### Installation\n\n```bash\n# Python\npip install chromadb\n\n# JavaScript\u002FTypeScript\nnpm install chromadb @chroma-core\u002Fdefault-embed\n```\n\n### Basic usage (Python)\n\n```python\nimport chromadb\n\n# Create client\nclient = chromadb.Client()\n\n# Create collection\ncollection = client.create_collection(name=\"my_collection\")\n\n# Add documents\ncollection.add(\n    documents=[\"This is document 1\", \"This is document 2\"],\n    metadatas=[{\"source\": \"doc1\"}, {\"source\": \"doc2\"}],\n    ids=[\"id1\", \"id2\"]\n)\n\n# Query\nresults = collection.query(\n    query_texts=[\"document about topic\"],\n    n_results=2\n)\n\nprint(results)\n```\n\n## Core operations\n\n### 1. Create collection\n\n```python\n# Simple collection\ncollection = client.create_collection(\"my_docs\")\n\n# With custom embedding function\nfrom chromadb.utils import embedding_functions\n\nopenai_ef = embedding_functions.OpenAIEmbeddingFunction(\n    api_key=\"your-key\",\n    model_name=\"text-embedding-3-small\"\n)\n\ncollection = client.create_collection(\n    name=\"my_docs\",\n    embedding_function=openai_ef\n)\n\n# Get existing collection\ncollection = client.get_collection(\"my_docs\")\n\n# Delete collection\nclient.delete_collection(\"my_docs\")\n```\n\n### 2. Add documents\n\n```python\n# Add with auto-generated IDs\ncollection.add(\n    documents=[\"Doc 1\", \"Doc 2\", \"Doc 3\"],\n    metadatas=[\n        {\"source\": \"web\", \"category\": \"tutorial\"},\n        {\"source\": \"pdf\", \"page\": 5},\n        {\"source\": \"api\", \"timestamp\": \"2025-01-01\"}\n    ],\n    ids=[\"id1\", \"id2\", \"id3\"]\n)\n\n# Add with custom embeddings\ncollection.add(\n    embeddings=[[0.1, 0.2, ...], [0.3, 0.4, ...]],\n    documents=[\"Doc 1\", \"Doc 2\"],\n    ids=[\"id1\", \"id2\"]\n)\n```\n\n### 3. Query (similarity search)\n\n```python\n# Basic query\nresults = collection.query(\n    query_texts=[\"machine learning tutorial\"],\n    n_results=5\n)\n\n# Query with filters\nresults = collection.query(\n    query_texts=[\"Python programming\"],\n    n_results=3,\n    where={\"source\": \"web\"}\n)\n\n# Query with metadata filters\nresults = collection.query(\n    query_texts=[\"advanced topics\"],\n    where={\n        \"$and\": [\n            {\"category\": \"tutorial\"},\n            {\"difficulty\": {\"$gte\": 3}}\n        ]\n    }\n)\n\n# Access results\nprint(results[\"documents\"])      # List of matching documents\nprint(results[\"metadatas\"])      # Metadata for each doc\nprint(results[\"distances\"])      # Similarity scores\nprint(results[\"ids\"])            # Document IDs\n```\n\n### 4. Get documents\n\n```python\n# Get by IDs\ndocs = collection.get(\n    ids=[\"id1\", \"id2\"]\n)\n\n# Get with filters\ndocs = collection.get(\n    where={\"category\": \"tutorial\"},\n    limit=10\n)\n\n# Get all documents\ndocs = collection.get()\n```\n\n### 5. Update documents\n\n```python\n# Update document content\ncollection.update(\n    ids=[\"id1\"],\n    documents=[\"Updated content\"],\n    metadatas=[{\"source\": \"updated\"}]\n)\n```\n\n### 6. Delete documents\n\n```python\n# Delete by IDs\ncollection.delete(ids=[\"id1\", \"id2\"])\n\n# Delete with filter\ncollection.delete(\n    where={\"source\": \"outdated\"}\n)\n```\n\n## Persistent storage\n\n```python\n# Persist to disk\nclient = chromadb.PersistentClient(path=\".\u002Fchroma_db\")\n\ncollection = client.create_collection(\"my_docs\")\ncollection.add(documents=[\"Doc 1\"], ids=[\"id1\"])\n\n# Data persisted automatically\n# Reload later with same path\nclient = chromadb.PersistentClient(path=\".\u002Fchroma_db\")\ncollection = client.get_collection(\"my_docs\")\n```\n\n## Embedding functions\n\n### Default (Sentence Transformers)\n\n```python\n# Uses sentence-transformers by default\ncollection = client.create_collection(\"my_docs\")\n# Default model: all-MiniLM-L6-v2\n```\n\n### OpenAI\n\n```python\nfrom chromadb.utils import embedding_functions\n\nopenai_ef = embedding_functions.OpenAIEmbeddingFunction(\n    api_key=\"your-key\",\n    model_name=\"text-embedding-3-small\"\n)\n\ncollection = client.create_collection(\n    name=\"openai_docs\",\n    embedding_function=openai_ef\n)\n```\n\n### HuggingFace\n\n```python\nhuggingface_ef = embedding_functions.HuggingFaceEmbeddingFunction(\n    api_key=\"your-key\",\n    model_name=\"sentence-transformers\u002Fall-mpnet-base-v2\"\n)\n\ncollection = client.create_collection(\n    name=\"hf_docs\",\n    embedding_function=huggingface_ef\n)\n```\n\n### Custom embedding function\n\n```python\nfrom chromadb import Documents, EmbeddingFunction, Embeddings\n\nclass MyEmbeddingFunction(EmbeddingFunction):\n    def __call__(self, input: Documents) -> Embeddings:\n        # Your embedding logic\n        return embeddings\n\nmy_ef = MyEmbeddingFunction()\ncollection = client.create_collection(\n    name=\"custom_docs\",\n    embedding_function=my_ef\n)\n```\n\n## Metadata filtering\n\n```python\n# Exact match\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\"category\": \"tutorial\"}\n)\n\n# Comparison operators\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\"page\": {\"$gt\": 10}}  # $gt, $gte, $lt, $lte, $ne\n)\n\n# Logical operators\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\n        \"$and\": [\n            {\"category\": \"tutorial\"},\n            {\"difficulty\": {\"$lte\": 3}}\n        ]\n    }  # Also: $or\n)\n\n# Contains\nresults = collection.query(\n    query_texts=[\"query\"],\n    where={\"tags\": {\"$in\": [\"python\", \"ml\"]}}\n)\n```\n\n## LangChain integration\n\n```python\nfrom langchain_chroma import Chroma\nfrom langchain_openai import OpenAIEmbeddings\nfrom langchain.text_splitter import RecursiveCharacterTextSplitter\n\n# Split documents\ntext_splitter = RecursiveCharacterTextSplitter(chunk_size=1000)\ndocs = text_splitter.split_documents(documents)\n\n# Create Chroma vector store\nvectorstore = Chroma.from_documents(\n    documents=docs,\n    embedding=OpenAIEmbeddings(),\n    persist_directory=\".\u002Fchroma_db\"\n)\n\n# Query\nresults = vectorstore.similarity_search(\"machine learning\", k=3)\n\n# As retriever\nretriever = vectorstore.as_retriever(search_kwargs={\"k\": 5})\n```\n\n## LlamaIndex integration\n\n```python\nfrom llama_index.vector_stores.chroma import ChromaVectorStore\nfrom llama_index.core import VectorStoreIndex, StorageContext\nimport chromadb\n\n# Initialize Chroma\ndb = chromadb.PersistentClient(path=\".\u002Fchroma_db\")\ncollection = db.get_or_create_collection(\"my_collection\")\n\n# Create vector store\nvector_store = ChromaVectorStore(chroma_collection=collection)\nstorage_context = StorageContext.from_defaults(vector_store=vector_store)\n\n# Create index\nindex = VectorStoreIndex.from_documents(\n    documents,\n    storage_context=storage_context\n)\n\n# Query\nquery_engine = index.as_query_engine()\nresponse = query_engine.query(\"What is machine learning?\")\n```\n\n## Server mode\n\n```python\n# Run Chroma server\n# Terminal: chroma run --path .\u002Fchroma_db --port 8000\n\n# Connect to server\nimport chromadb\nfrom chromadb.config import Settings\n\nclient = chromadb.HttpClient(\n    host=\"localhost\",\n    port=8000,\n    settings=Settings(anonymized_telemetry=False)\n)\n\n# Use as normal\ncollection = client.get_or_create_collection(\"my_docs\")\n```\n\n## Best practices\n\n1. **Use persistent client** - Don't lose data on restart\n2. **Add metadata** - Enables filtering and tracking\n3. **Batch operations** - Add multiple docs at once\n4. **Choose right embedding model** - Balance speed\u002Fquality\n5. **Use filters** - Narrow search space\n6. **Unique IDs** - Avoid collisions\n7. **Regular backups** - Copy chroma_db directory\n8. **Monitor collection size** - Scale up if needed\n9. **Test embedding functions** - Ensure quality\n10. **Use server mode for production** - Better for multi-user\n\n## Performance\n\n| Operation | Latency | Notes |\n|-----------|---------|-------|\n| Add 100 docs | ~1-3s | With embedding |\n| Query (top 10) | ~50-200ms | Depends on collection size |\n| Metadata filter | ~10-50ms | Fast with proper indexing |\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fchroma-core\u002Fchroma ⭐ 24,300+\n- **Docs**: https:\u002F\u002Fdocs.trychroma.com\n- **Discord**: https:\u002F\u002Fdiscord.gg\u002FMMeYNTmh3x\n- **Version**: 1.3.3+\n- **License**: Apache 2.0\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the corpus, embedding model and vector store versions, and where the index will live.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Index a small subset and test retrieval on known question-passage pairs.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Measure recall@k on a labeled set; answers cite retrieved passages only.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Retrieval returns irrelevant chunks | Revisit chunking, add BM25\u002Fhybrid search, or re-rank before changing the generator. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Answers must come from retrieved text; say when the corpus does not contain the answer.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `llamaindex`: Data framework for building LLM applications with RAG.\n- `langchain`: Framework for building LLM-powered applications with agents, chains, and RAG.\n- `qdrant-vector-search`: High-performance vector similarity search engine for RAG and semantic search.\n",{"name":5,"license":15,"metadata":24,"description":7},{"tags":25,"version":26,"category":27,"maintainer":28,"dependencies":29},"RAG, Chroma, Vector Database, Embeddings, Semantic Search, Open Source, Self-Hosted, Document Retrieval, Metadata Filtering","1.0.0","knowledge-and-rag","Kalaris Labs","chromadb, sentence-transformers","main","29fe36d26127205057d5e0ed8425f6b0e9a8c13a","skills\u002Fchroma",16,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills","https:\u002F\u002Fdocs.kalarislabs.com\u002Fresearch-agent-skills","https:\u002F\u002Fgithub.com\u002FKalarisLabs","kalarislabs.com","Applied AI lab building the infrastructure for the agentic era","2026-11-14 17:49:08",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add KalarisLabs\u002Fresearch-agent-skills --skill chroma",{"tool":46,"command":47},"bunx","bunx skills add KalarisLabs\u002Fresearch-agent-skills --skill chroma",{"tool":49,"command":50},"pnpm","pnpm dlx skills add KalarisLabs\u002Fresearch-agent-skills --skill chroma","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchroma\u002FSKILL.md",true,[54],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fintegration.md","REFERENCE","参考文档",771,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fchroma\u002Freferences\u002Fintegration.md",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M74Z8MGT305R11SNY5G28QH5","plos","Prepare manuscripts for PLOS journals (PLOS ONE, PLOS Biology, PLOS Computational Biology, PLOS Genetics, PLOS Medicine, PLOS Pathogens, PLOS Neglected Tropical Diseases, PLOS Global Public Health and others), covering structure, abstract and author summary, Vancouver-style references, the mandatory data availability policy, ethics and financial disclosure statements, figure requirements (PACE), the PLOS LaTeX template, reporting guidelines and PLOS ONE's publication criteria. Use when targeting any PLOS journal or checking compliance with PLOS policies.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fplos\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M74Z8CCN9APXYHNQ95V1EBGT","pkpd-modeling","Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK\u002FPD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD models, or evaluating dosing regimens. Triggers include \"pharmacokinetics\", \"pharmacodynamics\", \"PK\u002FPD\", \"NCA\", \"non-compartmental\", \"AUC\", \"Cmax\", \"lambda z\", \"half-life\", \"clearance\", \"volume of distribution\", \"compartmental model\", \"population PK\", \"popPK\", \"NONMEM\", \"nlmixr2\", \"Pharmpy\", \"Monolix\", \"exposure-response\", \"Emax\", \"EC50\", \"indirect response\", \"effect compartment\", \"TMDD\", \"PBPK\", \"bioequivalence\", \"RSABE\", \"ABEL\", \"allometric scaling\", \"first-in-human\", \"MABEL\", \"drug-drug interaction\", \"DDI\", \"ICH M12\", \"concentration-QTc\", \"therapeutic drug monitoring\", \"MIPD\", and \"dosing regimen\".","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpkpd-modeling\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M74Z86YHJJ1FM3X87BHN76KZ","pinecone","Guides use of Pinecone, a managed serverless vector database, through its Python client and the LangChain and LlamaIndex integrations. Covers creating indexes, upserting and querying vectors, metadata filtering, namespaces, hybrid dense and sparse search, index management, and deleting vectors. Use when building a production RAG system on a hosted vector store, adding semantic search or recommendations without running infrastructure, isolating per-user or per-tenant data with namespaces, combining dense and sparse vectors in one query, or filtering results by metadata. Do not use for self-hosted or local stores (Chroma, Weaviate) or offline similarity search (FAISS).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinecone\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74Z80T6E89SAJ8MYDD0767Q","pi-agent","Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers\u002Fmodels\u002Fsettings\u002Fenvironment variables, creating Pi skills\u002Fextensions\u002Fpackages\u002Fthemes\u002Fprompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation\u002Forchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpi-agent\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M74Z7WF1Y8Q3VFAQPPPRAFMV","phoenix-observability","Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fphoenix-observability\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M74Z7HNEH1A2AVYR3G1X2QV6","peft-fine-tuning","Fine-tunes LLMs with Hugging Face PEFT, using LoRA, QLoRA, IA3, AdaLoRA, prefix tuning, and prompt tuning so that under 1% of parameters are trained. Covers rank, alpha, and target module selection, loading and merging adapters, multi-adapter serving, and integration with TRL SFTTrainer, Axolotl, and vLLM. Use when fine-tuning 7B-70B models on limited GPU memory, when running QLoRA on a single 24GB GPU, when choosing LoRA rank and alpha, when merging or swapping adapters on one base model, or when debugging CUDA OOM or an adapter that does not apply. Not for full fine-tuning of small models under 1B parameters or cases needing all weights updated.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpeft-fine-tuning\u002FSKILL.md",[],[]]