Skip to content
Skillv1.0.0

cli-anything

Make any software agent-native with HKUDS CLI-Anything — four routed modes: install ready-made harnesses via CLI-Hub (cli-hub list/search/info/install/launch), give agents the cli-hub-meta-skill for a

by akillness(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from akillness/jeo-skills (.agent-skills/cli-anything/SKILL.md). Install upstream with npx skills add akillness/jeo-skills --skill cli-anything. Copyright stays with the author.

cli-anything — Make Any Software Agent-Native

CLI-Anything (HKUDS) bridges AI agents and the world's software: instead of brittle GUI automation, it wraps real applications (Blender, GIMP, LibreOffice, OBS, Godot, QGIS, …) in structured, agent-first CLIs — Click commands, stateful REPL, --json output, undo/redo — generated and validated through a 7-phase pipeline with 2,461 passing tests across 40+ harnesses. This skill is the routing-first wrapper: pick the right mode, install the right surface, and drive the build → refine → validate loop.

When to use this skill

  • The user wants an agent to control real software (image/video/audio editing, office, 3D, GIS, game engines, diagramming, streaming) through a CLI instead of screenshots or RPA
  • The user asks to install cli-anything-hub / use cli-hub (list, search, info, install, update, uninstall, launch)
  • The user wants agents to autonomously discover and install CLIs via the CLI-Hub meta-skill
  • The user wants to generate a new CLI harness from a local codebase or GitHub repo with /cli-anything, or asked how to install the CLI-Anything plugin/skill for Claude Code, Codex, OpenCode, OpenClaw, Pi, Hermes, Qodercli, or GitHub Copilot CLI
  • The user wants to expand or verify an existing harness with /cli-anything:refine, /cli-anything:test, or /cli-anything:validate

When not to use this skill

  • The user wants to design a domain-specific agent team (agents + skills scaffolding), not a software CLI wrapper → use harness
  • The user is browsing/installing Claude plugins generally → use ccpi-marketplace
  • The target has no codebase and no API and must be driven through a real browser/GUI session → use browser-harness (or playwriter for an already-open browser)
  • The user only needs web scraping/extraction → use scrapling

Prerequisites

Requirement Notes
Python 3.10+ CLI-Hub and generated harnesses are Python/Click based
Target software Harnesses call the real backend — install the upstream app (GIMP, Blender, …) too
A frontier coding agent Harness generation needs strong models (Claude Opus/Sonnet class); weaker models degrade quality
Source code access The 7-phase generator works from source; binary-only targets degrade substantially

Instructions

Step 1 — Choose the mode

Mode When Entry point
Use the ecosystem A ready-made harness likely exists pip install cli-anything-hubcli-hub search <kw>
Empower agents Agents should pick/install CLIs themselves npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y
Generate a harness Registry doesn't cover the software Platform plugin/skill → /cli-anything <path-or-repo>
Iterate a harness Coverage gaps, failing flows /cli-anything:refine · :test · :validate

Prefer the registry first — building is the fallback, not the default.

Step 2 — Use the ecosystem via CLI-Hub

pip install cli-anything-hub

cli-hub list                 # browse the registry
cli-hub search image         # search by keyword
cli-hub info gimp            # inspect one CLI
cli-hub install gimp         # install from CLI-Hub
cli-hub launch gimp          # run an installed CLI
cli-hub update gimp          # update
cli-hub uninstall gimp       # remove

CLI-Hub v0.2.0+ also serves public CLIs from multiple install sources (pip, npm, brew, bundled/system tools) via public_registry.json. If a harness wraps desktop software (GIMP, Blender, LibreOffice, …), install that upstream application too.

Step 3 — Give agents the meta-skill

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

Then prompt the agent:

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

Works with Claude Code, Codex, OpenClaw, Nanobot, Antigravity, and other SKILL-compatible agents. The monorepo's per-harness skills are also discoverable: npx skills add HKUDS/CLI-Anything --list.

Step 4 — Generate a new harness (7-phase pipeline)

Claude Code (primary platform):

/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything

/cli-anything ./gimp                              # local source
/cli-anything https://github.com/blender/blender  # GitHub repo

The pipeline runs: 1 Analyze → 2 Design → 3 Implement (Click CLI + REPL + JSON + undo/redo) → 4 Plan tests → 5 Write tests → 6 Document (+ Phase 6.5 SKILL.md generation) → 7 Publish (setup.py, PATH install). Other platforms (Codex, OpenCode, OpenClaw, Pi, Hermes, Qodercli, Copilot CLI, Goose) follow the same methodology — install commands are in references/commands.md.

If /cli-anything is unrecognized: /reload-plugins, verify with /help cli-anything, reinstall from the marketplace, and only on older builds try the legacy /cli-anything:cli-anything form.

Step 5 — Refine, test, validate

/cli-anything:refine ./gimp                                  # broad gap analysis
/cli-anything:refine ./gimp "batch processing and filters"   # focused
/cli-anything:test ./gimp                                    # run tests, update TEST.md
/cli-anything:validate ./gimp                                # check against HARNESS.md

Refinement is incremental and non-destructive — run it repeatedly to push coverage toward production quality. HARNESS.md is the methodology SOP (source of truth) the validator checks against.

Step 6 — Use a generated CLI

cd <software>/agent-harness && pip install -e .

cli-anything-gimp --help                     # discoverable via --help/which
cli-anything-gimp --json layer add -n "BG"   # structured output for agents
cli-anything-gimp                            # bare command → stateful REPL

Every harness ships dual modes (REPL + subcommands), --json on every command, and a generated SKILL.md at skills/cli-anything-<name>/SKILL.md.

Step 7 — Plugin-style installation alongside jeo-skills

This skill folder is plugin-installable through the standard jeo-skills flow so the wrapper, references, and installer script land on disk for any supported agent runtime:

# Project install (writes into .agents/skills/cli-anything/)
npx skills add https://github.com/akillness/jeo-skills --skill cli-anything

# Global install for every detected agent
npx skills add -g https://github.com/akillness/jeo-skills --skill cli-anything

# Target specific agents
npx skills add -g https://github.com/akillness/jeo-skills --skill cli-anything -a claude-code -a codex -y

The skill also ships scripts/install.sh — a one-shot CLI-Hub installer (venv-aware uv/pip selection, PEP 668-safe) with an optional meta-skill install via CLI_ANYTHING_META_SKILL=1.

Output format

When the user asks cli-anything for help, return a compact brief:

# cli-anything Routing Brief

## Scope
- Mode: use-ecosystem | empower-agents | generate-harness | iterate-harness
- Target software: <name or repo> | undecided
- Agent platform: claude | codex | opencode | openclaw | pi | hermes | copilot | other

## Recommended next move
- install-cli-hub | cli-hub-search | install-meta-skill | install-platform-plugin | run-/cli-anything | refine | test | validate

## Why
- 2-3 bullets grounded in the user's packet

## Route-outs
- `harness` for agent-team architecture (not software wrappers)
- `browser-harness` for no-codebase GUI/browser targets
- `ccpi-marketplace` for general Claude plugin browsing

Best practices

  1. Search the registry before generating — 40+ harnesses already exist; cli-hub search costs seconds, a 7-phase build costs a session.
  2. Install the real backend — harnesses call actual software with zero compromise dependencies; tests fail (not skip) when backends are missing.
  3. Use --json for agent consumption — every command supports it; human-readable tables are for debugging only.
  4. Verify outputs, not exit codes — the methodology checks magic bytes, ZIP/OOXML structure, pixel/audio analysis; do the same with artifacts.
  5. Run /cli-anything:refine iteratively — a single generation pass rarely covers all capabilities; each refine run is incremental.
  6. Windows needs bash — install Git for Windows (bash + cygpath) or use WSL before running plugin commands.

References

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/akillness-jeo-skills-cli-anything/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

akillness-jeo-skills-cli-anything.ocm.jsonjson
{
  "ocm": "1",
  "id": "akillness-jeo-skills-cli-anything",
  "kind": "skill",
  "name": "cli-anything",
  "description": "Make any software agent-native with HKUDS CLI-Anything — four routed modes: install ready-made harnesses via CLI-Hub (cli-hub list/search/info/install/launch), give agents the cli-hub-meta-skill for autonomous discovery, generate a new harness from any codebase/repo via the 7-phase /cli-anything pipeline, or iterate with :refine/:test/:validate; 40+ harnesses, 2,461 tests, Click CLIs with REPL + --json.",
  "publisher": "akillness",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding",
      "math"
    ],
    "tags": [
      "skill-md",
      "cli-anything",
      "cli-hub",
      "agent-native",
      "computer-use",
      "cli-generation",
      "harness",
      "click",
      "repl",
      "json-output"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Make any software agent-native with HKUDS CLI-Anything — four routed modes: install ready-made harnesses via CLI-Hub (cli-hub list/search/info/install/launch), give agents the cli-hub-meta-skill for autonomous discovery, generate a new harness from any codebase/repo via the 7-phase /cli-anything pipeline, or iterate with :refine/:test/:validate; 40+ harnesses, 2,461 tests, Click CLIs with REPL + --json."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/akillness/jeo-skills",
      "path": ".agent-skills/cli-anything/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/akillness/jeo-skills/blob/HEAD/.agent-skills/cli-anything/SKILL.md",
      "key": "akillness/jeo-skills/.agent-skills/cli-anything/SKILL.md"
    },
    "allowed_tools": [
      "Bash",
      "Read",
      "Write",
      "Edit",
      "Glob",
      "Grep",
      "WebFetch"
    ]
  },
  "instructions": "# cli-anything — Make Any Software Agent-Native\n\n[CLI-Anything](https://github.com/HKUDS/CLI-Anything) (HKUDS) bridges AI\nagents and the world's software: instead of brittle GUI automation, it wraps\nreal applications (Blender, GIMP, LibreOffice, OBS, Godot, QGIS, …) in\nstructured, agent-first CLIs — Click commands, stateful REPL, `--json`\noutput, undo/redo — generated and validated through a 7-phase pipeline with\n2,461 passing tests across 40+ harnesses. This skill is the routing-first\nwrapper: pick the right mode, install the right surface, and drive the\nbuild → refine → validate loop.\n\n## Wh",
  "cost": {
    "context_tokens": 2374
  }
}

Fetch it by URL: GET /api/v1/registry/akillness-jeo-skills-cli-anything/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.