मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग58k · #3239

cli-anything

यह क्या करती है

यह स्किल AI एजेंट को उस प्रोग्राम के लिए कमांड-लाइन इंटरफ़ेस बनाने का मार्गदर्शन देती है, जो आम तौर पर बटन और विंडो से चलता है। यह उन डेवलपर्स के लिए है जो चाहते हैं कि उनका एजेंट ऐसे टूल खुद बनाए।

कब इस्तेमाल करें

  • ✓जब आप चाहते हैं कि एजेंट आपके इस्तेमाल किए डेस्कटॉप ऐप का कमांड-लाइन वर्ज़न बनाए।
  • ✓जब आपके पास सोर्स कोड प्रोजेक्ट है और उसके लिए कमांड टूल बनवाना है।
  • ✓जब आप एजेंट के बनाए कमांड-लाइन टूल का टेस्ट और जाँच करना चाहते हैं।

Skill का लिंक

https://github.com/HKUDS/CLI-Anything/blob/main/reasonix-skill/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/HKUDS/CLI-Anything/blob/main/reasonix-skill/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मैं GIMP इमेज एडिटर के लिए एक कमांड-लाइन टूल बनवाना चाहता हूँ, ताकि मेरा एजेंट उसे इस्तेमाल कर सके।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट तरीके की गाइड पढ़ता है, ऐप या रिपॉज़िटरी का अध्ययन करता है, और टूल के लिए Python कोड लिखता है, टेस्ट समेत। फिर वह जाँचता है कि टूल काम कर रहा है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

CLI-Anything for Reasonix

Use this skill when the user wants Reasonix to act like the CLI-Anything builder.

Before implementation, use the full methodology source of truth when available:

  1. If the current workspace is the CLI-Anything repository, read cli-anything-plugin/HARNESS.md.
  2. If Reasonix is running from this adapter directory, also check ../cli-anything-plugin/HARNESS.md.
  3. If neither local file is available, clone or download cli-anything-plugin from https://github.com/HKUDS/CLI-Anything/tree/main/cli-anything-plugin, then use HARNESS.md and the resources around it from that folder.
  4. Only if local and network retrieval both fail, follow the condensed rules below.

Inputs

Accept either:

  • A local source path such as ./gimp or /path/to/software
  • A GitHub repository URL

Derive the software name from the local directory name after cloning if needed.

Reasonix Tool Bindings

Reasonix agents build harnesses by combining these built-in tools:

Reasonix Tool Role in Harness Workflow
bash Run shell commands, install packages, execute CLI tools, run tests, clone repos
write_file Generate Python files (Click CLI, backend modules, tests, setup.py)
edit_file Make targeted edits to generated code (single replacement)
multi_edit Apply multiple atomic edits to a single file in one pass
read_file Read target software source files, existing harness code, test results
grep Search for patterns across the target software codebase (APIs, CLI tools, data models)
glob Find files matching patterns in the source tree (*.py, *.xml, *.json, etc.)
ls List directory contents to understand project structure
mcp__codegraph__search / mcp__codegraph__context Optional code graph analysis when CodeGraph is enabled (Reasonix strips the codegraph_ raw prefix, so the model-visible names omit it)
web_fetch Fetch documentation, API references, or remote files from the web

Recommended Workflow with Reasonix Tools

Phase 1 (Analysis) — Use ls + glob to survey the source tree, grep to find API surfaces and CLI entry points, and read_file to inspect key files. When CodeGraph is enabled and its tools are available, use mcp__codegraph__search and mcp__codegraph__context for deeper symbol and architecture analysis.

Phase 2-3 (Design & Implementation) — Use write_file to create new harness files, edit_file / multi_edit to refine generated code, and bash to run pip install -e . for installation.

Phase 4-6 (Testing) — Use bash to run pytest and capture results, read_file to inspect test output, and write_file to update TEST.md.

Phase 7 (Packaging) — Use write_file for setup.py, bash for pip install -e . and which cli-anything-<software> verification.

Step Budget

A full harness build typically requires 25–40 tool-call rounds (architecture inspection, 10+ file writes, installation, and multiple test runs). When invoked via run_skill, the subagent inherits a step budget derived from the parent agent's agent.max_steps setting in reasonix.toml:

  • If max_steps = 0 (the default, meaning unlimited), the subagent also runs with no step cap — this is the recommended configuration for the CLI-Anything workflow.
  • If max_steps is set to a finite value, the subagent receives half that budget (minimum 5), which may truncate a complex build before completion.

Users who have configured a finite max_steps should ensure it is set to 0 or a sufficiently high value (e.g., 64 or more) before running a CLI-Anything build, so the subagent has enough rounds to complete all seven phases.

Modes

Build

Use when the user wants a new harness.

Produce this structure:

<repo-root>/
├── skills/
│   └── cli-anything-<software>/
│       └── SKILL.md
└── <software>/
    └── agent-harness/
        ├── <SOFTWARE>.md
        ├── setup.py
        └── cli_anything/
            └── <software>/
                ├── README.md
                ├── __init__.py
                ├── __main__.py
                ├── <software>_cli.py
                ├── core/
                ├── utils/
                ├── tests/
                └── skills/
                    └── SKILL.md

Implement a stateful Click CLI with:

  • one-shot subcommands
  • REPL mode as the default when no subcommand is given
  • --json machine-readable output
  • session state
अक्सर पूछे जाने वाले सवाल

यह तरीका कहाँ से आता है?

स्किल CLI-Anything प्रोजेक्ट की HARNESS.md गाइड की ओर इशारा करती है, या तो लोकल कॉपी से या GitHub से।

क्या इसे चलाने के लिए Reasonix चाहिए?

स्किल Reasonix के लिए एक adapter के रूप में लिखी गई है, जो वह एजेंट वातावरण है जिसमें यह चलती है।

क्या यह सिर्फ़ ग्राफ़िकल ऐप्स के लिए है?

नहीं। इसके इनपुट लोकल सोर्स पाथ या GitHub रिपॉज़िटरी हो सकते हैं, इसलिए यह कोड प्रोजेक्ट्स पर भी काम करती है।

जानकारी

लेखक का मूल विवरण

Use when the user wants Reasonix to build, refine, test, or validate a CLI-Anything harness for a GUI application or source repository. Adapts the CLI-Anything methodology to Reasonix without changing the generated Python harness format.

repo: HKUDS/CLI-Anything

लोकप्रियता

GitHub स्टार
58k
रैंकिंग में स्थान
#3239
लाइसेंस
Apache-2.0
अपडेट की गई
21/9/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

cli-anything-3mf

58k

यह आपके एजेंट को 3D प्रिंटिंग फ़ाइलों का निरीक्षण और सुधार करने देती है, जिसमें गोल छेद खोजना, उनका आकार बदलना, मेश ठीक करना और दो फ़ाइलों की तुलना शामिल है।

डिज़ाइनइमेज और आइकन

cli-anything-qgis

58k

यह आपके एजेंट को टर्मिनल से QGIS मैप प्रोजेक्ट खोलने, संपादित करने और निर्यात करने देती है, जिसमें लेयर, फ़ीचर, प्रिंट लेआउट और प्रोसेसिंग टूल शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

cli-anything-adguardhome

58k

यह आपके एजेंट को AdGuard Home, एक नेटवर्क-व्यापी ऐड ब्लॉकर, प्रबंधित करने देती है, जिसमें फ़िल्टर, DNS rewrites, क्लाइंट और क्वेरी लॉग शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

cli-anything-anygen

58k

यह आपके एजेंट को लिखे गए प्रॉम्प्ट से AnyGen सेवा का उपयोग करके स्लाइड, दस्तावेज़, वेबसाइट और आरेख बनवाने देती है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

मिलती-जुलती skills