Skills

CLI Anything Chromadb

Command-line interface for ChromaDB - A stateless CLI for managing vector database...

Install

npx skills add HKUDS/CLI-Anything --skill cli-anything-chromadb -g -a claude-code -y
Repository
HKUDS/CLI-Anything58k
Category
Design
Updated
1mo ago
License
Apache-2.0
Context cost
Lightabout 664 tokens
Runs scripts
No, instructions only

What it does

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.

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.

CommandDescription
heartbeatCheck ChromaDB server health
versionGet ChromaDB server version

collection

Manage ChromaDB collections.

CommandDescription
listList all collections
create --name NAMECreate a new collection
delete --name NAMEDelete a collection
info NAMEGet collection info

document

Manage documents in collections.

CommandDescription
add --collection C --id ID --document TEXTAdd document(s)
get --collection CGet documents
delete --collection C --id IDDelete document(s)
count --collection CCount documents

query

Semantic search against collections.

Read the whole SKILL.md on GitHub

More in Design