[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6M9V4908QFCZTHYRY0P29A3":3,"skill-same:01M6M9V4908QFCZTHYRY0P29A3":87},{"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":26,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6M9V4908QFCZTHYRY0P29A3","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.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fchroma\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",[5,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"knowledge","source","embedding","filter","local","self","vector database","text","projects","rag","open","api","Transformers","open source","embeddings","vector","search","database","semantic search","2026-11-10 10:12:30",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":51,"description":7},{"tags":52,"version":53,"category":54,"maintainer":55,"dependencies":56},"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","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fchroma",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill chroma",{"tool":73,"command":74},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill chroma",{"tool":76,"command":77},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill chroma","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fchroma\u002FSKILL.md",true,[81],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fintegration.md","REFERENCE","参考文档",771,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fchroma\u002Freferences\u002Fintegration.md",[88,97,105,113,121,129],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":96},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":96},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":96},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":96},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":133,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":96},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]