본문으로 건너뛰기
Skillpedia
일반 코딩58k · #3197

cli-anything

하는 일

이 스킬은 Codex가 그래픽 앱이나 소스 저장소를 위한 명령줄 하네스를 만들도록 안내합니다. AI 에이전트가 명령줄 인터페이스로 소프트웨어를 제어하게 하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓데스크톱 앱을 위한 명령줄 인터페이스를 만들고 싶을 때.
  • ✓기존 명령줄 하네스에 새 기능을 추가하고 싶을 때.
  • ✓하네스가 품질 규칙에 맞는지 테스트하거나 검사하고 싶을 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/codex-skill/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/codex-skill/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Inkscape 앱의 소스로 명령줄 하네스를 만들고, 테스트해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 CLI-Anything 방법론을 읽고, 그 단계에 따라 Python 명령줄 도구를 계획, 제작, 테스트합니다. 생성된 형식은 나머지 컬렉션과 일관되게 유지합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

CLI-Anything for Codex

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

Read the Full Methodology First

Before implementation, use the full methodology source of truth:

  1. Read references/HARNESS.md relative to this skill directory.
  2. Read the matching mode specification under references/commands/.
  3. Read referenced files under references/guides/ only when they apply to the target.
  4. If the installed resources are unavailable and this skill is being used from a CLI-Anything repository checkout, read ../cli-anything-plugin/HARNESS.md and the resources around it.
  5. If neither local source is available, clone or download https://github.com/HKUDS/CLI-Anything and use cli-anything-plugin/HARNESS.md.
  6. Only if all full-methodology sources are unavailable, follow the condensed rules below.

The installer vendors the canonical resources from cli-anything-plugin/ into this skill so a normal Codex installation is self-contained.

Resource Map

Path Purpose
references/HARNESS.md Complete methodology and quality rules
references/commands/cli-anything.md Build-mode specification
references/commands/refine.md Refine-mode specification
references/commands/test.md Test-mode specification
references/commands/validate.md Validation checklist
references/commands/list.md Installed/generated harness discovery
references/guides/ On-demand implementation guidance
scripts/repl_skin.py Copy into generated harnesses as utils/repl_skin.py
scripts/preview_bundle.py Copy into preview-capable harnesses as utils/preview_bundle.py
scripts/skill_generator.py Generate canonical and packaged CLI skills
scripts/templates/SKILL.md.template Skill generation template used by skill_generator.py
references/docs/PREVIEW_PROTOCOL.md Shared preview bundle protocol

When reading vendored documents, apply these path remappings instead of resolving plugin paths against the current working directory:

Document reference Installed skill path
guides/... references/guides/...
cli-anything-plugin/repl_skin.py scripts/repl_skin.py
cli-anything-plugin/preview_bundle.py scripts/preview_bundle.py
cli-anything-plugin/skill_generator.py scripts/skill_generator.py
templates/SKILL.md.template scripts/templates/SKILL.md.template
docs/PREVIEW_PROTOCOL.md references/docs/PREVIEW_PROTOCOL.md

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

Read references/commands/cli-anything.md. Build a complete harness through source analysis, architecture design, implementation, test planning, test implementation, test documentation, CLI-specific SKILL.md generation, and local installation.

Refine

Read references/commands/refine.md. Inventory current commands and tests, compare them against the target software, then incrementally add high-impact capabilities without removing existing commands unless the user requests a breaking change.

Test

Read references/commands/test.md. Run the harness tests against the real backend, verify installed-command subprocess coverage, and update TEST.md only with passing results.

Validate

Read references/commands/validate.md. Validate the harness against the complete directory, implementation, test, documentation, packaging, and code-quality checklist.

List

Read references/commands/list.md. Discover installed and generated CLI-Anything tools and support human-readable or JSON output as requested.

Condensed Fallback Rules

Use these only when the full methodology cannot be retrieved.

Harness Structure

Produce:

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

Required Behavior

  • Prefer the real software backend over reimplementation.
  • Provide one-shot Click subcommands and default REPL mode.
  • Support --json machine-readable output.
  • Add session state with undo/redo where t
자주 묻는 질문

방법론은 어디에서 오나요?

스킬은 번들된 파일에서 전체 방법론을 읽거나, 사용할 수 있을 때는 CLI-Anything 체크아웃이나 다운로드에서 가져옵니다.

무엇을 만들 수 있나요?

GUI 앱이나 소스 저장소를 위한 하네스를 만들 수 있습니다.

기존 도구를 나열할 수 있나요?

네. 이미 있는 하네스를 나열할 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: HKUDS/CLI-Anything

인기도

GitHub 스타
58k
순위
#3197
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬