the repo that gives your agent a CLI for any app
Your agent can now talk to literally any app You commented "repo," so here it is. Most software has no CLI and no MCP server, which means your agent is stuck sc...
the short answer
CLI-Anything is an open-source tool that reads any application's source code and automatically generates a custom command-line interface, allowing AI agents like Claude Code to interact with software through commands instead of UI automation.
key takeaways
- CLI-Anything reads the source code of any repo or software and generates a working CLI with commands, tests, and docs.
- It supports AI agents including Claude Code, Codex, and Cursor.
- The tool eliminates the need for agents to use screenshot-based or click-through UI automation.
- Installation is done through the plugin marketplace with simple commands, and it runs by pointing to a target app directory.
- The project has approximately 49k GitHub stars and is actively maintained.
Your agent can now talk
to literally any app
You commented "repo," so here it is.
Most software has no CLI and no MCP server, which means your agent is stuck screenshotting and clicking its way through the UI. This tool fixes that: point it at a repo or piece of software, and it reads the source and generates a custom command-line interface your agent can use directly.
01 / what it does
It's called CLI-Anything. Hand it Claude Code (or Codex, Cursor, and a handful of other agents), give it a repo, and it builds a working CLI with commands, tests, and docs for that piece of software, then keeps refining it as you use it.
02 / install
/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
03 / run it
/cli-anything ./your-target-app
That's the whole workflow. Your agent walks away with real command-line access instead of a screenshot loop.
open source, actively maintained, and sitting at roughly 49k GitHub stars as of this send. worth a star and a clone.
https://github.com/HKUDS/CLI-Anything
, Mark
You're receiving this because you commented on a recent post.
frequently asked
How does CLI-Anything work[+]
CLI-Anything reads the source code of any application you point it to and automatically generates a custom command-line interface with commands, tests, and documentation that your AI agent can use directly.
What AI agents support CLI-Anything[+]
CLI-Anything works with Claude Code, Codex, Cursor, and several other AI agents.
How do I install CLI-Anything[+]
Add the plugin via /plugin marketplace add HKUDS/CLI-Anything, then install it with /plugin install cli-anything.
How do I use CLI-Anything on an application[+]
Run /cli-anything followed by the path to your target app, like /cli-anything ./your-target-app.
Why do I need CLI-Anything for my agent[+]
Most software has no CLI or MCP server, which forces agents to use slow and unreliable screenshot-and-click automation. CLI-Anything gives them real command-line access instead.
keep exploring