terminal-recovery
하는 일
이 스킬은 실패했거나 시간 초과되었거나 예상치 못한 출력을 낸 명령을 고치도록 AI를 안내합니다. 반복 재시도보다 명확한 진단을 원하며 명령을 실행하는 모든 사람을 위한 것입니다.
사용하는 경우
- ✓명령이 실패했고 오류 메시지가 명확하지 않을 때.
- ✓오래 걸리는 명령이 시간 초과되었거나 유용한 출력을 멈췄을 때.
- ✓명령은 성공한 것처럼 보이지만 결과가 여전히 올바르지 않아 보일 때.
스킬 링크
https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/agent/terminal-recovery/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“빌드 명령이 제가 이해하지 못하는 오류로 계속 실패합니다. 이유를 찾아 고쳐 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 종료 상태와 두 출력 스트림을 모두 읽은 뒤, 도구 누락이나 잘못된 경로 같은 가능성 높은 원인을 확인합니다. 한 가지 조건만 바꾸고 그 생각을 검사하는 가장 좁은 명령을 실행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
When to Use
Use when a command fails, times out, produces incomplete output, or behaves differently from what the task requires.
Procedure
- Read the command, exit status, standard output, and standard error before choosing a response.
- Confirm the working directory, relevant files, executable availability, permissions, and environment assumptions with minimal read-only probes.
- Classify the failure as syntax, missing dependency, wrong path, permissions, resource pressure, timeout, service state, or task logic.
- Change one relevant condition and retry the narrowest command that can test the diagnosis.
- For a long-running command, use the returned session identifier to poll or provide input instead of launching duplicates.
- After recovery, run the original acceptance check and inspect the resulting files or service state.
Pitfalls
- Do not rerun an unchanged failing command repeatedly.
- Do not install packages or change global configuration before confirming they are missing and necessary.
- Do not launch a second server or training job before checking for an existing process and port or device conflicts.
- Do not treat partial output or a zero exit status as proof that the requested state was produced.
Verification
- The diagnosed cause is supported by command output or environment state.
- The corrected command exits as expected.
- The requested artifact, process, or state passes an independent acceptance check.
자주 묻는 질문
같은 명령을 계속 다시 시도하나요?
아닙니다. 스킬은 변경 없이 실패한 명령을 반복해서 다시 실행하지 말라고 말합니다.
스스로 소프트웨어를 설치하나요?
스킬은 패키지가 없고 필요한지 확인한 뒤에만 설치하거나 전역 설정을 바꾸라고 합니다.
수정이 효과가 있었는지 어떻게 확인하나요?
원래 검사를 다시 실행하고, 결과 파일이나 서비스 상태를 확인합니다.
상세 정보
작성자의 원본 설명
Recover from failed terminal commands using evidence-driven diagnosis and bounded retries
repo: odysseus-dev/odysseus
인기도
- GitHub 스타
- 95k
- 순위
- #1307
- 라이선스
- AGPL-3.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
odysseus
95k범위가 제한된 토큰으로 할 일, 이메일, 일정, 메모리, 문서 같은 Odysseus 데이터를 읽고 업데이트하도록 에이전트를 돕습니다.
odysseus
95kCodex Agent 토큰으로 할 일, 이메일, 일정, 메모리, 문서 같은 Odysseus 데이터를 읽고 업데이트하도록 에이전트를 돕습니다.
artifact-completion
95k요청된 파일이나 문서를 일찍 만들고 실제 결과물로 다듬은 뒤, 완료라고 말하기 전에 점검하도록 에이전트를 돕습니다.
tool-discovery
95k추측하지 않고 작업에 맞는 도구를 찾고, 사용하기 전에 필요한 입력을 확인하도록 에이전트를 돕습니다.