Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add testingbot/mcp-server --skill why-did-my-test-failgit clone --depth 1 https://github.com/testingbot/mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/testingbot/mcp-server/why-did-my-test-fail)<a href="https://agentmods.dev/skills/testingbot/mcp-server/why-did-my-test-fail"><img src="https://agentmods.dev/badge/skills/testingbot/mcp-server/why-did-my-test-fail/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/testingbot/mcp-server/why-did-my-test-fail"><img src="https://agentmods.dev/badge/skills/testingbot/mcp-server/why-did-my-test-fail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.00324 |
| Opus 5.5 | $0.00024 | $0.00130 |
| Sonnet 5.5 | $0.00012 | $0.00065 |
| Haiku 4.5 | $0.00006 | $0.00032 |
Grade A, and why
why-did-my-test-fail scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Why did my TestingBot test fail?
Needs the TestingBot MCP server (@testingbot/mcp-server). If a tool says no credentials are configured, call tb_login (it opens a browser sign-in) and continue; never ask the user to paste a key or secret.
- Call
getTestDetailswith the session ID (or read the resourcetestingbot://tests/<sessionId>) for the status, status message, environment and which logs exist. - If the
analyzeTestFailuretool is available, call it. If it says AI Analysis is not enabled for the account, do not push the user to enable it; continue with the logs. - Call
getFailureLogswithfailuresOnly: true. Read a full log (testingbot://tests/<sessionId>/logs/<type>) only when the failing lines are not enough. - Report:
- what the test was doing and the step that failed;
- the most likely cause, classified as application bug, test script, environment or flaky;
- the log lines that show it (quoted);
- one to three concrete fixes.
Say how sure you are. Do not claim a cause the logs do not show.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago Changed b286aa667ac0
- 11d ago First seen · 20 lines · 61 tokens per session scan A 6bf834ad68de
why-did-my-test-fail is a skill published in the GitHub repository testingbot/mcp-server (2 stars, last pushed 7d ago), licensed MIT. It adds 61 tokens to every session and 324 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-20.
why-did-my-test-fail compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| why-did-my-test-failtestingbot/mcp-server | Skill | 2 | 7d ago | MIT | A | 61 | Claude Code |
| chrome-devtools-cliChromeDevTools/chrome-devtools-mcp | Skill | 60k | yesterday | Apache-2.0 | A | 31 | Claude Code |
| n8n-error-handlingczlonkowski/n8n-mcp | Skill | 23k | yesterday | MIT | A | 128 | Claude Code, Codex |
| n8n-validation-expertczlonkowski/n8n-mcp | Skill | 23k | yesterday | MIT | A | 91 | Claude Code, Codex |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| openlore-analyze-codebaseclay-good/OpenLore | Skill | 371 | today | MIT | A | 48 | Claude Code, Codex |
| flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutter | Skill | 401 | 4d ago | MIT | A | 58 | Claude Code |