Borrowing it
Nothing to install: this file belongs to adamayoung/TMDb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/adamayoung/TMDb/main/.claude/skills/diagnose-integration-failure/SKILL.mdgit clone --depth 1 https://github.com/adamayoung/TMDbWrote 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/adamayoung/tmdb/diagnose-integration-failure)<a href="https://agentmods.dev/skills/adamayoung/tmdb/diagnose-integration-failure"><img src="https://agentmods.dev/badge/skills/adamayoung/tmdb/diagnose-integration-failure/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/adamayoung/tmdb/diagnose-integration-failure"><img src="https://agentmods.dev/badge/skills/adamayoung/tmdb/diagnose-integration-failure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00032 | $0.02220 |
| Opus 5 | $0.00016 | $0.01110 |
| Sonnet 5 | $0.00006 | $0.00444 |
| Haiku 4.5 | $0.00003 | $0.00222 |
Grade A, and why
diagnose-integration-failure scanned grade A with 1 finding 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 11d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`api_key` as a *query item*, so a pasted `curl` leaks it — and this analysis How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose an integration-test failure
The TMDb integration tests hit the live TMDb API. The suite runs on three
triggers — pull_request / push (where it gates the change) and
schedule (the weekly live-API canary). Which run failed flips the most
likely cause, so determine the trigger first (step 0):
- PR / push-triggered → this run is the gate for a code change, so a
regression in the diff is a real candidate — weigh it alongside backend/data
drift. This is the common case when invoked from
/watch-pror/fix-pr-checks. - Scheduled → no code changed, so a regression is unlikely; the cause is almost certainly a backend change, drifted test data, or a transient error.
Wrong suite? If a CI check failed instead (lint, markdown, build, or unit tests from
ci.yml), use/diagnose-ci-failure. That one leads with the opposite assumption: a CI failure is almost always caused by the change under review.
Agent Behaviour Contract
Do these by default, without being reminded.
- Observe before you theorise. The log tells you what broke; only a live
call tells you what the API returns today. So a cause that claims the API
changed shape, or that a test's baseline drifted, must be backed by a live
observation —
mcp__tmdb__*(CLAUDE.md's standing instruction). - Every such cause carries an
observed:line naming the tool called and the shape that came back. A cause with noobserved:line is not reportable as ranked — demote it and mark itunverified. This is what makes the rule checkable by the consumer instead of trusting the diagnostician. - Only causes 1 and 2 can be observed. A transient/rate-limit (cause 3) and
an in-diff regression (cause 0) cannot be confirmed by a live call — the
endpoint being healthy now says nothing about either. Do not manufacture an
observed:line for them; the requirement does not apply. - Never publish a secret. An
observed:line records the tool and the shape, never a URL, command, or header carryingTMDB_API_KEY. TMDb takesapi_keyas a query item, so a pastedcurlleaks it — and this analysis is published verbatim into an issue on a public repo. Saymcp__tmdb__movie_details(550) → runtime: Int, present, not the command. - Headless runs cannot probe. The scheduled
integration-failure.ymljob mounts no MCP. There, writeobserved: unavailable (headless)and mark the causeunverified— do not fall back tocurl, which would put the key in the text (rule 4). Attended runs have the MCP; use it.
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.
- 11d ago First seen · 149 lines · 32 tokens per session scan A 09838841b0e0
diagnose-integration-failure is a skill published in the GitHub repository adamayoung/TMDb (176 stars, last pushed 10d ago), licensed Apache-2.0. It adds 32 tokens to every session and 2,220 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
workflow-audit
Systematic UI workflow auditing for SwiftUI applications. Discovers entry points, traces user flows, detects dead ends and broken promises, audits data wiring, evaluates from user perspective. Triggers: "workflow audit", "audit flows", "find dead ends", "check navigation".
roundtrip-radar
Per-journey code audit tracing data through complete user flows for bugs, data safety, performance, and round-trip completeness. Discovers workflows, audits each end-to-end, rolls up cross-cutting issues, and supports natural-language flow tracing. Triggers: "roundtrip audit", "trace user journey", "/roundtrip-radar".
time-bomb-radar
Finds deferred operations that crash on aged data -- code that passes every test but breaks weeks or months after release. Covers cascade deletes, cache expiry, trial paths, background accumulation, date-threshold transitions, and scheduled side effects. Triggers: "time bomb", "time-bomb", "/time-bomb-radar", "aged…
radar-suite-axis-classification
Shared axis classification framework for all radar-suite skills. Every finding must be classified as axis1 (bug), axis2 (scatter), or axis3 (dead/smelly) before emission, with mandatory coaching fields and file:line citations to existing patterns in the audited codebase. Triggers: invoked by every radar before…
bug-prospector
Mine for hidden bugs that pattern-based auditors miss. 7 analysis lenses: assumptions, state machines, boundary conditions, data lifecycle, error paths, time-dependent behavior, and platform divergence. Triggers: "prospect for bugs", "find hidden bugs", "assumption audit", "what could go wrong", "bug prospector".
ttb-skill-bugfix
Systematic bug fixing workflow for TTBaseUIKit apps: root cause analysis, fix strategy, xcodebuild verify, zero regression.