cli-anything-chromadb

cli-anything-chromadb is a skill for Claude Code, Codex from HKUDS/CLI-Anything. It costs 47 tokens per session (696 once invoked), scanned A, original, Apache-2.0.

A command-line tool for ChromaDB, a database that stores documents and their numerical representations so related text can be found by meaning. It connects to ChromaDB through its web API.

In plain words
What is it for?
Use it to check the server, manage collections, add or inspect documents, and search a collection using natural-language text.
Why use it?
It lets scripts and coding agents manage stored information and run meaning-based searches without using a browser interface.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check the server, manage collections, add or inspect documents…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hkuds/cli-anything/cli-anything-chromadb
About the project

CLI-Anything turns software and services into command-line interfaces that AI agents can use to perform tasks and produce artifacts. It is intended for people building or using agent workflows with tools such as coding assistants, design software, and other applications. The catalogue entries are skills, commands, a plugin, and a rule for working with CLI-Anything.

HKUDS/CLI-Anything · 49,039 stars · on GitHub · clianything.cc

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HKUDS/CLI-Anything --skill cli-anything-chromadb
Clone the repo
git clone --depth 1 https://github.com/HKUDS/CLI-Anything

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-anything-chromadb

README.md
[![agentmods](https://agentmods.dev/badge/skills/hkuds/cli-anything/cli-anything-chromadb.svg)](https://agentmods.dev/skills/hkuds/cli-anything/cli-anything-chromadb)
Your own site
<a href="https://agentmods.dev/skills/hkuds/cli-anything/cli-anything-chromadb"><img src="https://agentmods.dev/badge/skills/hkuds/cli-anything/cli-anything-chromadb.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 696 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00696
Opus 5 $0.00023 $0.00348
Sonnet 5 $0.00009 $0.00139
Haiku 4.5 $0.00005 $0.00070

Measured 7d ago against content hash 98eb0bca8a23, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cli-anything-chromadb scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cli-anything-chromadb/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on 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

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 117 lines · 47 tokens per session scan A 98eb0bca8a23

Subscribe to this mod's changes

cli-anything-chromadb is a skill published in the GitHub repository HKUDS/CLI-Anything (49,039 stars, last pushed 16d ago), licensed Apache-2.0. It adds 47 tokens to every session and 696 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.