Score how agent skills handle HTTP 429s, MCP timeouts, and partial tool failures
Happy-path demos never show what happens when an API returns 503 or truncates output. Compare fault-injection recovery scores.
Chaos checks every production agent skill should survive
- 01
Verify zero fabricated answers on tool failure
The worst failure mode in AI agents: a search or DB tool returns 500, and the LLM quietly invents plausible numbers from memory.
- 02
Penalize tight retry hammering on 429/403 errors
On HTTP 403 Permission Denied, retrying identical arguments five times wastes tokens; skills must pivot or report blocked access.
- 03
Check fallback source or scoped degradation
Resilient research skills fall back to secondary providers or deliver partial verified findings clearly marked incomplete.
- 04
Inspect checkpoint state files on multi-item batches
Batch skills processing 50 items should checkpoint progress locally so a timeout at item 42 resumes cleanly.
Questions and answers
Do LLMs really invent fake tool data when an MCP server errors out?
Shockingly often on poorly written skills—especially when instructions say 'You MUST produce a complete table' without defining an error-reporting path.
How does fault injection work in SkillMarket resilience tests?
Proxy middleware deterministically injects 429 Retry-After, 504 gateway timeouts, and truncated payloads on 20% of tool calls to score recovery.
Should retry backoff live in SKILL.md prose or helper code?
Always in MCP server or CLI wrapper code—asking an LLM to 'wait 4 seconds and try again' wastes an entire inference round-trip.
Related tasks in this category
See all in Internal Evals & Golden Test Suites-
Design a reproducible 30-to-100 case golden evaluation suite for your internal skills
Vibe-checking three prompts after editing SKILL.md hides regressions. Structure realistic happy-path, edge-case, and no-trigger test cases.
-
Benchmark stochastic skill reliability with pass@1, pass@3, and pass^5 consistency metrics
A skill with 80% single-run pass@1 succeeds on all 5 consecutive runs (pass^5) less than 33% of the time. Measure variance before shipping.
-
Calibrate LLM-as-judge grading rubrics against human reviewers for open-ended skills
Uncalibrated 1-to-5 LLM judges reward long, confident bullet lists even when facts are wrong. Build binary, human-aligned graders.
-
Build recorded HTTP and MCP fixtures to benchmark tool-use skills offline and deterministically
Live Slack, Jira, and search APIs mutate every hour and hit rate limits in CI. Replay realistic stateful fixtures cleanly.
-
Block pull requests in GitHub Actions when SKILL.md edits drop benchmark pass rates or spike tokens
Treat SKILL.md and helper script changes like production code: run fast smoke evals on PRs and post pass-rate + token-cost diffs automatically.
-
Turn failed production agent traces and user thumbs-downs into anonymized regression cases
Synthetic test prompts miss weird customer inputs. Build a clean flywheel from Langfuse, Braintrust, or OTel failure traces into golden tests.