HKUDS/CLI-Anything

▲ 41 stars today★ 49,850⑂ 4,598

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

About HKUDS/CLI-Anything

HKUDS/CLI-Anything is an open-source project on GitHub, mainly written in Python. "CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/ It currently holds 49,850 stars and 4,598 forks with 107 open issues, and was last pushed on 2026-09-22 (repository created 2026-03-08).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #78 with 41 new stars today.

GitHub Repository Details

Repository HKUDS/CLI-Anything · default branch main · size 42270 KB · watchers 199 · source: GitHub REST API and repository README

README

https://github.com/HKUDS/CLI-Anything/blob/HEAD/  CLI-Anything: Making ALL Software Agent-Native

https://github.com/HKUDS/CLI-Anything/blob/HEAD/GitHub Trending Repository of the Day https://github.com/HKUDS/CLI-Anything/blob/HEAD/HKUDS/CLI-Anything | Trendshift https://github.com/HKUDS/CLI-Anything/blob/HEAD/Star History Rank

Today's Software Serves Humans👨‍💻. Tomorrow's Users will be Agents🤖.
CLI-Anything: Bridging the Gap Between AI Agents and the World's Software

🌐 CLI-Hub: pip install cli-anything-hub then cli-hub install — browse, install, and manage all community-built CLIs. Want to add your own? Open a PR — the hub updates instantly.

🎬 See Demos: Watch AI agents use generated CLIs plus preview, live preview, and trajectory loops to produce real artifacts — CAD builds, 3D scenes, diagrams, gameplay, subtitles, and more.

🙋 [Become a Contributor, or Request a CLI]: Join us! Sign up to build a new CLI harness — once reviewed and merged, you'll gain access as one of our community contributors! Wish CLI-Anything supported a specific software or service? Submit a wishlist request!

https://github.com/HKUDS/CLI-Anything/blob/HEAD/Quick Start https://github.com/HKUDS/CLI-Anything/blob/HEAD/CLI Hub https://github.com/HKUDS/CLI-Anything/blob/HEAD/Demos https://github.com/HKUDS/CLI-Anything/blob/HEAD/Tests https://github.com/HKUDS/CLI-Anything/blob/HEAD/Tech Report https://github.com/HKUDS/CLI-Anything/blob/HEAD/License

https://github.com/HKUDS/CLI-Anything/blob/HEAD/Python https://github.com/HKUDS/CLI-Anything/blob/HEAD/Click https://github.com/HKUDS/CLI-Anything/blob/HEAD/Pytest https://github.com/HKUDS/CLI-Anything/blob/HEAD/Coverage https://github.com/HKUDS/CLI-Anything/blob/HEAD/Output https://github.com/HKUDS/CLI-Anything/blob/HEAD/Feishu https://github.com/HKUDS/CLI-Anything/blob/HEAD/WeChat

One Command Line: Make any software agent-ready for Pi, OpenClaw, nanobot, Cursor, Claude Code, etc.  中文文档 | 日本語ドキュメント | Deutsch

https://github.com/HKUDS/CLI-Anything/blob/HEAD/CLI-Anything typing demo

https://github.com/HKUDS/CLI-Anything/blob/HEAD/CLI-Anything Teaser

---

📰 News

Thanks to all invaluable efforts from the community! More updates continuously on the way everyday..
Earlier news (Apr 10–18)
  • 2026-04-18 🧩 All SKILL.md files are now being unified under the top-level skills/ directory — every CLI skill can be installed from one canonical source with npx skills add HKUDS/CLI-Anything --skill -g -y. We also added root-skill validation CI, synced contribution / PR docs and REPL skill-path hints to the new layout, and refreshed the CLI-Hub install-first frontend around the new npx skills flow.
  • 2026-04-17 🌐 CLI-Hub received another install UX pass — public registry metadata and skill coverage were tightened, visit counting was corrected, and the web hub was further refined. 🧪 Shotcut render output duration was fixed (#92). 📝 SKILL contribution paths were corrected for the new docs flow (#224), and the skill generator now safely handles empty intros (#203).
  • 2026-04-16 🗺️ QGIS CLI merged (#207) — a full GIS / map authoring harness landed. 🧬 UniMol Tools CLI merged (#219) for molecular modeling workflows. 🌐 CLI-Hub also added more public CLIs, including py4csr, refreshed its generated meta-skill, corrected SKILL contribution docs, and fixed apt-get package extraction in skill generation (#204).
  • 2026-04-16 📈 Unreal Insights CLI expanded — added background capture session control (capture start/status/snapshot/stop), engine-root-matched UnrealInsights.exe resolution/build flows, and refreshed docs/tests for the new orchestration workflow.
  • 2026-04-15 🌐 CLI-Hub updated to v0.2.0 — the PyPI package now supports public CLIs from multiple install sources (pip, npm, brew, bundled/system tools), backed by a new public_registry.json. The Hub frontend was redesigned with separate CLI-Anything CLIs and Public CLIs decks, and live end-to-end checks now cover real install, update, and uninstall flows across both pip and npm packages.
  • 2026-04-14 🧭 Safari CLI merged (#212) and added to the Hub registry — browser automation via safari-mcp. 🎬 Kdenlive also received compatibility fixes for Gen 5 project output and invalid project generation.
  • 2026-04-13 📓 Obsidian CLI merged (#211) — knowledge management harness via the Local REST API, with 48 unit tests and 7 E2E tests. ⛓️ Eth2-Quickstart CLI merged (#195) — Ethereum staking node management harness. 📚 Zotero CLI updated to v0.4.1 (#201) — now shipped from its standalone repo, and CLI-Hub gained support for remote skill_md URLs.
  • 2026-04-11 🔗 n8n CLI merged (#188) — workflow automation harness for self-hosted automation flows. 🔧 Exa CLI fix (#205) added the x-exa-integration header for usage tracking. 📦 CLI-Hub also gained its PyPI auto-publish workflow and package refresh pipeline.
  • 2026-04-10 📦 CLI-Hub package manager launched — pip install cli-anything-hub to browse, search, install, update, and uninstall CLI-Anything harnesses from one command. The web Hub also shipped its first install-focused frontend refresh and "Empower yourself" toolkit card.
Earlier news (Apr 1–9)
  • 2026-04-09 🧹 Cleanup and docs pass (#200) — fixed Openscreen test subtotals, added Openscreen to the Chinese README and project structure, and clarified /cli-anything command syntax in the docs.
  • 2026-04-08 🎬 Openscreen CLI merged (#183) — screen recording editor harness with 101 tests. ☁️ CloudAnalyzer CLI merged (#181) — cloud cost analysis harness with 27 commands. 🌊 SeaClip / PM2 / ChromaDB harnesses merged (#129).
  • 2026-04-07 🔄 Dify Workflow CLI merged (#191) — workflow automation wrapper. 🔧 Inkscape auto-save fix (#193, fixes #182). 🛡️ DomShell security hardening (#156) — URL validation and DOM sanitization for the browser CLI. 🥧 Pi Coding Agent extension merged (#178).
  • 2026-04-06 🔍 Exa CLI merged (#172) — AI-powered web search and answers harness. 🎮 Godot CLI merged (#140) — game engine harness with a full demo-game E2E pipeline. ☁️ CloudAnalyzer review fixes and frontend improvements also landed.
  • 2026-04-03 🧪 WireMock CLI merged (#170) — HTTP mock server harness for API testing. 🥧 Pi Coding Agent extension support also landed, and CLI demo recordings were added to the docs.
  • 2026-04-01 ⚔️ Slay the Spire II CLI merged (#148) — deck-building roguelike harness. 🎥 VideoCaptioner CLI merged (#166) — AI-powered video captioning harness. 🛰️ IntelWatch was added to the registry for B2B OSINT workflows.
Earlier news (Mar 23–30)
  • 2026-03-30 🏗️ CLI-Anything v0.2.0 — HARNESS.md progressive disclosure redesign. Detailed guides extracted into guides/ for on-demand loading. Phases 1–7 now contiguous. Key Principles and Rules merged into a single authoritative section.
  • 2026-03-29 📐 Blender skill docs updated — enforce absolute render paths and correct prerequisites.
  • 2026-03-28 🌐 CLIBrowser added to CLI-Hub registry for agent-accessible browser automation.
  • 2026-03-27 📚 Zotero SKILL.md enhanced with agent-facing constraints; REPL config and executable resolution fixes.
  • 2026-03-26 📖 Zotero CLI harness landed for Zotero desktop (library management, collections, citations). Draw.io custom ID bugfix (#132) and registry.json syntax fix.
  • 2026-03-25 🎮 RenderDoc CLI merged for GPU frame capture analysis. FreeCAD updated for v1.1. Blender EEVEE engine name corrected. Zoom token permissions hardened.
  • 2026-03-24 🏭 FreeCAD CLI added with 258 commands across 17 groups. iTerm2 and Teltonika RMS harnesses added to registry.
  • 2026-03-23 🤖 Launched CLI-Hub meta-skill — agents can now discover and install CLIs autonomously. Krita CLI harness merged for digital painting.
Earlier news (Mar 11–22)
  • 2026-03-22 🎵 MuseScore CLI merged with transpose, export, and instrument management.
  • 2026-03-21 🔧 Infrastructure improvements — refined test harnesses and documentation across multiple CLIs. Enhanced Windows compatibility for several backends.
  • 2026-03-20 🌐 Novita AI CLI added for OpenAI-compatible API access. Registry metadata improvements for better hub discovery.
  • 2026-03-19 📦 Package structure refinements across harnesses. Improved SKILL.md generation with better command documentation.
  • 2026-03-18 🧪 Test coverage expansion — additional E2E scenarios and edge case validation across multiple CLIs.
  • 2026-03-17 🌐 Launched the CLI-Hub — a central registry where you can browse, search, and install any CLI with a single pip command.
  • 2026-03-16 🤖 Added SKILL.md generation (Phase 6.5) — every generated CLI now ships with an AI-discoverable skill definition.
  • 2026-03-15 🐾 Support for OpenClaw from the community! Merged Windows cygpath guard for cross-platform support.
  • 2026-03-14 🔒 Fixed a GIMP Script-Fu path injection vulnerability and added Japanese README translation.
  • 2026-03-13 🔌 Qodercli plugin officially merged as a community contribution with dedicated setup scripts.
  • 2026-03-12 📦 Codex skill integration landed, bringing CLI-Anything to yet another AI coding platform.
  • 2026-03-11 📞 Zoom video conferencing harness added as the 11th supported application.

---

🤔 Why CLI?

CLI is the universal interface for both humans and AI agents:

Structured & Composable - Text commands match LLM format and chain for complex workflows

Lightweight & Universal - Minimal overhead, works across all systems without dependencies

Self-Describing - --help flags provide automatic documentation agents can discover

Proven Success - Claude Code runs thousands of real workflows through CLI daily

Agent-First Design - Structured JSON output eliminates parsing complexity

Deterministic & Reliable - Consistent results enable predictable agent behavior

🚀 Quick Start

CLI-Anything has two equally useful starting points:

| Goal | Start Here | |------|------------| | Use the existing CLI ecosystem now | Install cli-anything-hub, browse the registry, and install ready-made CLIs. | | Build a new agent-native CLI | Install the CLI-Anything plugin/skill for your agent, then run the 7-phase harness generator. |

Phase 1: Empower yourself — your CLI toolkit

Install the CLI-Hub package manager first. It lets you browse, search, inspect, install, update, uninstall, and launch CLI-Anything harnesses plus public third-party CLIs from one command.

PIP

pip install cli-anything-hub

| Command | What it does | |---------|--------------| | cli-hub list | Browse the registry | | cli-hub search | Search by keyword | | cli-hub info | Inspect one CLI | | cli-hub install | Install from CLI-Hub | | cli-hub update | Update an install | | cli-hub uninstall | Remove an install | | cli-hub launch [args...] | Run an installed CLI |

# Browse what is available
cli-hub list
cli-hub search image

Install and try a CLI immediately

cli-hub install gimp cli-hub info gimp cli-hub launch gimp
Some CLIs wrap real desktop or backend software. If a selected CLI needs GIMP, Blender, LibreOffice, or another upstream tool, install that upstream application too.

Phase 1.5: Empower your agents — install in one command

Give SKILL-compatible agents the CLI-Hub meta-skill so they can discover and install the right CLI for a task.

Also available on: ClawHub, SkillHub, SkillHub.cn

NPX SKILLS

npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y

Works with: OpenClaw, Nanobot, Claude Code, Codex, Reasonix, Antigravity, and other SKILL-compatible agents.

Then prompt:

Find appropriate CLI software in CLI-Hub and complete the task: ...

Phase 3: Build a new CLI when the registry does not have one yet

Use the CLI-Anything generator when you need a new harness for software, a codebase, or an internal tool that is not already available through CLI-Hub.

Prerequisites

Pick Your Agent Platform

⚡ Claude Code

Step 1: Add the Marketplace

CLI-Anything is distributed as a Claude Code plugin marketplace hosted on GitHub.

# Add the CLI-Anything marketplace
/plugin marketplace add HKUDS/CLI-Anything

Step 2: Install the Plugin

# Install the cli-anything plugin from the marketplace
/plugin install cli-anything

That's it. The plugin is now available in your Claude Code session.

Note for Win Users: Claude Code runs shell commands via bash. On Windows, install Git for Windows (includes bash and
cygpath) or use WSL; otherwise commands may fail with cygpath: command not found.

Step 3: Build a CLI in One Command

# /cli-anything 

Generate a complete CLI for GIMP (all 7 phases)

/cli-anything ./gimp

Command compatibility across Claude Code versions:

  • Use /cli-anything as the primary entrypoint.
  • On older builds where /cli-anything isn't recognized after confirming the plugin is installed and loaded, try the legacy entry form /cli-anything:cli-anything.
  • Auxiliary commands keep the :subcommand form (e.g. /cli-anything:refine).
If you see Unknown skill: cli-anything, focus on plugin install/load first (both entry forms reference the same skill, so swapping forms won't help): 1. Reload plugin commands: /reload-plugins 2. Verify the plugin is loaded: /help cli-anything (CLI-Anything help/commands should appear) 3. Reinstall from marketplace if needed:
  • /plugin marketplace add HKUDS/CLI-Anything
  • /plugin install cli-anything
4. After confirming the plugin is available, retry the entry command:
  • Preferred: /cli-anything ./gimp
  • Older builds only: /cli-anything:cli-anything ./gimp
This runs the full pipeline: 1. 🔍 Analyze — Scans source code, maps GUI actions to APIs 2. 📐 Design — Architects command groups, state model, output formats 3. 🔨 Implement — Builds Click CLI with REPL, JSON output, undo/redo 4. 📋 Plan Tests — Creates TEST.md with unit + E2E test plans 5. 🧪 Write Tests — Implements comprehensive test suite 6. 📝 Document — Updates TEST.md with results 7. 📦 Publish — Creates setup.py, installs to PATH

Step 4 (Optional): Refine and Improve the CLI

After the initial build, you can iteratively refine the CLI to expand coverage and add missing capabilities:

# Broad refinement — agent analyzes gaps across all capabilities
/cli-anything:refine ./gimp

Focused refinement — target a specific functionality area

/cli-anything:refine ./gimp "I want more CLIs on image batch processing and filters"

The refine command performs gap analysis between the software's full capabilities and current CLI coverage, then implements new commands, tests, and documentation for the identified gaps. You can run it multiple times to steadily expand coverage — each run is incremental and non-destructive.

Alternative: Manual Installation

If you prefer not to use the marketplace:

# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git

Copy plugin to Claude Code plugins directory

cp -r CLI-Anything/cli-anything-plugin ~/.claude/plugins/cli-anything

Reload plugins

/reload-plugins

⚡ Pi Coding Agent

Step 1: Install the Extension

The extension lives at .pi-extension/cli-anything/ in this repository. Install it globally so /cli-anything commands are available in all Pi projects:

# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
cd CLI-Anything

Install globally into Pi's extensions directory

bash .pi-extension/cli-anything/install.sh

To uninstall:

bash .pi-extension/cli-anything/install.sh --uninstall
How it works: install.sh copies the extension files (including HARNESS.md, commands, guides, scripts, and templates from cli-anything-plugin/) into ~/.pi/agent/extensions/cli-anything/, which Pi auto-discovers on startup. Run /reload in Pi or restart Pi to activate.

Step 2: Build a CLI in One Command

Once the extension is loaded, the following commands are available:

# Generate a complete CLI for GIMP (all 7 phases)
/cli-anything ./gimp

Build from a GitHub repo

/cli-anything https://github.com/blender/blender

Step 3 (Optional): Refine and Improve the CLI

# Broad refinement — agent analyzes gaps across all capabilities
/cli-anything:refine ./gimp

Focused refinement — target a specific functionality area

/cli-anything:refine ./gimp "batch processing and filters"

Available Commands

| Command | Description | |---------|-------------| | /cli-anything | Build a complete CLI harness | | /cli-anything:refine [focus] | Refine an existing CLI harness | | /cli-anything:test | Run tests for a CLI harness | | /cli-anything:validate | Validate a CLI harness | | /cli-anything:list [options] | List all CLI-Anything tools |

⚡ OpenCode (Experimental)

Step 1: Install the Commands

Note: Please upgrade to the latest OpenCode. Older versions may use a different commands path.

Copy the CLI-Anything commands and HARNESS.md to your OpenCode commands directory:

```bash

Clone the repo

git clone https://github.com/HKUDS/CLI-Anything.git

Glob

GitHub Stars & Activity

49,850Stars
4,598Forks
107Open issues
PythonLanguage

GitHub Popularity

GitHub stars49,850
Forks4,598
Open issues107
Primary languagePython
LicenseApache-2.0
Stars gained today41
Created2026-03-08
Last pushed2026-09-22

Trending History

Daily boardrank #78 · ▲ 41 stars

Related GitHub Projects

1

Comfy-Org / ComfyUI

Python★ 134,710⑂ 15,949▲ 203 stars
2

PaddlePaddle / PaddleOCR

Python★ 90,096⑂ 11,398▲ 76 stars
3

anthropics / financial-services

Python★ 36,873⑂ 5,371▲ 665 stars
4

mukul975 / Anthropic-Cybersecurity-Skills

Python★ 33,277⑂ 4,040▲ 98 stars
5

davila7 / claude-code-templates

Python★ 31,438⑂ 3,572▲ 393 stars
6

browser-use / video-use

Python★ 26,417⑂ 3,159▲ 745 stars
7

mvt-project / mvt

Python★ 14,429⑂ 1,379▲ 546 stars
8

zhouxiaoka / autoclip

Python★ 8,829⑂ 1,625▲ 137 stars

More Trending Repositories