Skip to main content
skill

rag-chroma — Claude Code skill: what it does, how to install

Reference patterns and code snippets for integrating the Chroma vector database, filtering metadata, and running semantic retrieval.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/rag-chroma
Open on GitHub

What rag-chroma does

This skill supplies patterns for running the Chroma embedding database in local or self-hosted environments. It covers collection lifecycle management, persisting vector indexes to disk with PersistentClient, and running similarity queries on document chunks.

It also contains examples for the default all-MiniLM-L6-v2 embedding model, OpenAI and HuggingFace functions, and LangChain document loaders. Running the Python examples requires chromadb and sentence-transformers installed in your project.

What it helps with

  • persist text embeddings and structured metadata to disk
  • execute similarity searches with logical metadata filters
  • configure OpenAI or HuggingFace embedding providers in Chroma
  • connect Chroma vector storage to LangChain splitters

Example prompts for the agent

  • Set up a local Chroma PersistentClient and add documents with source metadata.
  • Write a Chroma similarity query that filters results using logical operators.
  • Show how to plug OpenAI embeddings into a Chroma collection in Python.

How to install rag-chroma

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/rag-chroma

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill rag-chroma -a claude-code

3Manually: put the files in place

~/.claude/skills/rag-chroma/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rag-chroma/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about rag-chroma

How do I install rag-chroma in Claude Code?

Run npx claude-code-templates@latest --skill ai-research/rag-chroma in your terminal.

What does rag-chroma do?

It guides Claude Code on implementing vector workflows in Chroma, including CRUD operations, metadata filters, and embedding function configuration.

What dependencies are needed for Chroma?

For Python setups, install chromadb and sentence-transformers. For Node.js, install chromadb along with @chroma-core/default-embed.

Similar skills

All skills for AI and ML →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor