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 joao-aires/agent-skills-public --skill job-failure-diagnosisgit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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/joao-aires/agent-skills-public/job-failure-diagnosis)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/job-failure-diagnosis"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/job-failure-diagnosis/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/joao-aires/agent-skills-public/job-failure-diagnosis"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/job-failure-diagnosis.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.00023 | $0.00602 |
| Opus 5.5 | $0.00009 | $0.00241 |
| Sonnet 5.5 | $0.00005 | $0.00120 |
| Haiku 4.5 | $0.00002 | $0.00060 |
Grade A, and why
job-failure-diagnosis 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose failed jobs
Explain the recurring failure as far as the supplied evidence supports, and identify the next check that would resolve the most important remaining uncertainty. Only supplied artifacts and local analysis are authorized. No live job replay, data access, notification or deployment. Do not claim that a repair was executed.
Reconstruct the failure
Establish what the job should do and what counts as completion from the supplied code and configuration. Distinguish a logical job from its individual execution attempts so retries do not inflate the apparent number of affected jobs.
Connect execution records using the identifiers and timestamps they actually contain. Follow the job from scheduling or enqueueing through execution and completion where evidence exists. Identify the first observed departure from expected behavior; a final failure message may describe a later consequence. Mark missing stages and conflicts between records instead of filling them in.
Compare failed attempts with other supplied failures and, when available, successful attempts. Look for differences in code or configuration versions, input characteristics, duration, dependency responses and workload. Describe the recurring pattern and any exceptions. Report user-visible impact only where the records support it, such as delayed output or repeated side effects.
Test explanations against the records
Trace the failing path through the supplied code and the configuration that applies to those executions. For each plausible explanation, state what mechanism would produce the observed failure, which evidence supports it, and what contradicts it or remains unknown. A matching timestamp or error label alone does not establish a cause.
Choose checks that distinguish the leading explanations. For a timeout, compare the recorded duration with the configured deadline and inspect any supplied evidence of progress, dependency waits or cancellation. A timeout establishes that a deadline was reached; it does not by itself establish insufficient worker capacity. If failures occur under higher workload, use supplied queue, concurrency or resource records to assess whether capacity explains the pattern before recommending more workers.
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.
- 8d ago First seen · 32 lines · 23 tokens per session scan A 30ee02716cf4
job-failure-diagnosis is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed 8d ago), licensed MIT. It adds 23 tokens to every session and 602 once invoked, about $0.0001 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-10-26.
Other skills, from other repositories
systematic-debugging
Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.
log-error-digest
Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…
cwv-optimizer
Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…
ci-fixer
CI failures - read error, minimal fix, verify.
incident-response-incident-response
Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.
diagnosing-missing-recordings
Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specific session ID or across their project. Covers SDK diagnostic signals, project settings, sampling…