cli-anything
하는 일
이 스킬은 OpenClaw가 데스크톱 소프트웨어나 코드 저장소를 감싸는 명령줄 도구를 만드는 빌더 역할을 하게 합니다. AI 에이전트가 명령줄로 소프트웨어를 제어하게 하려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓OpenClaw가 데스크톱 앱용 명령줄 도구를 만들기를 원할 때.
- ✓기존 하네스에 새 기능을 추가해 다듬고 싶을 때.
- ✓하네스를 검증 체크리스트에 따라 검사하고 싶을 때.
스킬 링크
https://github.com/HKUDS/CLI-Anything/blob/main/macrocli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 GIMP 폴더용 명령줄 하네스를 만들고, 검증 체크리스트에 따라 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 방법론 파일을 저장소에서 사용할 수 있을 때 읽고, 그 빌드 규칙을 따릅니다. 전체 방법론을 쓸 수 없으면 간추린 규칙을 대신 사용합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
./gimpor/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
--jsonmachine-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.pyfor unit coveragetest_full_e2e.pyfor 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.pyentry 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>throughconsole_scripts
Workflow
- Acquire the source tree locally.
- Analyze architecture, data model, existing CLIs, and GUI-to-API mappings.
- Design command groups and state model.
- Implement the harness.
- Write
TEST.md, then tests, then run them. - Update README usage docs.
- 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
자주 묻는 질문
방법론은 어디에서 오나요?
가까이 있거나 내려받을 수 있을 때 CLI-Anything 방법론 파일을 사용합니다.
출력 형식을 바꾸나요?
아닙니다. 생성되는 Python 하네스 형식을 컬렉션의 나머지와 같게 유지합니다.
GitHub 링크를 입력으로 줄 수 있나요?
네. 소스로 GitHub 저장소 URL을 줄 수 있습니다.
상세 정보
작성자의 원본 설명
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.
repo: HKUDS/CLI-Anything
인기도
- GitHub 스타
- 58k
- 순위
- #3220
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 9. 21.
댓글
- …
이 저장소의 다른 스킬
cli-anything-3mf
58k에이전트가 3D 프린팅 파일을 검사하고 고치도록 돕습니다. 둥근 구멍 찾기, 크기 조정, 메시 수리, 두 파일 비교가 가능합니다.
cli-anything-qgis
58k에이전트가 터미널에서 QGIS 지도 프로젝트를 열고 편집하고 내보내도록 돕습니다. 레이어, 피처, 인쇄 레이아웃, 처리 도구를 포함합니다.
cli-anything-adguardhome
58k에이전트가 네트워크 전체의 광고 차단기인 AdGuard Home을 관리하도록 돕습니다. 필터, DNS 재작성, 클라이언트, 쿼리 로그를 포함합니다.
cli-anything-anygen
58k에이전트가 AnyGen 서비스를 이용해 글로 된 프롬프트로 슬라이드, 문서, 웹사이트, 다이어그램을 만들도록 돕습니다.