본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)5.1k · #15172

omh-terminal

하는 일

이 스킬은 AI 에이전트가 터미널 명령을 실행할 때 안전 단계를 추가합니다. 에이전트가 명령줄을 쓰도록 허용하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓에이전트가 특정 프로젝트 폴더에서 셸 명령을 실행해야 할 때.
  • ✓명령이 파일을 바꾸거나 외부 시스템에 영향을 줄 수 있어 확인이 필요할 때.
  • ✓테스트 실행 결과를 실제로 실행된 내용에서만 보고받고 싶을 때.

스킬 링크

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-terminal/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“프로젝트 터미널에서 npm test를 실행하고 출력을 요약해 주세요. 위험한 일이 실행되기 전에는 저에게 물어봐 주세요.”

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

작동 방식

에이전트는 작업 폴더, 환경, 제한 시간을 정하고, 되돌릴 수 없는 명령은 사용자에게 확인받습니다. 결과는 명령이 실제로 반환한 내용에서만 보고합니다.

기술 내용 (원본 SKILL.md)

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

Command Operator

This is an OMH command-operator workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

command-operator exists because a host's own approval gate flags only some commands and can approve one with nobody asked: it fixes the working directory, environment, timeout, and stop condition, confirms every irreversible or externally visible command in chat whether or not the host flags it, records the host's own approval answer beside that confirmation, and reports results only from what the run returned.

Do Not Use When

  • An ordinary read-only or test command with a known working directory and nothing to gate; run it with the native terminal tool.
  • The user pasted a failed command's output and asks for the cause; use omh-build-failure-triage, or omh-agent-debug when the agent itself is stuck.
  • The user wants a command blocked for the agent from now on; use omh-security-safety-review, which prepares a proposed deny-glob list for the user to apply.

Examples

Good example:

  • Prompt: command-operator run npm test in the project terminal and summarize the output.
  • Expected behavior: Produce prepare_command_operator_card with required context, wrapper actions, and not-evidence boundaries.
  • Why: The prompt names a real workflow surface that Hermes can orchestrate without hiding execution.

Bad example:

  • Prompt: command-operator run rm -rf without cwd, confirmation, or observation gates.
  • Expected behavior: Report the missing observed evidence or authority instead of claiming the external step happened.
  • Why: Prepared OMH guidance is not platform, runtime, connector, file, memory, or delivery evidence.

Completion Checklist

  • Command text, working directory, environment assumptions, timeout, safety level, and stop condition are explicit.
  • Destructive, credential, network, filesystem mutation, install, deploy, and production commands are confirmed in chat before the run, or marked missing and not run; a native approval note is recorded beside that confirmation, never in place of it.
  • With nobody to answer the confirmation (a scheduled job, a one-shot run, a webhook run), an irreversible or externally visible action is not run: it is handed to a person's turn and its confirmation is recorded as missing.
  • Exit codes, stdout/stderr, test results, package-manager effects, and filesystem mutations are reported only from observed command evidence.

Recovery Notes

  • If command text or working directory is missing, ask for the smallest missing scope needed before preparing the command task.
  • If the command is irreversible or externally visible, require an explicit confirmation gate in chat before the run, whether or not the host flags it: deleting or overwriting user data, discarding history or force-pushing, deleting a remote branch, dropping, deleting from, truncating, or flushing a database, a credentialed or networked mutation, device actuation, an install, a deploy, a production change, or an external send.
  • On Hermes, record the terminal result's approval note beside that confirmation as additional evidence, never in place of it: a note that the command "was approved by the user" is the person's answer to Hermes' own prompt for that command, while "auto-approved by smart approval" or no note at all is not a person's consent, and a pending_approval status means the command has not run and will not run on its own (Hermes stores it without running it, and /approve resumes only a run that is still waiting on an approval), so it is never re-run or reworded and goes to a person's turn.
  • On Hermes, a cron job, a one-shot -q run, or a webhook run denies a flagged command by default (approvals.cron_mode, approvals.single_query_mode, approvals.unattended_mode): record the block as the gate's outcome and hand the command to a person's turn, never rephrase it to get past the gate. Nobody can answer the chat confirmation in those runs either, so an irreversible or externally visible command that Hermes does not flag is not run: it is handed to a person's turn and its confirmation is recorded as missing.
  • If the user supplied failed command output and asks for root cause, route to build-failure-triage or agent-debug instead of preparing a fresh command.

When to Use

Use when Hermes should prepare or supervise terminal/CLI command execution without claiming the command ran or succeeded.

Strong 
자주 묻는 질문

모든 명령을 막나요?

아닙니다. 일반적인 읽기 전용 명령이나 테스트 명령은 기본 터미널 도구로 실행할 수 있습니다.

특정 명령을 실행하지 못하게 할 수 있나요?

스킬은 사용자가 직접 적용할 수 있는 차단 목록을 제안합니다.

위험한 명령은 누가 승인하나요?

사용자가 승인합니다. 위험한 명령 전에 스킬이 채팅에서 확인을 요청합니다.

상세 정보

작성자의 원본 설명

[omh] Shell command or test-suite execution: policy overlay for terminal commands - add cwd, environment, safety, and result-evidence gates after preferring native shell tools for ordinary CLI, package-manager, and test runs. Use when the user says: command-operator, command operator, terminal command, terminal task, shell command, shell task, cli command, command execution.

repo: rlaope/oh-my-hermes

인기도

GitHub 스타
5.1k
순위
#15172
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬