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

cli-anything-hermes

하는 일

이 스킬은 Hermes Agent가 데스크톱 소프트웨어나 코드 저장소를 감싸는 명령줄 도구를 만드는 빌더 역할을 하게 합니다. AI 에이전트가 명령줄로 소프트웨어를 제어하게 하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Hermes Agent가 데스크톱 앱용 명령줄 도구를 만들기를 원할 때.
  • ✓기존 하네스에 새 명령을 추가해 다듬고 싶을 때.
  • ✓하네스를 체크리스트에 따라 테스트하거나 검증하고 싶을 때.

스킬 링크

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

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

사용 방법

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

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

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/hermes-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에게 요청하는 예시

“제 로컬 프로젝트 폴더용 명령줄 하네스를 만들고 테스트를 실행해 주세요.”

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

작동 방식

스킬은 방법론을 사용할 수 있을 때 읽고 그 단계를 따릅니다. 명령 실행, 코드 작성, 편집은 Hermes 도구로 합니다.

기술 내용 (원본 SKILL.md)

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

CLI-Anything for Hermes Agent

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

Before implementation, use the full methodology source of truth when available:

  1. If this skill is being used from inside the CLI-Anything repository, read ../cli-anything-plugin/HARNESS.md first.
  2. If that local file is unavailable, clone or download cli-anything-plugin from https://github.com/HKUDS/CLI-Anything/tree/main/cli-anything-plugin, then use HARNESS.md and the resources around it from that folder.
  3. Only if both local and network retrieval fail, 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.

Hermes Tool Bindings

Hermes agents build harnesses by combining these built-in tools:

Tool Role in Harness Workflow
terminal Run shell commands, install packages, execute CLI tools, run tests
execute_code Generate and write Python files (Click CLI, backend modules, tests)
delegate_task Parallelize analysis or generation subtasks
read_file / write_file Read and write harness source files
patch Make targeted edits to generated code

Consult the Hermes Agent documentation for the exact tool invocation syntax.

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 (clone or use existing path).
  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 .

Existing Harnesses (Reference)

For an up-to-date list of supported harnesses and their backend patterns, see registry.json at the repository root.

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 체크아웃을 쓰거나, 프로젝트 저장소에서 플러그인을 내려받을 수 있습니다.

기존 하네스를 나열할 수 있나요?

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

상세 정보

작성자의 원본 설명

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

repo: HKUDS/CLI-Anything

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬