diagnose-loop SKILL.md skillA
diagnose-loop from tmusser/ai-engineering-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tmusser/ai-engineering-skills/diagnose-loop@git:20260910.1199fd5Pins git:20260910.1199fd5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tmusser/ai-engineering-skills
- Path
skills/diagnose-loop/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260910.1199fd5, committed Sep 10, 2026
- First version recorded
- May 13, 2026
- Size
- 2,951 bytes
- Repository stars
- 6
- License
- MIT
Diagnose reproducible failures with hypothesis-driven fixes and bounded retries.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Diagnose Loop ## Purpose Debug failures systematically. ## When to use Use when a command fails, behavior is wrong, a test regresses, or output does not match the spec. ## Inputs - Failure report - Exact command or reproduction case - Recent changes - Logs, traces, or output ## Workflow 1. Freeze feature work. 2. Reproduce the failure. 3. Identify the exact failing command or case. 4. List hypotheses. 5. Instrument minimally. 6. Name one active hypothesis and the observation that would falsify it; apply the smallest fix that tests it. 7. Add a regression check if possible. 8. Rerun the original failing command. 9. Rerun relevant verification. An improved signal is not completion; the original failure and compatibility checks must pass. 10. Before a second repair attempt, count the initial attempt and define the retry contract: fixed input/evaluator identities, acceptance threshold, total attempt limit, consecutive no-progress limit, revert rule, ledger location, and review trigger. If incomplete, stop with `REVIEW_REQUIRED`; the initial bounded diagnosis does not require a separate loop artifact. …
Read the whole file at its exact version.
How to install
mdr add tmusser/ai-engineering-skills/diagnose-loop@sha256:c04a70b54a5750faThe line at the top of this page pins the label git:20260910.1199fd5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_4nmesfyv7f3f42lj)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 13, 2026 and Sep 10, 2026, about one every 30 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260910.1199fd5 latest | 2026-09-10 | 1199fd5 | 2,951 B | A | view · diff |
| git:20260518.0d37b7d | 2026-05-18 | 0d37b7d | 1,078 B | A | view · diff |
| git:20260513.f998546 | 2026-05-13 | f998546 | 1,201 B | A | view · diff |
| git:20260513.58e49a6 | 2026-05-13 | 58e49a6 | 1,115 B | A | view · diff |
| git:20260513.29c281c | 2026-05-13 | 29c281c | 1,178 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2951 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
tmusser/ai-engineering-skills · 6 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4nmesfyv7f3f42lj GET https://markdownregistry.com/api/v1/resolve?ref=tmusser/ai-engineering-skills/diagnose-loop GET https://markdownregistry.com/api/v1/blob/c04a70b54a5750faad2104bc57404affaafa8225e130f625fd8c158a28c92e7b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from tmusser/ai-engineering-skills
Every file in tmusser/ai-engineering-skills