Install
$ agentstack add skill-chroma-core-agent-skills-chroma-cloud ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Instructions
Intake
Do not block on a long questionnaire. Ask only for details that are missing and required to choose the right path:
- Dense only or hybrid search
- Whether
CHROMA_API_KEY,CHROMA_TENANT, andCHROMA_DATABASEare already configured - Existing embedding choice, if any
If the user has no embedding preference, default to Chroma Cloud Qwen. If hybrid search is required, use Schema() and Search(). If the task is narrow, such as fixing an existing query, reviewing code, or answering an API question, proceed with the repo context instead of forcing intake.
What to validate
- Correct client import (
CloudClientvsClient) - Environment variables are set for Cloud deployments
- Embedding function package is installed when the selected TypeScript embedding requires one
Schema()andSearch()are only used for Cloud workflows- Important:
get_or_create_collection()accepts either anembedding_functionOR aschema, but not both. Useschemawhen you need multiple indexes, hybrid search, or sparse embeddings; useembedding_functionfor simple dense-only search.
Quick Start
Use the CLI topic to authenticate and write Cloud credentials:
chroma login
chroma db create
chroma db connect --env-file
Then create a CloudClient and choose the API based on the search mode:
import { CloudClient } from 'chromadb';
const client = new CloudClient();
const collection = await client.getOrCreateCollection({ name: 'my_collection' });
Use collection.query() for dense-only search. Use Schema() plus Search() only when the user needs hybrid retrieval, multiple indexes, or more expressive ranking/query composition.
Cloud Guidance
Collections are the main isolation boundary in Chroma Cloud, and metadata is the main filtering mechanism inside a collection. Reach for Schema() only when you need explicit dense+sparse or multi-index configuration, and reach for Search() only when query() is not expressive enough.
Learn More
If you need more detailed information about Chroma beyond what's covered in this skill, fetch Chroma's llms.txt for comprehensive documentation: https://docs.trychroma.com/llms.txt
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: chroma-core
- Source: chroma-core/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.