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 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
8,945
星标
15
全站下载量排名
#3,102
全站前 29% · 「开发编程」前 23%
平台累计下载星标评论
ClawHub ↗6,17510-
SkillHub ↗8,94515—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

可用于判断某个软件是否适合 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,并说明如何验证真实后端。

月度数据趋势

累计下载8,945
2,4505,9389,4262026-03 · 累计下载 2,9312026-05 · 累计下载 4,5552026-06 · 累计下载 4,9222026-07 · 累计下载 5,6912026-08 · 累计下载 5,8852026-09 · 累计下载 7,0982026-10 · 累计下载 8,94526-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-108,945—15
2026-097,098—15
2026-085,885+3.4%14
2026-075,691+15.6%14
2026-064,922+8.1%14
2026-054,555—11
2026-032,931—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.0万★ 714Peter Steinberger

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。