本文へスキップ
Skillpedia
エージェント7.8k · #12853

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がスキルを読んで指示に従います。

貼り付け用メッセージ

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

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:

  1. Iteration Count: The agent reports 0 completed iterations.
  2. Tool Usage: No tools were invoked during the session.
  3. Artifacts: No documents, files, or code artifacts were created.
  4. 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:

  1. Environment Health: Check if the runtime environment initialized correctly (e.g., dependencies installed, API keys loaded).
  2. Prompt Parsing: Verify if the initial user instruction was malformed or triggered safety filters immediately.
  3. Initialization Crash: Look for stack traces or panic logs occurring before the first agent step.
  4. Resource Limits: Check if memory or quota limits were hit before execution began.

Action Plan

  1. Tag the Failure: Label the incident as failure_mode: pre_execution rather than failure_mode: agent_logic.
  2. Escalate: Route to infrastructure or platform engineering rather than prompt engineering.
  3. 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

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

0

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

コメント

  • …

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

似ているスキル