本文へ移動
cccskills
無料GitHub で公開

cli-anything

Use when the user wants OpenClaw to build, refine, test, or validate a CLI-Anything harness for a GUI application or source repository. Adapts the CLI-Anything methodology to OpenClaw without changing the generated Python harness format.

インストール方法を見る

含まれるファイル(40)

  • SKILL.md3.3 KB
  • agent-harness/cli_anything/macrocli/__init__.py32 B
  • agent-harness/cli_anything/macrocli/__main__.py136 B
  • agent-harness/cli_anything/macrocli/backends/__init__.py0 B
  • agent-harness/cli_anything/macrocli/backends/base.py2.3 KB
  • agent-harness/cli_anything/macrocli/backends/file_transform.py7.5 KB
  • agent-harness/cli_anything/macrocli/backends/gui_agent.py20.8 KB
  • agent-harness/cli_anything/macrocli/backends/gui_macro.py7.1 KB
  • agent-harness/cli_anything/macrocli/backends/native_api.py8.7 KB
  • agent-harness/cli_anything/macrocli/backends/recovery.py4.9 KB
  • agent-harness/cli_anything/macrocli/backends/semantic_ui.py22.2 KB
  • agent-harness/cli_anything/macrocli/backends/visual_anchor.py26.1 KB
  • agent-harness/cli_anything/macrocli/core/__init__.py0 B
  • agent-harness/cli_anything/macrocli/core/llm_assist.py15.6 KB
  • agent-harness/cli_anything/macrocli/core/macro_model.py12.3 KB
  • agent-harness/cli_anything/macrocli/core/parameterize.py10.6 KB
  • agent-harness/cli_anything/macrocli/core/recorder.py28.1 KB
  • agent-harness/cli_anything/macrocli/core/registry.py5.9 KB
  • agent-harness/cli_anything/macrocli/core/routing.py4.2 KB
  • agent-harness/cli_anything/macrocli/core/runtime.py10.5 KB
  • agent-harness/cli_anything/macrocli/core/session.py6.1 KB
  • agent-harness/cli_anything/macrocli/macro_definitions/demo/gedit_find_and_replace.yaml1.7 KB
  • agent-harness/cli_anything/macrocli/macro_definitions/demo/gedit_new_window.yaml901 B
  • agent-harness/cli_anything/macrocli/macro_definitions/demo/gedit_save_as.yaml1.8 KB
  • agent-harness/cli_anything/macrocli/macro_definitions/demo/gedit_type_and_save.yaml1015 B
  • agent-harness/cli_anything/macrocli/macro_definitions/examples/export_file.yaml1.6 KB
  • agent-harness/cli_anything/macrocli/macro_definitions/examples/transform_json.yaml1.1 KB
  • agent-harness/cli_anything/macrocli/macro_definitions/examples/undo_last.yaml889 B
  • agent-harness/cli_anything/macrocli/macro_definitions/manifest.yaml731 B
  • agent-harness/cli_anything/macrocli/macrocli_cli.py34.1 KB
  • agent-harness/cli_anything/macrocli/README.md2.8 KB
  • agent-harness/cli_anything/macrocli/skills/SKILL.md5.6 KB
  • agent-harness/cli_anything/macrocli/tests/__init__.py0 B
  • agent-harness/cli_anything/macrocli/tests/test_core.py23.8 KB
  • agent-harness/cli_anything/macrocli/tests/test_full_e2e.py13.6 KB
  • agent-harness/cli_anything/macrocli/utils/__init__.py0 B
  • agent-harness/cli_anything/macrocli/utils/repl_skin.py19.2 KB
  • agent-harness/DEMO.md10.0 KB
  • agent-harness/MACROCLI.md7.7 KB
  • agent-harness/setup.py2.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

CLI-Anything for OpenClaw

Use this skill when the user wants OpenClaw to act like the CLI-Anything builder.

If this skill is being used from inside the CLI-Anything repository, read ../cli-anything-plugin/HARNESS.md before implementation. That file is the full methodology source of truth. If it is not available, follow the condensed rules below.

Inputs

Accept either:

  • A local source path such as ./gimp or /path/to/software
  • A GitHub repository URL

Derive the software name from the local directory name after cloning if needed.

Modes

Build

Use when the user wants a new harness.

Produce this structure:

<software>/
└── agent-harness/
    ├── <SOFTWARE>.md
    ├── setup.py
    └── cli_anything/
        └── <software>/
            ├── README.md
            ├── __init__.py
            ├── __main__.py
            ├── <software>_cli.py
            ├── core/
            ├── utils/
            └── tests/

Implement a stateful Click CLI with:

  • one-shot subcommands
  • REPL mode as the default when no subcommand is given
  • --json machine-readable output
  • session state with undo/redo where the target software supports it

Refine

Use when the harness already exists.

First inventory current commands and tests, then do gap analysis against the target software. Prefer:

  • high-impact missing features
  • easy wrappers around existing backend APIs or CLIs
  • additions that compose well with existing commands

Do not remove existing commands unless the user explicitly asks for a breaking change.

Test

Plan tests before writing them. Keep both:

  • test_core.py for unit coverage
  • test_full_e2e.py for workflow and backend validation

When possible, test the installed command via subprocess using cli-anything-<software> rather than only module imports.

Validate

Check that the harness:

  • uses the cli_anything.<software> namespace package layout
  • has an installable setup.py entry point
  • supports JSON output
  • has a REPL default path
  • documents usage and tests

Backend Rules

Prefer the real software backend over reimplementation. Wrap the actual executable or scripting interface in utils/<software>_backend.py when possible. Use synthetic reimplementation only when the project explicitly requires it or no viable native backend exists.

Packaging Rules

  • Use find_namespace_packages(include=["cli_anything.*"])
  • Keep cli_anything/ as a namespace package without a top-level __init__.py
  • Expose cli-anything-<software> through console_scripts

Workflow

  1. Acquire the source tree locally.
  2. Analyze architecture, data model, existing CLIs, and GUI-to-API mappings.
  3. Design command groups and state model.
  4. Implement the harness.
  5. Write TEST.md, then tests, then run them.
  6. Update README usage docs.
  7. Verify local installation with pip install -e .

Output Expectations

When reporting progress or final results, include:

  • target software and source path
  • files added or changed
  • validation commands run
  • open risks or backend limitations

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when the user wants Reasonix to build, refine, test, or validate a CLI-Anything harness for a GUI application or source repository. Adapts the CLI-Anything methodology to Reasonix without changing the generated Python harness format.

日本語の概要は準備中です。原文の説明を表示しています。

HKUDS/CLI-Anything5.2万2026年9月22日 更新

Use when the user wants Codex to build, refine, test, validate, or list CLI-Anything harnesses for GUI applications or source repositories. Adapts the full CLI-Anything methodology to Codex without changing the generated Python harness format.

日本語の概要は準備中です。原文の説明を表示しています。

HKUDS/CLI-Anything5.2万2026年9月22日 更新

3MF mesh geometry editor — detect and resize cylindrical holes, repair meshes, compare 3D printing files. Works with BambuStudio and PrusaSlicer 3MF files.

日本語の概要は準備中です。原文の説明を表示しています。

HKUDS/CLI-Anything5.2万2026年9月22日 更新

Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI agents and power users who need to manage filtering, DNS rewrites, clients, DHCP, and query logs without a GUI.

日本語の概要は準備中です。原文の説明を表示しています。

HKUDS/CLI-Anything5.2万2026年9月22日 更新

Command-line interface for Anygen - A stateful command-line interface for AnyGen OpenAPI — generate professional slides, documents, webs...

日本語の概要は準備中です。原文の説明を表示しています。

HKUDS/CLI-Anything5.2万2026年9月22日 更新

Command-line interface for Audacity - A stateful command-line interface for audio editing, following the same patterns as the GIMP and Ble...

日本語の概要は準備中です。原文の説明を表示しています。

HKUDS/CLI-Anything5.2万2026年9月22日 更新

HKUDS のスキルをすべて見る

このスキルの問題を報告する