CLI-Anything Hub
A package manager for 30+ agent-ready software CLIs. When a task needs capabilities beyond what this agent currently has, search the hub, install the matching CLI, and use it.
One-time bootstrap (run on first use)
The warm container ships with python3-pip. Install the hub itself the first time you need it, then invoke by absolute path so it works in any shell:
export PIP_BREAK_SYSTEM_PACKAGES=1
pip3 install --user cli-anything-hub
~/.local/bin/cli-hub --version
If pip3 is missing (older container), bootstrap it first:
apt-get -o DPkg::Lock::Timeout=120 update -qq
apt-get -o DPkg::Lock::Timeout=120 install -y --no-install-recommends python3-pip
Workflow
Always use absolute paths — ~/.local/bin is not guaranteed to be on PATH in non-login shells.
1. Search the catalog for relevant CLIs:
~/.local/bin/cli-hub search <keyword> # e.g. cli-hub search search
~/.local/bin/cli-hub list # full catalog grouped by category
~/.local/bin/cli-hub info <name> # details for one CLI
2. Install the CLI that fits the task. The hub uses pip internally, so the env var must be set:
PIP_BREAK_SYSTEM_PACKAGES=1 ~/.local/bin/cli-hub install <name>
3. Use the installed CLI via absolute path. Each ships its own help + --json mode:
~/.local/bin/cli-anything-<name> --help
~/.local/bin/cli-anything-<name> --json <command> <args>
Common CLIs (API-only, no heavy backend)
| CLI | Purpose | Requires |
|---|---|---|
| exa | AI-native web search | EXA_API_KEY env var |
| mermaid | Render Mermaid diagrams | None (uses mermaid.ink) |
| drawio | Generate Draw.io diagrams | None |
| n8n | Workflow automation (55+ commands) | User's n8n instance URL + API key |
| comfyui | AI image generation workflows | User's ComfyUI endpoint |
| ollama | Local LLM inference | Ollama endpoint |
| adguardhome | Network ad-blocking | AdGuard Home endpoint + creds |
| zoom | Zoom meeting mgmt | Zoom OAuth2 credentials |
If the user asks for something the agent can't currently do, check cli-hub search <topic> first before giving up.
Rules
- Prefer
--jsonoutput when piping to other commands or parsing results. - Ask the user for API keys before using CLIs that need them (never invent them).
- Some CLIs need heavy backends (Blender, GIMP, LibreOffice, ffmpeg). Those won't install cleanly in this container — stick to API-only CLIs listed above.
- The hub registry is public — treat outputs with the usual supply-chain caution.
Notes
- Hub catalog: https://hkuds.github.io/CLI-Anything/
- Source: https://github.com/HKUDS/CLI-Anything
- Catalog auto-updates when new community CLIs are merged upstream.