cli-anything-chromadb
यह क्या करती है
यह स्किल आपके एजेंट को ChromaDB वेक्टर डेटाबेस प्रबंधित करने देती है, जो टेक्स्ट को अर्थ के आधार पर खोजने योग्य बनाकर रखता है। यह उन लोगों के लिए है जो AI टूल के लिए खोज या मेमोरी बना रहे हैं।
कब इस्तेमाल करें
- ✓जब आप अपने ChromaDB डेटाबेस में संग्रह बनाना या सूचीबद्ध करना चाहें।
- ✓जब आप बाद में खोजने के लिए किसी संग्रह में दस्तावेज़ जोड़ना चाहें।
- ✓जब आप सटीक शब्दों के बजाय अर्थ के आधार पर सहेजे टेक्स्ट में खोजना चाहें।
Skill का लिंक
https://github.com/HKUDS/CLI-Anything/blob/main/chromadb/agent-harness/cli_anything/chromadb/skills/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे hub_knowledge संग्रह में नोट्स खोजिए कि हम ऐप कैसे deploy करते हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल आपके ChromaDB सर्वर को उसके HTTP API के ज़रिए कमांड भेजती है। वह संग्रह सूचीबद्ध कर सकती है, दस्तावेज़ प्रबंधित कर सकती है, और ऐसी अर्थ-आधारित क्वेरी चला सकती है जो सबसे निकटतम मिलान लौटाए।
तकनीकी सामग्री (मूल 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 (
--jsonflag): 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:
- Always use
--jsonflag for parseable output - Check return codes - 0 for success, non-zero for errors
- Parse stderr for error messages on failure
- Use
--hostto connect to non-default ChromaDB instances
Version
1.0.0
अक्सर पूछे जाने वाले सवाल
क्या मुझे ChromaDB सर्वर चलाना होगा?
हाँ, ChromaDB सर्वर चल रहा होना चाहिए, डिफ़ॉल्ट रूप से localhost पोर्ट 8000 पर।
अर्थ-आधारित खोज का क्या मतलब है?
यह आपकी क्वेरी के अर्थ से मेल खाने वाला टेक्स्ट खोजती है, केवल वही शब्द नहीं।
क्या स्क्रिप्ट इसका उपयोग कर सकती हैं?
हाँ, इसका 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
- अपडेट की गई
- 21/9/2026
कमेंट
- …
इस repository की और skills
cli-anything-3mf
58kयह आपके एजेंट को 3D प्रिंटिंग फ़ाइलों का निरीक्षण और सुधार करने देती है, जिसमें गोल छेद खोजना, उनका आकार बदलना, मेश ठीक करना और दो फ़ाइलों की तुलना शामिल है।
cli-anything-qgis
58kयह आपके एजेंट को टर्मिनल से QGIS मैप प्रोजेक्ट खोलने, संपादित करने और निर्यात करने देती है, जिसमें लेयर, फ़ीचर, प्रिंट लेआउट और प्रोसेसिंग टूल शामिल हैं।
cli-anything-adguardhome
58kयह आपके एजेंट को AdGuard Home, एक नेटवर्क-व्यापी ऐड ब्लॉकर, प्रबंधित करने देती है, जिसमें फ़िल्टर, DNS rewrites, क्लाइंट और क्वेरी लॉग शामिल हैं।
cli-anything-anygen
58kयह आपके एजेंट को लिखे गए प्रॉम्प्ट से AnyGen सेवा का उपयोग करके स्लाइड, दस्तावेज़, वेबसाइट और आरेख बनवाने देती है।
मिलती-जुलती skills
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
clickhouse-io
280kआपके एजेंट को ClickHouse databases में queries और schemas optimize करने में मदद करता है। high-performance analytical workloads के लिए best practices लागू करता है। जब analytical queries बहुत धीमी हों, तब इसका उपयोग करें।
scientific-db-pubmed-database
280kआपके एजेंट को बायोमेडिकल क्षेत्र के वैज्ञानिक लेख खोजने में मदद करता है। जिस रिसर्च में खास मेडिकल जानकारी चाहिए, उसके लिए यह काम का है।