cli-anything
यह क्या करती है
यह स्किल Codex को किसी ग्राफ़िकल ऐप या सोर्स रिपॉज़िटरी के लिए कमांड-लाइन हार्नेस बनाने का मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जो चाहते हैं कि AI एजेंट किसी सॉफ़्टवेयर को कमांड-लाइन से नियंत्रित करे।
कब इस्तेमाल करें
- ✓जब आप किसी डेस्कटॉप ऐप के लिए कमांड-लाइन इंटरफ़ेस बनवाना चाहते हैं।
- ✓जब आप किसी मौजूदा हार्नेस में नए फ़ीचर जुड़वाना चाहते हैं।
- ✓जब आप किसी हार्नेस की जाँच उसके गुणवत्ता नियमों के अनुसार करवाना चाहते हैं।
Skill का लिंक
https://github.com/HKUDS/CLI-Anything/blob/main/codex-skill/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Inkscape ऐप के सोर्स से उसके लिए कमांड-लाइन हार्नेस बनाइए, और फिर उसकी जाँच कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्किल CLI-Anything की विधि को पढ़ती है और उसके चरणों का पालन करते हुए एक Python कमांड-लाइन टूल की योजना बनाती, बनाती और जाँचती है। यह बनाए गए फ़ॉर्मेट को बाकी संग्रह के अनुरूप रखती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
CLI-Anything for Codex
Use this skill when the user wants Codex to act like the CLI-Anything builder.
Read the Full Methodology First
Before implementation, use the full methodology source of truth:
- Read
references/HARNESS.mdrelative to this skill directory. - Read the matching mode specification under
references/commands/. - Read referenced files under
references/guides/only when they apply to the target. - If the installed resources are unavailable and this skill is being used from a
CLI-Anythingrepository checkout, read../cli-anything-plugin/HARNESS.mdand the resources around it. - If neither local source is available, clone or download
https://github.com/HKUDS/CLI-Anythingand usecli-anything-plugin/HARNESS.md. - Only if all full-methodology sources are unavailable, follow the condensed rules below.
The installer vendors the canonical resources from cli-anything-plugin/ into this
skill so a normal Codex installation is self-contained.
Resource Map
| Path | Purpose |
|---|---|
references/HARNESS.md |
Complete methodology and quality rules |
references/commands/cli-anything.md |
Build-mode specification |
references/commands/refine.md |
Refine-mode specification |
references/commands/test.md |
Test-mode specification |
references/commands/validate.md |
Validation checklist |
references/commands/list.md |
Installed/generated harness discovery |
references/guides/ |
On-demand implementation guidance |
scripts/repl_skin.py |
Copy into generated harnesses as utils/repl_skin.py |
scripts/preview_bundle.py |
Copy into preview-capable harnesses as utils/preview_bundle.py |
scripts/skill_generator.py |
Generate canonical and packaged CLI skills |
scripts/templates/SKILL.md.template |
Skill generation template used by skill_generator.py |
references/docs/PREVIEW_PROTOCOL.md |
Shared preview bundle protocol |
When reading vendored documents, apply these path remappings instead of resolving plugin paths against the current working directory:
| Document reference | Installed skill path |
|---|---|
guides/... |
references/guides/... |
cli-anything-plugin/repl_skin.py |
scripts/repl_skin.py |
cli-anything-plugin/preview_bundle.py |
scripts/preview_bundle.py |
cli-anything-plugin/skill_generator.py |
scripts/skill_generator.py |
templates/SKILL.md.template |
scripts/templates/SKILL.md.template |
docs/PREVIEW_PROTOCOL.md |
references/docs/PREVIEW_PROTOCOL.md |
Inputs
Accept either:
- A local source path such as
./gimpor/path/to/software - A GitHub repository URL
Derive the software name from the local directory name after cloning if needed.
Modes
Build
Read references/commands/cli-anything.md. Build a complete harness through source
analysis, architecture design, implementation, test planning, test implementation,
test documentation, CLI-specific SKILL.md generation, and local installation.
Refine
Read references/commands/refine.md. Inventory current commands and tests, compare
them against the target software, then incrementally add high-impact capabilities
without removing existing commands unless the user requests a breaking change.
Test
Read references/commands/test.md. Run the harness tests against the real backend,
verify installed-command subprocess coverage, and update TEST.md only with passing
results.
Validate
Read references/commands/validate.md. Validate the harness against the complete
directory, implementation, test, documentation, packaging, and code-quality checklist.
List
Read references/commands/list.md. Discover installed and generated CLI-Anything tools
and support human-readable or JSON output as requested.
Condensed Fallback Rules
Use these only when the full methodology cannot be retrieved.
Harness Structure
Produce:
<software>/
└── agent-harness/
├── <SOFTWARE>.md
├── setup.py
└── cli_anything/
└── <software>/
├── README.md
├── __init__.py
├── __main__.py
├── <software>_cli.py
├── core/
├── utils/
└── tests/
Required Behavior
- Prefer the real software backend over reimplementation.
- Provide one-shot Click subcommands and default REPL mode.
- Support
--jsonmachine-readable output. - Add session state with undo/redo where t
अक्सर पूछे जाने वाले सवाल
इस विधि की जानकारी कहाँ से आती है?
स्किल पूरी विधि अपनी बंडल की गई फ़ाइलों से पढ़ती है, या जब उपलब्ध हो तो CLI-Anything के checkout या डाउनलोड से।
यह क्या-क्या बना सकती है?
यह GUI ऐप्स या सोर्स रिपॉज़िटरी के लिए हार्नेस बना सकती है।
क्या यह मौजूदा टूल्स की सूची दिखा सकती है?
हाँ, यह पहले से मौजूद हार्नेस की सूची दिखा सकती है।
जानकारी
लेखक का मूल विवरण
Use when the user wants Codex to build, refine, test, validate, or list CLI-Anything harnesses for GUI applications or source repositories. Adapts the full CLI-Anything methodology to Codex without changing the generated Python harness format.
repo: HKUDS/CLI-Anything
लोकप्रियता
- GitHub स्टार
- 58k
- रैंकिंग में स्थान
- #3197
- लाइसेंस
- 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
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।