跳到正文
FunCoding

detect-zero-iteration-failure

Identify and classify agent failures occurring before execution starts

Star
7,755
分类
其他
许可证
MIT
最近提交
2026年8月12日

benchmarks/gdpval/skills/detect-zero-iteration-failure/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"

相似的 Skill

claude-handoff

MAmattpocock/skills290k近 7 天新增 10,235 个 star

bengali-nlp

AFaffaan-m/ECC279k近 7 天新增 4,056 个 star

agent-self-evaluation

AFaffaan-m/ECC279k近 7 天新增 4,056 个 star

agent-payment-x402

AFaffaan-m/ECC279k近 7 天新增 4,056 个 star

ponytail-gain

DIDietrichGebert/ponytail163k近 7 天新增 5,418 个 star

ponytail-debt

DIDietrichGebert/ponytail163k近 7 天新增 5,418 个 star