LLM Skills
~/catalogue/backend//SKILL
Backendsource GitHub

ChromaDB (CLI base vectorielle)

/SKILL

Interface de ligne de commande pour ChromaDB - Une interface de ligne de commande sans état pour gérer les collections de bases de données vectorielles, les documents et la recherche sémantique. Conçu

HKUDSHKUDS
47.7k
20 mai 2026
Apache License 2.0
// contenu du skill

name: "cli-anything-chromadb"

description: >-

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:

bash
pip install cli-anything-chromadb

Prerequisites:

  • Python 3.10+
  • ChromaDB server running at localhost:8000 (or specify via --host)

Usage

Basic Commands

bash
# 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:

bash
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.

CommandDescription
search --collection C --text TSemantic search

Output Formats

All commands support dual output modes:

  • Human-readable (default): Tables, colors, formatted text
  • Machine-readable (--json flag): Structured JSON for agent consumption
bash
# 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:

  1. **Always use --json flag** for parseable output
  2. Check return codes - 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure
  4. **Use --host** to connect to non-default ChromaDB instances

Version

1.0.0

// source originale publique
HKUDS/CLI-Anything
/skills/cli-anything-chromadb/SKILL.md
Projet indépendant, non affilié à Anthropic. Ce skill reste la propriété de son auteur original.
// installer ce skill
Collez cette commande dans votre terminal à la racine de votre projet :
mkdir -p .claude/commands && curl -o ".claude/commands/SKILL.md" "https://raw.githubusercontent.com/HKUDS/CLI-Anything/main/skills/cli-anything-chromadb/SKILL.md"
Ensuite dans Claude Code, tapez /SKILL pour l'activer.
open_in_newVoir la source originale
// sauvegarder
Sauvegarde disponible après connexion.
loginSe connecter pour sauvegarder
// informations
CréateurHKUDS
Étoiles 47.7k
CatégorieBackend
LicenceApache License 2.0
Mis à jour20 mai 2026
Format.md
AccèsGratuit
// similaires

Skills Backend

Voir toutarrow_forward