本文へスキップ
Skillpedia
一般的なプログラミング95k · #1307

terminal-recovery

できること

このスキルは、失敗した、タイムアウトした、または想定外の出力を返したコマンドを直す過程をAIに導きます。コマンドを実行していて、繰り返しの再試行ではなく明確な原因の診断がほしい人向けです。

使う場面

  • ✓コマンドが失敗し、エラーメッセージの意味が分からないとき。
  • ✓長く動くコマンドがタイムアウトし、役に立つ出力を返さなくなったとき。
  • ✓コマンドは成功したように見えるが、結果がまだおかしいとき。

スキルのリンク

https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/agent/terminal-recovery/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/agent/terminal-recovery/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ビルドコマンドが、私が理解できないエラーで失敗し続けています。原因を見つけて直してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは終了ステータスと両方の出力ストリームを読み、不足しているツールや誤ったパスなどの考えられる原因を確認します。1つの条件だけを変え、そのアイデアを試す最も狭いコマンドを実行します。

技術的な内容(元の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

  1. Read the command, exit status, standard output, and standard error before choosing a response.
  2. Confirm the working directory, relevant files, executable availability, permissions, and environment assumptions with minimal read-only probes.
  3. Classify the failure as syntax, missing dependency, wrong path, permissions, resource pressure, timeout, service state, or task logic.
  4. Change one relevant condition and retry the narrowest command that can test the diagnosis.
  5. For a long-running command, use the returned session identifier to poll or provide input instead of launching duplicates.
  6. 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル