hkuds / cli-anything Architecture and code health
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
This connects Repowise to hkuds/cli-anything's code. It does not install cli-anything.
Repowise maps public repos from their source. Not affiliated with hkuds. What is Repowise?
github.com/hkuds/cli-anythingIndexed at 34f5195
What is cli-anything?
cli-anything is a collection of command-line tools, one per software package, that let engineers and AI agents control programs such as Audacity, FreeCAD and Zotero from a terminal. Each tool is a harness, a command-line wrapper that turns one program's actions into commands with text or JSON output. The project is written mainly in Python. To install it, run pip install cli-anything-hub and follow the steps below. Its code health is 8.4 out of 10 (Good), ranked #44 of 4,000+ indexed repos. The last commit to cli-anything was on Aug 21, 2026, and 146 people have contributed.
As of commit 34f5195, indexed Nov 21, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentscli-anything.md
Repo facts: type, license, health, rank, contributors
| License | Apache-2.0 |
|---|---|
| Code health | 8.4 / 10 (Good) |
| Health rank | #44 of 4,000+ indexed repos |
| Last commit | Aug 21, 2026 |
| Contributors | 146 |
| Bus factor | 13 |
| Size | 1,802 files, 258,359 lines |
Install cli-anything
Commands copied from the README
- 1Install the CLI-Hub package manager
pip install cli-anything-hub - 2Browse the registry of available CLIs
cli-hub list - 3Install a ready-made CLI, for example GIMP
cli-hub install gimp
Releases on GitHub (latest v0.4.0, Jun 25, 2026)
Explore cli-anything
- DocumentationModule-by-module documentation, 1,384 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to cli-anything's code. It does not install cli-anything. To install cli-anything, use the install steps.
Useful if you want to change or fork cli-anything: your agent can ask how it is put together and get answers that cite its files.
Ask about cli-anything
Answers come from cli-anything's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of hkuds/cli-anything from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
hkuds/cli-anything FAQ
What is cli-anything?
cli-anything is a collection of command-line tools, one per software package, that let engineers and AI agents control programs such as Audacity, FreeCAD and Zotero from a terminal. Each tool is a harness that turns a program's actions into commands with text or JSON output.
How does cli-anything work?
cli-anything wraps each desktop program in a harness that generates valid project files and delegates rendering to the real application. Users reach these CLIs through CLI-Hub, the registry where community-built harnesses are browsed and installed.
How do I install cli-anything?
Install cli-anything with pip install cli-anything-hub, then use cli-hub list to browse the registry. cli-hub install gimp installs a ready-made CLI, and some CLIs also need the upstream application installed. See the install steps
What language is cli-anything written in?
cli-anything is written mainly in Python, with 1266 Python files out of 1802 files in the repository. Smaller amounts of shell, JavaScript, C#, Swift and TypeScript code also appear.
How is the cli-anything code organized?
Each software package has its own module, such as freecad or mailchimp, under the cli_anything namespace. The repl_skin.py file is shared by all generated CLIs, and each CLI keeps its installable package in an agent-harness directory.
When should I use cli-anything?
Use cli-anything to give AI agents or engineers terminal control of desktop software that already has a CLI in CLI-Hub. When the registry has no CLI for a program, the generator can build a new harness for it.
What license does cli-anything use?
cli-anything is released under the Apache-2.0 license.
Code health
Hotspots average 3.4, the place fixes pay off most.
On the leaderboards:#8 of 71 Python repos
Key features of cli-anything
- CLI-Hub lets you browse, search, inspect, install, update, uninstall and launch community-built CLIs from one command.
- Every generated CLI runs as a stateful REPL for interactive agent sessions and as a subcommand interface for scripting.
- Each command has a --json flag that returns structured data for machine consumption.
- Claude Code users can generate a complete CLI for a software package with a single slash command.
- Tests fail instead of skipping when the real backend software is missing, so generated CLIs run against authentic software.
How hkuds/cli-anything works
Each CLI is built as its own module, such as freecad or audacity, and its code sits under the cli_anything namespace. The agent-harness directory inside a generated CLI holds the package that pip install -e . puts on the PATH, so a command such as cli-anything-gimp can be run from anywhere. The shared repl_skin.py file gives every generated CLI the same interactive mode, with prompts, command history and progress indicators. Commands accept a --json flag for machine-readable output, and a bare command starts a REPL session instead of running a subcommand. Generated CLIs write valid project files such as ODF, MLT XML or SVG and hand rendering to the real application. HARNESS.md holds the standards a harness is validated against, and TEST.md records its test results.
The codebase has 1,802 files and 20,835 symbols in 81 modules, led by Python, Shell and JavaScript. Code health is 8.4 out of 10, rated good.
Maintain hkuds/cli-anything?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of hkuds/cli-anything. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask cli-anything's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/hkuds/cli-anything?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/hkuds/cli-anything?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/hkuds/cli-anything.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/hkuds/cli-anything?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/hkuds/cli-anything.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/hkuds/cli-anything.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>