CLI-Anything gives an AI agent a command-line route into software: install an existing harness through CLI-Hub, or generate one for software that is not already covered. A harness is the command interface the agent uses to interact with an app. The project also lists prerequisites and app types that are poor candidates for its generator. (CLI-Anything)
How do the two CLI-Anything routes work?
Use CLI-Hub when a suitable harness already exists; use the generator when the target software is not covered and its underlying software is a plausible fit. The project describes both routes. (CLI-Anything repository)
| Route | When it fits | What you do | Requirements or constraints |
| Install through CLI-Hub | A harness for the software is available in the registry | Install CLI-Hub, then list or search for a harness and install it | Some harnesses also require the upstream application to be installed |
| Generate a harness | The software is not already covered and has an accessible software path or repository | Install the Claude Code plugin, then point /cli-anything at the software | Python 3.10 or later; the project also lists click and pytest. The project says some app types are poor fits |
The routes are practical alternatives, not guarantees that a particular app or task will work. Start by looking for an existing harness: the repository documents pip install cli-anything-hub, followed by CLI-Hub commands such as list, search, info and install. (CLI-Anything repository)
If you need to generate one with Claude Code, the documented sequence is to add the project marketplace with /plugin marketplace add HKUDS/CLI-Anything, install the plugin with /plugin install cli-anything, then run /cli-anything <software-path-or-repo>. On Windows, the repository says Claude Code shell commands need Git for Windows with bash and cygpath, or WSL. (CLI-Anything repository)
The project’s plugin README identifies purely binary, undocumented formats, real-time interactive apps, and apps that require GPU or display access as poor fits for generation. Some harnesses also depend on having the upstream application installed. (CLI-Anything plugin README)
Start with the registry; reach for generation when the software and its requirements make that a plausible next step.
What can an agent do through a desktop-app harness?
A harness can expose app actions to an agent as commands. In a first-person account, Mahnoor Faisal described building custom harnesses around macOS scripting interfaces for Apple Music, Apple Notes and Spotify. She reported creating and searching notes, and playing or pausing Spotify. For NotebookLM, she described using a community-built harness to find a notebook and list its sources. She also reported that Claude Code found a contact and sent a text through Messages.
These examples show a range of reported actions, from retrieving information to sending a message. Apple documents a separate macOS privacy control for app-to-app access, which is worth understanding before setting up a workflow that controls other apps.
What does macOS Automation allow?
Apple says macOS’s Automation category in Privacy & Security settings allows apps to access and control other apps. Apps listed there have requested that access. (Apple Support)