Cli anything chromadb
Skill tharunramagiri/tarunai-connect/skills/cli-anything-chromadb
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.From its SKILL.md
npx -y skills add tharunramagiri/tarunai-connect --skill cli-anything-chromadbAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.9 KB, as published. Nobody here has run it
tarunai-connect-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 tarunai-connect-chromadb package:
pip install tarunai-connect-chromadb
Prerequisites:
- Python 3.10+
- ChromaDB server running at localhost:8000 (or specify via --host)
Usage
Basic Commands
# Show help
tarunai-connect-chromadb --help
# Start interactive REPL mode
tarunai-connect-chromadb
# Check server health
tarunai-connect-chromadb --json server heartbeat
# List all collections
tarunai-connect-chromadb --json collection list
# Semantic search
tarunai-connect-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:
tarunai-connect-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
tarunai-connect-chromadb server heartbeat
# JSON output for agents
tarunai-connect-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