JasonChenJC

CLI Anything

開發程式設計v0.1.0
作者:JasonChenJC更新於 2026-05-11cli-anything@clawhub_jasonchenjc/cli-anything
程式碼生成指令碼工具#Repository

據 AlphaMoat 統計,截至 2026-10,CLI Anything 累計下載 8,945 次、獲 15 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 3,102 位,在「開發程式設計」分類(1,069 個)中排名第 244 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
8945
星標
15
全站下載量排名
#3,102
全站前 29% · 「開發程式設計」前 23%
平台累計下載星標評論
ClawHub ↗617510-
SkillHub ↗894515—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

可用於判斷某個軟體是否適合 CLI 化、參考現有 agent-harness 示例,或為 OpenClaw 封裝 skill/workflow。優先複用已有 harness,分析軟體後端、資料模型和現有介面,再驗證真實入口及後端依賴。CLI-Anything 是方法論,不是原生 OpenClaw skill;封裝時應把方法說明與實現分離,並將方法細節放入 references。不要聲稱 /plugin 或 /cli-anything 斜槓命令已可用,也不要在沒有真實後端驗證前承諾生成的 CLI 能工作。第三方生成程式碼需作為待審查產物。

資料釋出於 2026-10-27

可以用來做什麼

  • 評估或構建 agent 可用的 CLI,並將已驗證實現封裝成 workflow。

什麼時候用

  • 需要把 GUI、桌面應用、倉庫、SDK 或 API 轉為結構化 CLI 時使用。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

檢查這個程式碼庫是否已有可複用的 CLI/harness,並說明如何驗證真實後端。

月度資料趨勢

累計下載8945
2450593894262026-03 · 累計下載 29312026-05 · 累計下載 45552026-06 · 累計下載 49222026-07 · 累計下載 56912026-08 · 累計下載 58852026-09 · 累計下載 70982026-10 · 累計下載 894526-0326-0926-10
星標15
712162026-03 · 星標 82026-05 · 星標 112026-06 · 星標 142026-07 · 星標 142026-08 · 星標 142026-09 · 星標 152026-10 · 星標 1526-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-108945—15
2026-097098—15
2026-085885+3.4%14
2026-075691+15.6%14
2026-064922+8.1%14
2026-054555—11
2026-032931—8

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

5.2 KB · ClawHub v0.1.0
---
name: cli-anything
description: Generate or refine agent-usable CLIs for existing software/codebases using the CLI-Anything methodology. Use when the user wants to turn a GUI app, desktop tool, repository, SDK, or web/API surface into a structured CLI for agents; when adapting CLI-Anything into OpenClaw workflows; or when packaging a generated harness as an OpenClaw-compatible skill.
---

# CLI-Anything

Use this skill to work with the local `CLI-Anything/` repository in the workspace and turn its methodology into something usable from OpenClaw.

## What this skill is for
展開全部(共 136 行)

Use it for three common cases:

1. **Assess feasibility** — inspect a target app/repo and decide whether CLI-Anything is a good fit.
2. **Use an existing harness** — work with one of the repo's prebuilt `agent-harness` examples.
3. **Wrap for OpenClaw** — turn CLI-Anything guidance or an existing harness into an OpenClaw skill/workflow.

## Local source of truth

The repository is expected at:

- `/root/.openclaw/workspace/CLI-Anything`

Read these first when needed:

- `CLI-Anything/README.md` — overall platform and examples
- `CLI-Anything/cli-anything-plugin/HARNESS.md` — generation methodology and quality bar
- `CLI-Anything/cli-anything-plugin/README.md` — plugin behavior and expected output layout

For a fast survey of bundled examples, read `references/bundled-harnesses.md`.

## Core workflow

### 1) Classify the user's request

Decide which path applies:

- **Methodology request**: user wants to understand or apply CLI-Anything generally
- **Existing harness request**: user wants to use/demo one of the included examples like GIMP or LibreOffice
- **Packaging request**: user wants an OpenClaw skill or ClawHub package derived from CLI-Anything

### 2) Inspect prerequisites

Before promising execution, check:

- Python 3.10+
- target software presence if using a real harness backend
- whether the request is about:
  - building a harness
  - running a generated CLI
  - packaging/publishing

### 3) Prefer existing harnesses before generation

If the repo already includes a matching harness under `<software>/agent-harness/`, use that as the baseline instead of pretending generation has to happen from scratch.

### 4) For OpenClaw packaging, separate method from implementation

CLI-Anything itself is not a native OpenClaw skill package. When adapting it:

- keep the OpenClaw `SKILL.md` focused on **when to use** and **how to navigate the local repo**
- move large methodology text into references
- do not claim that `/plugin` or `/cli-anything` slash commands are directly available inside OpenClaw unless you have actually wired them up

## Practical guidance

### When the user wants to use an existing bundled harness

1. Locate `<software>/agent-harness/`
2. Read its `setup.py`, package layout, and local README/SOP file
3. Identify hard dependencies on the real software backend
4. Install or verify Python requirements only as needed
5. Validate the CLI entry point and a minimal command

### When the user wants to make a new app agent-native

Use CLI-Anything as methodology, not magic:

1. Analyze backend engine, data model, existing CLI/API hooks
2. Define command groups and state model
3. Create or refine `agent-harness/`
4. Add tests and a `TEST.md`
5. Install the resulting package to PATH
6. Verify real backend execution, not mock-only behavior

### When the user wants an OpenClaw skill

There are two good outputs:

- **Method skill**: teaches OpenClaw how to use CLI-Anything on local repos
- **Harness skill**: wraps one generated CLI or one concrete software target

Default to a **method skill** unless the user clearly wants a single app workflow.

## Rules

- Do not say CLI-Anything is already a native OpenClaw skill unless you created that wrapper.
- Do not promise a generated CLI works until you verify its entry point and real backend dependencies.
- Treat third-party generated code as reviewable output, not automatically trusted output.
- For publishing, require explicit user intent before pushing anything external.
- If packaging for ClawHub, keep the skill lean and point to local references instead of pasting huge docs into `SKILL.md`.

## Useful script

Use `scripts/inspect_cli_anything.py` to quickly inspect the local repo and enumerate bundled harnesses. It prints JSON with:

- whether the repo exists
- discovered harnesses
- whether each harness has `setup.py`, package directory, README, and E2E tests

Run:

```bash
python3 /root/.openclaw/workspace/skills/cli-anything/scripts/inspect_cli_anything.py
```

Use `scripts/recommend_harness.py` to rank the bundled harnesses and suggest good first validation targets.

Run:

```bash
python3 /root/.openclaw/workspace/skills/cli-anything/scripts/recommend_harness.py
```

## Helpful local paths

- Repo root: `/root/.openclaw/workspace/CLI-Anything`
- Plugin docs: `/root/.openclaw/workspace/CLI-Anything/cli-anything-plugin`
- Example harnesses: `/root/.openclaw/workspace/CLI-Anything/*/agent-harness`

## Reference files

- `references/bundled-harnesses.md` — quick map of included examples
- `references/openclaw-adaptation-notes.md` — how to package CLI-Anything ideas into OpenClaw skills
- `references/validated-example-gimp.md` — first locally verified runnable example

「開發程式設計」分類下的熱門技能

程式設計大神.Skill開發程式設計

【全棧能力】程式設計大神.Skill:面向複雜真實專案的高階全棧程式設計助手。不止生成程式碼,而是從一句目標接手陌生程式碼庫,拆解需求、補齊實現、追到根因、完成重構、聯調前後端,並把結果推進到能執行、能驗證、能交付。覆蓋 Web、後端、指令碼、iOS、安卓、鴻蒙 ArkUI、微信小程式及其他技術棧,支援中英文工程、疑難 Bug、跨模組任務和長任務續做;用構建、日誌、真實入口、裝置或介面證據說明結果。僅問概念時直接回答,要求落地時持續推進到驗收或明確阻塞。

↓ 1125.9萬★ 82u_42bbb65f
程式設計專家Pro.Skill開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 626.9萬★ 32user_47d655f0
程式設計專家.Skill開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 600.7萬★ 378user_741dc82b
dev-expert開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 528.1萬★ 32user_814dbe54
dev-expert-pro開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 104.7萬★ -user_814dbe54
程式設計專家 Pro開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 98.2萬★ 1user_28275a78
程式設計專家.Skill開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 70.1萬★ 6user_613b33ea
Github開發程式設計

用 gh 命令列工具檢視 GitHub 上的 PR 檢查、工作流執行與 API 查詢的技能。

↓ 48萬★ 714Peter Steinberger

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。