본문으로 건너뛰기
Skillpedia
데이터베이스58k · #3188

cli-anything-chromadb

하는 일

이 스킬은 에이전트가 ChromaDB 벡터 데이터베이스를 관리하게 합니다. 이 데이터베이스는 텍스트를 의미로 검색할 수 있도록 저장합니다. AI 도구의 검색이나 메모리를 만드는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓ChromaDB 데이터베이스에 컬렉션을 만들거나 나열하고 싶을 때.
  • ✓나중에 검색할 수 있도록 컬렉션에 문서를 추가하고 싶을 때.
  • ✓정확한 단어가 아니라 의미로 저장된 텍스트를 검색하고 싶을 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/chromadb/agent-harness/cli_anything/chromadb/skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/chromadb/agent-harness/cli_anything/chromadb/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“hub_knowledge 컬렉션에서 우리가 앱을 배포하는 방법에 대한 메모를 검색해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 HTTP API로 ChromaDB 서버에 명령을 보냅니다. 컬렉션을 나열하고, 문서를 관리하며, 가장 가까운 결과를 돌려주는 의미 쿼리를 실행할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

Output Formats

All commands support dual output modes:

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

자주 묻는 질문

ChromaDB 서버가 실행 중이어야 하나요?

네. 기본적으로 localhost 포트 8000에서 ChromaDB 서버가 실행되고 있어야 합니다.

의미 검색이란 무엇인가요?

정확히 같은 단어가 아니라 쿼리의 의미와 맞는 텍스트를 찾는 것입니다.

스크립트에서도 쓸 수 있나요?

네. JSON 출력 덕분에 스크립트와 AI 에이전트가 쉽게 읽을 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: HKUDS/CLI-Anything

인기도

GitHub 스타
58k
순위
#3188
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬