cli-anything-chromadb
What it does
This skill lets your agent manage a ChromaDB vector database, which stores text so it can be searched by meaning. It is for people building search or memory for AI tools.
When to use it
- ✓When you want to create or list collections in your ChromaDB database.
- ✓When you want to add documents to a collection for later search.
- ✓When you want to search stored text by meaning rather than exact words.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/chromadb/agent-harness/cli_anything/chromadb/skills/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Search my hub_knowledge collection for notes about how we deploy the app.”
5 new skills a week. 1 minute to read.
How it works
The skill sends commands to your ChromaDB server through its HTTP API. It can list collections, manage documents, and run semantic queries that return the closest matches.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
cli-anything-chromadb
A stateless command-line interface for ChromaDB vector database, built on the HTTP API v2. Designed for AI agents and power users who need to manage collections, documents, and run semantic queries without a browser UI.
Installation
This CLI is installed as part of the cli-anything-chromadb package:
pip install cli-anything-chromadb
Prerequisites:
- Python 3.10+
- ChromaDB server running at localhost:8000 (or specify via --host)
Usage
Basic Commands
# Show help
cli-anything-chromadb --help
# Start interactive REPL mode
cli-anything-chromadb
# Check server health
cli-anything-chromadb --json server heartbeat
# List all collections
cli-anything-chromadb --json collection list
# Semantic search
cli-anything-chromadb --json query search --collection hub_knowledge --text "How to deploy"
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-chromadb
# Enter commands interactively with tab-completion and history
Command Groups
server
Server health and version commands.
| Command | Description |
|---|---|
heartbeat |
Check ChromaDB server health |
version |
Get ChromaDB server version |
collection
Manage ChromaDB collections.
| Command | Description |
|---|---|
list |
List all collections |
create --name NAME |
Create a new collection |
delete --name NAME |
Delete a collection |
info NAME |
Get collection info |
document
Manage documents in collections.
| Command | Description |
|---|---|
add --collection C --id ID --document TEXT |
Add document(s) |
get --collection C |
Get documents |
delete --collection C --id ID |
Delete document(s) |
count --collection C |
Count documents |
query
Semantic search against collections.
| Command | Description |
|---|---|
search --collection C --text T |
Semantic search |
Output Formats
All commands support dual output modes:
- Human-readable (default): Tables, colors, formatted text
- Machine-readable (
--jsonflag): Structured JSON for agent consumption
# Human output
cli-anything-chromadb server heartbeat
# JSON output for agents
cli-anything-chromadb --json server heartbeat
For AI Agents
When using this CLI programmatically:
- Always use
--jsonflag for parseable output - Check return codes - 0 for success, non-zero for errors
- Parse stderr for error messages on failure
- Use
--hostto connect to non-default ChromaDB instances
Version
1.0.0
FAQ
Do I need a ChromaDB server running?
Yes, a ChromaDB server must be running, by default at localhost port 8000.
What does semantic search mean?
It finds text that matches the meaning of your query, not just the same words.
Can scripts use it?
Yes, its JSON output makes it easy for scripts and AI agents to read.
Details
Original description by the author
Command-line interface for ChromaDB - A stateless CLI for managing vector database collections, documents, and semantic search. Designed for AI agents and automation via the ChromaDB HTTP API v2.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3188
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.