본문으로 건너뛰기
cccskills
무료GitHub에 공개

cli-anything

Build and improve Python command interfaces for GUI applications with OpenClaw. The skill guides source analysis, command design, testing, and packaging, including interactive sessions and structured JSON output for agents.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

설치 방법 보기

이럴 때 유용합니다

  • Build a command interface for a GUI application
  • Add missing commands to an existing interface
  • Test workflows against the actual application
  • Check package installation and JSON output

포함된 파일(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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use Reasonix to build or improve a Python command-line interface for existing software. The workflow covers source analysis, interactive commands, JSON output, tests, documentation, and installation checks using the software’s own backend where possible.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Build command-line access to a GUI application
  • Add missing features to an existing command-line interface
  • Test commands against the actual software backend
HKUDS/CLI-Anything5.5만2026년 9월 22일 업데이트

Use Codex to build Python command-line tools for applications with graphical interfaces. Analyze source code, add commands, test against the actual software, validate packaging and documentation, and discover tools already generated or installed.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Build a command-line tool from application source code
  • Extend an existing tool with more commands
  • Test behavior against the actual application
HKUDS/CLI-Anything5.5만2026년 9월 22일 업데이트

Inspect and edit 3MF files for 3D printing. Detect cylindrical holes, change their diameters, repair mesh issues, and compare files while preserving BambuStudio and PrusaSlicer metadata when repacking the edited file.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Detect cylindrical holes and check their diameters
  • Resize selected holes to a target diameter
  • Repair degenerate faces and duplicate vertices
HKUDS/CLI-Anything5.5만2026년 9월 22일 업데이트

Manage AdGuard Home network filtering from the command line. Update blocklists, register devices, configure DNS rules that map names to addresses, and inspect query logs and statistics through the AdGuard Home REST API.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding and refreshing ad-blocking filter lists
  • Mapping local domain names to IP addresses
  • Registering devices and managing fixed address assignments
HKUDS/CLI-Anything5.5만2026년 9월 22일 업데이트

Generate slides, documents, websites, and diagrams from natural language prompts through AnyGen OpenAPI. Manage reference uploads, check generation progress, and download finished files using commands with structured output for AI agents.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Generate slides or documents from written instructions
  • Upload reference files for a generation task
  • Check generation progress and download finished files
HKUDS/CLI-Anything5.5만2026년 9월 22일 업데이트

Build and edit audio projects through an Audacity command-line interface: arrange and trim clips, adjust tracks, configure effects, add labels, and render audio files while retaining project state and undo history.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Trim, split, and arrange audio clips
  • Adjust track volume, pan, mute, and solo
  • Configure effects and add timeline labels
HKUDS/CLI-Anything5.5만2026년 9월 22일 업데이트

HKUDS의 스킬 모두 보기

이 스킬의 문제 신고