HKUDS / CLI-Anything
CLI-Anything: Making ALL Software Agent-Native
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing HKUDS/CLI-Anything in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler view CLI-Anything: Making ALL Software Agent-Native Today's Software Serves Humansπ¨βπ». Tomorrow's Users will be Agentsπ€. CLI-Anything: Bridging the Gap Between AI Agents and the World's Software **One Command Line**: Make any software agent-ready for OpenClaw, nanobot, Cursor, Claude Code, etc. **δΈζζζ‘£** | **ζ₯ζ¬θͺγγγ₯γ‘γ³γ** **π CLI-Hub**: Browse & install all community CLIs in one place. Have a CLI for a new software? Open a PR β the hub updates instantly. --- π° News > Thanks to all invaluable efforts from the community! More updates continuously on the way everyday.. β’ **2026-03-17** π Launched the **CLI-Hub** β a central registry where you can browse, search, and install any CLI with a single command. Contributors can add new CLIs or update existing ones by simply opening a PR with a entry. The hub updates automatically on merge. β’ **2026-03-16** π€ Added **SKILL.md generation** (Phase 6.5) β every generated CLI now ships with an AI-discoverable skill definition inside the Python package. ReplSkin auto-detects the skill file after , and the REPL banner displays the absolute path for agents. Includes , Jinja2 template, in all setup.py files, and 51 new tests. β’ **2026-03-15** πΎ Support for **OpenClaw** from the community! Merged Windows guard to ensure CLI-Anything works reliably in Windows bash environments. Community contributions continue to strengthen cross-platform support. β’ **2026-03-14** π Fixed a GIMP Script-Fu path injection vulnerability and added **Japanese README** translation. OpenCode version requirements documented alongside several Windows compatibility improvements. Earlier news β’ **2026-03-13** π **Qodercli** plugin officially merged as a community contribution with dedicated setup scripts. Codex skill gained a Windows install script, and placeholder URLs were cleaned up across the project. β’ **2026-03-12** π¦ **Codex skill** integration landed, bringing CLI-Anything to yet another AI coding platform. Qodercli support was also introduced, and documentation was updated with limitations and experimental labels. β’ **2026-03-11** π **Zoom** video conferencing harness added as the 11th supported application. Multiple community fixes shipped for Shotcut auto-save, LibreOffice Windows/macOS backend, and OpenCode support. --- π€ Why CLI? CLI is the universal interface for both humans and AI agents: β’ **Structured & Composable** - Text commands match LLM format and chain for complex workflows β’ **Lightweight & Universal** - Minimal overhead, works across all systems without dependencies β’ **Self-Describing** - --help flags provide automatic documentation agents can discover β’ **Proven Success** - Claude Code runs thousands of real workflows through CLI daily β’ **Agent-First Design** - Structured JSON output eliminates parsing complexity β’ **Deterministic & Reliable** - Consistent results enable predictable agent behavior π Quick Start Prerequisites β’ **Python 3.10+** β’ Target software installed (e.g., GIMP, Blender, LibreOffice, or your own application) β’ A supported AI coding agent: Claude Code | OpenClaw | OpenCode | Codex | Qodercli | More Platforms Pick Your Platform β‘ Claude Code **Step 1: Add the Marketplace** CLI-Anything is distributed as a Claude Code plugin marketplace hosted on GitHub. **Step 2: Install the Plugin** That's it. The plugin is now available in your Claude Code session. > **Note for Win Users:** Claude Code runs shell commands via . On Windows, install Git for Windows (includes and ) or use WSL; otherwise commands may fail with . **Step 3: Build a CLI in One Command** This runs the full pipeline: β’ π **Analyze** β Scans source code, maps GUI actions to APIs β’ π **Design** β Architects command groups, state model, output formats β’ π¨ **Implement** β Builds Click CLI with REPL, JSON output, undo/redo β’ π **Plan Tests** β Creates TEST.md with unit + E2E test plans β’ π§ͺ **Write Tests** β Implements comprehensive test suite β’ π **Document** β Updates TEST.md with results β’ π¦ **Publish** β Creates , installs to PATH **Step 4 (Optional): Refine and Improve the CLI** After the initial build, you can iteratively refine the CLI to expand coverage and add missing capabilities: The refine command performs gap analysis between the software's full capabilities and current CLI coverage, then implements new commands, tests, and documentation for the identified gaps. You can run it multiple times to steadily expand coverage β each run is incremental and non-destructive. Alternative: Manual Installation If you prefer not to use the marketplace: β‘ OpenCode (Experimental) **Step 1: Install the Commands** > **Note:** Please upgrade to the latest OpenCode. Older versions may use a different commands path. Copy the CLI-Anything commands **and** to your OpenCode commands directory: > **Note:** is the methodology spec that all commands reference. It must be in the same directory as the commands. This adds 5 slash commands: , , , , and . **Step 2: Build a CLI in One Command** The command runs as a subtask and follows the same 7-phase methodology as Claude Code. **Step 3 (Optional): Refine and Improve the CLI** β‘ Goose (Desktop / CLI) Experimental Community **Step 1: Install Goose** Install Goose (Desktop or CLI) using the official Goose instructions for your OS. **Step 2: Configure a CLI Provider** Configure Goose to use a CLI provider such as Claude Code, and make sure that CLI is installed and authenticated. **Step 3: Use CLI-Anything in a Goose Session** Once Goose is configured, start a session and use the same CLI-Anything commands described above for Claude Code, for example: > Note: When Goose runs through a CLI provider, it uses that provider's capabilities and command format. β‘ Qodercli Community **Step 1: Register the Plugin** This registers the cli-anything plugin in . Start a new Qodercli session after registration. **Step 2: Use CLI-Anything from Qodercli** β‘ OpenClaw Community *β¦