detect-zero-iteration-failure
できること
このスキルは、AIとそのメンテナーが、何のステップも実行せずに失敗したエージェントの実行を分類する手助けをします。エージェントの実行ログを確認し、問題がどこから始まったかを知る必要がある人向けです。
使う場面
- ✓エージェントの実行が、ステップ数ゼロで、ツールもファイルも使わずに終わったとき。
- ✓実行のログが、最初の指示の直後で終わり、推論がないとき。
- ✓エージェントのロジックを見る前に、失敗をセットアップの問題として分類したいとき。
スキルのリンク
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/detect-zero-iteration-failure/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“エージェントの実行が、ステップ数ゼロでファイルもなく終わりました。作業を始める前に失敗したのかを確かめてもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、ステップ数ゼロ、ツールの使用なし、出力なしを確認し、そのうえでエージェントの推論ではなく、環境、プロンプト、リソースの制限などのセットアップの項目を調べます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Detect Zero-Iteration Failure
This skill provides a workflow for identifying and classifying agent failures that occur prior to any task execution.
Identification Criteria
Flag a task execution as a Zero-Iteration Failure if all of the following conditions are met:
- Iteration Count: The agent reports 0 completed iterations.
- Tool Usage: No tools were invoked during the session.
- Artifacts: No documents, files, or code artifacts were created.
- Conversation Log: The log ends abruptly or contains only an initial error message without agent reasoning steps.
Diagnosis Strategy
When a Zero-Iteration Failure is detected, do not attempt standard agent-level debugging (e.g., analyzing reasoning chains or tool parameters). Instead, investigate system-level causes:
- Environment Health: Check if the runtime environment initialized correctly (e.g., dependencies installed, API keys loaded).
- Prompt Parsing: Verify if the initial user instruction was malformed or triggered safety filters immediately.
- Initialization Crash: Look for stack traces or panic logs occurring before the first agent step.
- Resource Limits: Check if memory or quota limits were hit before execution began.
Action Plan
- Tag the Failure: Label the incident as
failure_mode: pre_executionrather thanfailure_mode: agent_logic. - Escalate: Route to infrastructure or platform engineering rather than prompt engineering.
- Retry Strategy: If automating retries, reset the environment context before retrying, as the previous context may be poisoned.
Example Indicators
Status: Failed
Iterations: 0
Tools Called: []
Error: "Session initialization failed: Missing environment variable"
よくある質問
ゼロ反復の失敗とは何ですか?
完了したステップがゼロで、ツールの呼び出しも作成されたファイルもなく、ログが早く止まっている実行のことです。
どんな原因を確認しますか?
環境、プロンプトの解析、起動時のクラッシュ、リソースの制限などのセットアップの問題です。
エージェントの推論を先にデバッグすべきですか?
いいえ。セットアップの問題を除外するまで、エージェント自体のデバッグは後回しにすべきだとガイドは述べています。
詳細
作者による元の説明
Identify and classify agent failures occurring before execution starts
repo: HKUDS/AgentPilot
人気
- GitHubのスター
- 7.8k
- ランキング
- #12853
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
agentpilot
7.8kエージェントが、作業を準備し、変更案を提案してテストし、評価するAgentPilotのループを実行することで、プロジェクトを段階的に改善できるよう支援します。
openspace
7.8kエージェントが、スキルを保存し取り出すツールであるOpenSpaceをセットアップし、MCPを通じてAIアプリに接続できるよう支援します。
rsi-arena
7.8kエージェントが、AIMEやTerminal-Benchなどの標準的なAIベンチマークテストをセットアップして実行し、異なる改善方法を比較できるよう支援します。
experiment-guide
7.8kエージェントが、プログラムを改善する方法を調べる間に、小さな実験を計画し、その結果を読み、発見を記録できるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。