Requirements
rizsotto/Bear
Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…
Determine the TRUE cause of a failed retort run before attributing it.
$ npx skills add adrianco/retort --skill diagnose-failed-run -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install adrianco/retort diagnose-failed-run --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/adrianco/retort.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/diagnose-failed-run .claude/skills/diagnose-failed-run && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "diagnose-failed-run" agent skill from https://github.com/adrianco/retort/tree/main/skills/diagnose-failed-run into .claude/skills/diagnose-failed-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-failed-run", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/adrianco/retort/tree/main/skills/diagnose-failed-runType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add adrianco/retort --skill diagnose-failed-run -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install adrianco/retort diagnose-failed-run --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adrianco/retort.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/diagnose-failed-run .agents/skills/diagnose-failed-run && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "diagnose-failed-run" agent skill from https://github.com/adrianco/retort/tree/main/skills/diagnose-failed-run into .agents/skills/diagnose-failed-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-failed-run", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add adrianco/retort --skill diagnose-failed-run -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install adrianco/retort diagnose-failed-run --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adrianco/retort.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/diagnose-failed-run .cursor/skills/diagnose-failed-run && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "diagnose-failed-run" agent skill from https://github.com/adrianco/retort/tree/main/skills/diagnose-failed-run into .cursor/skills/diagnose-failed-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-failed-run", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/adrianco/retort.git --path skills/diagnose-failed-run--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add adrianco/retort --skill diagnose-failed-run -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install adrianco/retort diagnose-failed-run --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adrianco/retort.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/diagnose-failed-run .gemini/skills/diagnose-failed-run && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "diagnose-failed-run" agent skill from https://github.com/adrianco/retort/tree/main/skills/diagnose-failed-run into .gemini/skills/diagnose-failed-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-failed-run", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install adrianco/retort diagnose-failed-runInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add adrianco/retort --skill diagnose-failed-run -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/adrianco/retort.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/diagnose-failed-run .github/skills/diagnose-failed-run && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "diagnose-failed-run" agent skill from https://github.com/adrianco/retort/tree/main/skills/diagnose-failed-run into .github/skills/diagnose-failed-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-failed-run", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add adrianco/retort --skill diagnose-failed-run -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install adrianco/retort diagnose-failed-run --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adrianco/retort.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/diagnose-failed-run .opencode/skills/diagnose-failed-run && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "diagnose-failed-run" agent skill from https://github.com/adrianco/retort/tree/main/skills/diagnose-failed-run into .opencode/skills/diagnose-failed-run/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-failed-run", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
diagnose-failed-runDetermine the TRUE cause of a failed retort run before attributing it.
Diagnose Failed Run is an agent skill from adrianco/retort. Determine the TRUE cause of a failed retort run before attributing it. Ground-truth every failure (run its tests, read its agent logs, inspect its workspace) and classify it as an infrastructure false-fail, a genuine model miss, or an environment issue — never trust the gate verdict or a log signature alone. Use whenever a run is recorded failed (testcoverage=0 / gate fail), a pass rate looks low, or you're deciding whether a "failure" is real before reporting or proceeding.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Test coverage. The repository describes itself as: Platform Evolution Engine. Distill the best from the combinatorial mess. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1f75769. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
cargogomvnFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Diagnose Failed Run loads about 1.7k tokens when it runs. Until then it costs about 125 tokens; SKILL.md has 864 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from adrianco/retort at commit 1f75769, republished under its Apache-2.0 licence (© adrianco). 864 words, ~1,744 tokens.
.claude/skills/diagnose-failed-run/SKILL.md (or your agent's skills folder).A run failing the mechanical gate (test_coverage=0 → all metrics zeroed → status=failed)
says only that the tests didn't run/pass under the scorer — not that the model
produced bad code. Historically most "failures" in this repo were harness/measurement
artifacts, not model defects. This skill is the judgment layer on top of retort diagnose:
it establishes the real cause with direct evidence before anyone attributes, reports,
or gates on it.
It exists because we repeatedly drew wrong conclusions by inferring from a signature ("flaky", "concurrency", a wrong env var, a wrong tool-permission fix) that end-to-end checks later overturned. The cost of guessing here is hours and bad decisions.
[DIRECT] (observed: command output, file state, a reproduced
result) vs [HYPOTHESIS] (inferred, not yet tested). Don't ship a hypothesis as a
cause. If a cause is unconfirmed, say so and name the experiment that would confirm it.--print-logs stderr
revealed the real permission was external_directory.runs/<cell>/repN/| File | Use |
|---|---|
TASK.md | What the agent was asked to build |
stack.json | language / agent / model / tooling for this cell |
scores.json | recorded metrics (all 0 ⇒ gate-failed) |
| generated source | what the agent actually produced — check it exists and where (subdirs/packages count) |
_agent_stdout.log | the agent's full --format json / --mode json event stream (tool calls + their status, errors, the final text) |
_agent_stderr.log | the agent's internal logs (permission evaluations, hangs, provider errors) — for opencode, requires --print-logs |
If _agent_*.log are absent, the run predates log capture; reconstruct from the agent's
own session db (e.g. opencode's OPENCODE_DB sibling) and add capture before re-running.
retort diagnose --experiment-dir <dir> labels each failed
run TOOLING (recovers with retort rescore --only-failed) vs GENUINE. Start here;
this skill handles the cases it can't auto-resolve.GENUINE):app/, src/) the eye/glob missed.pytest / cargo test / go test ./... / mvn test / …). Passing tests ⇒ it's a
scorer false-fail, not a model miss._agent_stdout.log for the failing tool call + status; read
_agent_stderr.log for the reason.[DIRECT] with the evidence._agent_*.log captured, then read the events at the abort.A. Infrastructure false-fail (code works; the harness mis-scored it → fix the harness, then rescore):
bun:test project the TS scorer can't measure).requirements.txt; tests fail at import (incl. transitive deps like httpx for fastapi/starlette TestClient).external_directory: ask→deny on the temp workspace) → aborts with no code.opencode.db) → fast-fail at startup under parallelism.B. Genuine model miss (real, count it; not fixable in the harness):
C. Environment (transient/operational, not the model or harness logic):
The classic tell — fails instantly for ~$0 ⇒ harness; burns model time ⇒ genuine — is a starting hint, not a verdict. It breaks when scoring is the failure point: a run can burn minutes producing working code and still be scored 0 (scorer false-fail). And a fast no-code abort can be a harness permission denial, not a model giving up. Always ground-truth.
Per failure, report: cell · cause (one of the taxonomy) · [DIRECT]/[HYPOTHESIS] with the
evidence · recommended action (retort rescore; fix scorer/harness then rescore; count as
genuine; re-run with capture). Then the rolled-up verdict: how many failures are infra vs
genuine, and whether the infrastructure is trustworthy enough to proceed.
_agent_stdout.log / _agent_stderr.log per run (_persist_agent_output).--print-logs so stderr carries the diagnostic logs
(permission evaluations, step loop). Raising opencode's level (--log-level DEBUG,
OPENCODE_LOG_LEVEL=verbose) adds ~nothing — the --format json stdout stream is the
signal.retort diagnose / retort rescore — automated TOOLING/GENUINE triage + recovery.evaluate-run skill — the per-run spec/quality evaluation (this skill is for failures).© adrianco, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/diagnose-failed-run of adrianco/retort.
Open the folder on GitHubat commit 1f75769
Diagnose Failed Run next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Diagnose Failed Run this skilladrianco/retort | 207 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Requirementsrizsotto/Bear | 6.5k | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Crap Analysisardalis/RiverBooks | 135 | 2 repos | ~3.4k | Automated safety check: Pass | None | |
| Code Coverages3s-project/s3s | 311 | — | ~789 | Automated safety check: Pass | Apache-2.0 | |
| Project Statusbactopia/bactopia | 522 | — | ~787 | Automated safety check: Pass | MIT | |
| Check Coverageldayton/Dippy | 243 | — | ~403 | Automated safety check: Pass | MIT |
rizsotto/Bear
Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…
ardalis/RiverBooks
Analyze code coverage and CRAP (Change Risk Anti-Patterns) scores to identify high-risk code.
s3s-project/s3s
Measure and grow the line coverage of the s3s crate. An agent skill from s3s-project/s3s.
bactopia/bactopia
Show a live snapshot of the Bactopia project state — component counts, GroovyDoc coverage, nf-test coverage, and structural issues.
ldayton/Dippy
Ensure comprehensive test coverage for a CLI handler. An agent skill from ldayton/Dippy.
kajisho5/ffmpeg-skill
Add and review preconditions on operations that delete, overwrite, rewrite history, or resolve a caller-supplied name to a filesystem path — refusing instead of warning, placing the guard ahead of…
adrianco/retort
Compare evaluated runs in a retort experiment along factor dimensions.
adrianco/retort
Evaluate a single retort experiment run. An agent skill from adrianco/retort.
adrianco/retort
Aggregate a retort run's findings.jsonl into a machine-readable assessment.json summary with severity counts, penalty score, requirement coverage, and top findings.
adrianco/retort
Summarize the architecture of code generated by a single retort run.
adrianco/retort
Refresh the data tables in optimal-blog.md from master.db. An agent skill from adrianco/retort.
Categories
Determine the TRUE cause of a failed retort run before attributing it. Diagnose Failed Run is an agent skill from adrianco/retort. Determine the TRUE cause of a failed retort run before attributing it.
Diagnose Failed Run fits situations like: A run is recorded failed (testcoverage=0 / gate fail); A pass rate looks low; youre deciding whether a failure is real before reporting.
Run `npx skills add adrianco/retort --skill diagnose-failed-run -a claude-code`. Or copy the skill folder (skills/diagnose-failed-run in adrianco/retort) into .claude/skills/diagnose-failed-run in your project. Claude Code loads it when a task matches its description.
Run `npx skills add adrianco/retort --skill diagnose-failed-run -a codex`. Or copy the skill folder (skills/diagnose-failed-run in adrianco/retort) into .agents/skills/diagnose-failed-run in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add adrianco/retort --skill diagnose-failed-run -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diagnose-failed-run, .gemini/skills/diagnose-failed-run, .github/skills/diagnose-failed-run and .opencode/skills/diagnose-failed-run in your project.
Going by SKILL.md and its folder, Diagnose Failed Run needs the command-line tools its instructions call (cargo, go and mvn).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Diagnose Failed Run is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Diagnose Failed Run: Requirements (rizsotto/Bear, 6.5k stars), Crap Analysis (ardalis/RiverBooks, 135 stars), Code Coverage (s3s-project/s3s, 311 stars) and Project Status (bactopia/bactopia, 522 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
adrianco (a GitHub user) maintains it in adrianco/retort, which has 207 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 9, 2026.
Source: adrianco/retort on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.