Communitygithub.com

cli-anything-chromadb

ChromaDBベクターデータベース用のステートレスなコマンドラインインターフェース。HTTP API v2上に構築。

cli-anything-chromadb とは?

cli-anything-chromadb は、ChromaDBベクターデータベースと対話するためのステートレスなCLIツールです。このツールは、HTTP API v2を利用しており、ブラウザUIを使わずにコレクション管理、ドキュメント操作、セマンティック検索を実行できます。主にAIエージェントやパワーユーザー向けに設計されており、`--json` フラグで機械可読なJSON出力をサポートするため、スクリプトや自動化ワークフローへの組み込みが容易です。基本的な操作は `cli-anything-chromadb` コマンドから実行し、サブコマンドには `server`(ヘルスチェック、バージョン確認)、`collection`(コレクションの作成、一覧、削除)、`document`(ドキュメントの追加、取得、削除、カウント)、`query`(セマンティック検索)があります。また、引数なしで実行するとインタラクティブなREPLモードを提供し、タブ補完や履歴機能で効率的な作業が可能です。このツールはPython 3.10以上が必要で、ChromaDBサーバーが `localhost:8000` で実行されていることを前提としていますが、`--host` オプションで接続先を変更できます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-chromadb

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

cli-anything-chromadb は何をしますか?

ChromaDBベクターデータベースのためのステートレスなコマンドラインインターフェースです。HTTP API v2上に構築されており、ブラウザUIを使わずにコレクション、ドキュメントの管理やセマンティッククエリを実行したいAIエージェントやパワーユーザー向けに設計されています。

インストール

このCLIは cli-anything-chromadb パッケージの一部としてインストールされます。

pip install cli-anything-chromadb

前提条件:

  • Python 3.10+
  • ChromaDBサーバーが localhost:8000 で動作していること(--host で指定可能)

使い方

基本コマンド

# ヘルプを表示
cli-anything-chromadb --help

# 対話型REPLモードを開始
cli-anything-chromadb

# サーバーのヘルスチェック
cli-anything-chromadb --json server heartbeat

# 全コレクションを一覧表示
cli-anything-chromadb --json collection list

# セマンティック検索
cli-anything-chromadb --json query search --collection hub_knowledge --text "デプロイ方法"

REPLモード

サブコマンドを指定せずに呼び出すと、対話型REPLセッションが開始されます。

cli-anything-chromadb
# タブ補完と履歴機能を使って対話的にコマンドを入力

コマンドグループ

server

サーバーのヘルスとバージョンに関するコマンド。

コマンド説明
heartbeatChromaDBサーバーのヘルスを確認
versionChromaDBサーバーのバージョンを取得

collection

ChromaDBのコレクションを管理します。

コマンド説明
list全コレクションを一覧表示
create --name NAME新しいコレクションを作成
delete --name NAMEコレクションを削除
info NAMEコレクションの情報を取得

document

コレクション内のドキュメントを管理します。

コマンド説明
add --collection C --id ID --document TEXTドキュメントを追加
get --collection Cドキュメントを取得
delete --collection C --id IDドキュメントを削除
count --collection Cドキュメント数をカウント

query

コレクションに対するセマンティック検索。

コマンド説明
search --collection C --text Tセマンティック検索

出力形式

すべてのコマンドは2つの出力モードをサポートしています。

  • 人間可読(デフォルト): テーブル、色付き、フォーマット済みテキスト
  • 機械可読(--json フラグ): エージェントが消費するための構造化JSON
# 人間向け出力
cli-anything-chromadb server heartbeat

# エージェント向けJSON出力
cli-anything-chromadb --json server heartbeat

AIエージェント向け

このCLIをプログラム的に使用する場合は:

  1. 常に --json フラグ を使用して解析可能な出力を取得する
  2. リターンコードを確認する - 0は成功、非0はエラー
  3. stderr を解析する - エラー時のメッセージ取得のため
  4. --host を使用する - デフォルト以外のChromaDBインスタンスに接続する場合

バージョン

1.0.0

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

cli-anything-inkscape

>-

関連スキル