CLI-Anything generates agent-ready CLIs for GUI-first apps

HKUDS's open-source CLI-Anything uses a coding agent to wrap GUI apps in generated CLIs, with a community hub of ready-made harnesses.

CLI-Anything, an open-source project from HKUDS, uses a coding agent to build command-line harnesses for GUI-first software, so your agents can drive apps like Blender or LibreOffice without clicking through screens. As @bibryam summarized on X (Oct 19, 2026), a coding agent analyzes an app's source code, identifies its capabilities and generates a CLI that uses the app's existing backend, APIs or native file formats.

The README offers two starting points. You can install the CLI-Hub package manager (pip install cli-anything-hub, then cli-hub install <name>) to pull community-built harnesses. Or you can install the CLI-Anything plugin or skill for your agent and run its seven-phase harness generator against a codebase. Supported agents named in the README include Claude Code, Cursor, Pi, OpenClaw and nanobot. A DEV Community write-up (Oct 19) says the harnesses expose structured commands with JSON output and need Python 3.10 or newer. It puts the repo at 55,000 stars. A GitHub trending tracker counted about 52,593 on Oct 15.

The open question is trust. Harnesses come from community PRs, and the README says "the hub updates instantly." The repo's changelog records fixes to its own harnesses, including a GIMP Script-Fu path injection (March 14) and Sketch path-traversal hardening (#304, May 21). The trending tracker notes that how community CLIs are vetted for quality and security isn't clear. Scalar's MCP security guide gives advice for local agent tools that applies here by analogy: a malicious package runs with your privileges, so get consent before installing, sandbox the tool and use trusted sources. Independent testing of the generated harnesses is still thin, so treat any harness as code you review before an agent runs it.

Sources