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.

Install it, pinned
mdr add tmusser/ai-engineering-skills/diagnose-loop@git:20260910.1199fd5

Pins 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

The exact contents, by fingerprint
mdr add tmusser/ai-engineering-skills/diagnose-loop@sha256:c04a70b54a5750fa

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4nmesfyv7f3f42lj.svg)](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.

versioncommittedcommitsizeaudit
git:20260910.1199fd5 latest2026-09-10 1199fd5 2,951 BA view · diff
git:20260518.0d37b7d2026-05-18 0d37b7d 1,078 BA view · diff
git:20260513.f9985462026-05-13 f998546 1,201 BA view · diff
git:20260513.58e49a62026-05-13 58e49a6 1,115 BA view · diff
git:20260513.29c281c2026-05-13 29c281c 1,178 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md AGENTS.md file
tmusser/ai-engineering-skills · AGENTS.md
git:20260723.bcffaf4 · audit A · 6 stars
analyze-mini SKILL.md skill
tmusser/ai-engineering-skills · skills/analyze-mini/SKILL.md · Risk-triggered consistency checkpoint that detects when task artifacts, assumptions, or verification no longer support…
git:20260727.5a2073a · audit A · 6 stars
bug-capture SKILL.md skill
tmusser/ai-engineering-skills · skills/bug-capture/SKILL.md · Preserve discovered bugs as BUGS.md entries.
git:20260518.0d37b7d · audit A · 6 stars
build-one SKILL.md skill
tmusser/ai-engineering-skills · skills/build-one/SKILL.md · Implement exactly one planned slice after scope is frozen, without exceeding the spec ceiling or carrying known…
git:20261101.bfc03f8 · audit A · 6 stars
ceremony-budget SKILL.md skill
tmusser/ai-engineering-skills · skills/ceremony-budget/SKILL.md · Choose the smallest workflow that still buys back enough attention and safety for the task.
git:20261005.a4c4424 · audit A · 6 stars
checklist-mini SKILL.md skill
tmusser/ai-engineering-skills · skills/checklist-mini/SKILL.md · Validate a mini-spec before planning.
git:20260518.0d37b7d · audit A · 6 stars
constitution-lite SKILL.md skill
tmusser/ai-engineering-skills · skills/constitution-lite/SKILL.md · Define a tiny set of stable, non-negotiable agent authority boundaries for repeated or delegated work without…
git:20260727.96471d7 · audit A · 6 stars
context-check SKILL.md skill
tmusser/ai-engineering-skills · skills/context-check/SKILL.md · Detect context drift, rehydration loops, hypothesis sprawl, scope creep, active-mode loss, and durable-state gaps…
git:20260626.1692c35 · audit A · 6 stars
eco-mode SKILL.md skill
tmusser/ai-engineering-skills · skills/eco-mode/SKILL.md · Keep a small, budgeted working context for low-cost model execution without weakening task contracts, required sources…
git:20261026.2efd117 · audit A · 6 stars
falsify-spec SKILL.md skill
tmusser/ai-engineering-skills · skills/falsify-spec/SKILL.md · Adversarially test a bounded SPEC.md for plausible wrong implementations that still pass its written acceptance…
git:20261020.30b4737 · audit A · 6 stars
grill-with-docs-lite SKILL.md skill
tmusser/ai-engineering-skills · skills/grill-with-docs-lite/SKILL.md · Groom a fuzzy request and the smallest relevant source set into a bounded PRE-SPEC ASSEMBLY packet for mini-spec, using…
git:20261005.a4c4424 · audit A · 6 stars
handoff SKILL.md skill
tmusser/ai-engineering-skills · skills/handoff/SKILL.md · Compress project context into HANDOFF.md with workflow state, analysis checkpoint, next gate, verification, current…
git:20261007.31f5d23 · audit A · 6 stars

Every file in tmusser/ai-engineering-skills

Other files named diagnose-loop

diagnose-loop SKILL.md skill
ivy00johns/skill-madness · skills/workflows/diagnose-loop/SKILL.md · Disciplined bug diagnosis whose core is building a fast, deterministic pass/fail reproduction first; the later phases…
v1.2.1 · audit A · 11 stars

Browse by kind, by grade A, or by owner.