diagnosing-bugs SKILL.md skillA

diagnosing-bugs from dayfinggg/openai-codex-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add dayfinggg/openai-codex-agent-skills/diagnosing-bugs@git:20261029.276ae81

Pins git:20261029.276ae81 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
dayfinggg/openai-codex-agent-skills
Path
codex/skills/diagnosing-bugs/SKILL.md
Versions recorded
4
Latest version
git:20261029.276ae81, committed Oct 29, 2026
First version recorded
Jul 26, 2026
Size
8,724 bytes
Repository stars
8
License
MIT

Diagnose a difficult reproducible bug or performance regression through a feedback loop, competing hypotheses, and regression proof.

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

Read [local host integration](../.shared/host-integration.md) before applying this imported workflow.

# Diagnosing Bugs

A discipline for hard bugs. Skip phases only when explicitly justified.

When exploring the codebase, read `GLOSSARY.md` (if it exists) to get a clear mental model of the relevant modules, and check ADRs in the area you're touching.

## Redact

This skill has you show commands, outputs and captured artifacts. **Redact every secret first**: write `<REDACTED>` in its place. Build loops against env vars, so the credential stays in the environment rather than in what you show. Captured artifacts carry auth headers: quote only the lines that carry the signal.

If the redacted output is not enough to diagnose the bug, say so and ask the user.

## Phase 1: Build a feedback loop

**This is the skill.** Everything else is mechanical. If you have a **tight** pass/fail signal for the bug (one that goes red on _this_ bug), you will find the cause; bisection, hypothesis-testing, and instrumentation all just consume it. If you don't have one, no amount of staring at code will save you.

Spend disproportionate effort here. **Be aggressive. Be creative. Refuse to give up.**
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dayfinggg/openai-codex-agent-skills/diagnosing-bugs@sha256:ca68236e717eef25

The line at the top of this page pins the label git:20261029.276ae81, 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_osyqaftam2b352x2.svg)](https://markdownregistry.com/a/art_osyqaftam2b352x2)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jul 26, 2026 and Oct 29, 2026, about one every 32 days.

versioncommittedcommitsizeaudit
git:20261029.276ae81 latest2026-10-29 276ae81 8,724 BA view · diff
git:20260801.8234b5f2026-08-01 8234b5f 6,370 BA view · diff
git:20260727.971ea792026-07-27 971ea79 6,440 BA view · diff
git:20260726.812376b2026-07-26 812376b 6,124 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 (8724 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

dayfinggg/openai-codex-agent-skills · 8 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_osyqaftam2b352x2
GET https://markdownregistry.com/api/v1/resolve?ref=dayfinggg/openai-codex-agent-skills/diagnosing-bugs
GET https://markdownregistry.com/api/v1/blob/ca68236e717eef25c229c0e4ce7aed3643f5692153b3e4b33e08a86748371547

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 dayfinggg/openai-codex-agent-skills

api-contract-change SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/api-contract-change/SKILL.md · Implement or modify HTTP API contracts with validation, errors, authorization, and client-compatibility checks. Use for…
git:20261029.276ae81 · audit A · 8 stars
application-cache-change SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/application-cache-change/SKILL.md · Change application or Redis caching with key, invalidation, concurrency, failure, and data-isolation verification. Use…
git:20261029.276ae81 · audit A · 8 stars
backend-security-change SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/backend-security-change/SKILL.md · Secure changed backend boundaries while preserving access policy and accepted events. Use for authentication…
git:20261029.276ae81 · audit A · 8 stars
background-job-change SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/background-job-change/SKILL.md · Change queue consumers, scheduled tasks, or background workers with duplicate-delivery, retry, timeout, shutdown, and…
git:20261029.276ae81 · audit A · 8 stars
ci-failure-diagnosis SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/ci-failure-diagnosis/SKILL.md · Diagnose failed CI jobs from the exact commit, primary error, environment, and reproduction. Use for failed pipelines…
git:20261029.276ae81 · audit A · 8 stars
code-review SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/code-review/SKILL.md · Review code changes, branches, or PRs against requirements and repository standards. Select general review or…
git:20261029.276ae81 · audit A · 8 stars
codebase-design SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/codebase-design/SKILL.md · Design or improve a module interface, dependency seam, or test boundary for the requested change without speculative…
git:20261029.276ae81 · audit A · 8 stars
database-migration-rollout SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/database-migration-rollout/SKILL.md · Plan and validate schema migrations with lock, data, application-compatibility, rollout, and restoration checks. Use…
git:20261029.276ae81 · audit A · 8 stars
database-query-diagnosis SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/database-query-diagnosis/SKILL.md · Diagnose slow SQL, lock waits, or connection exhaustion using actual queries, plans, and workload evidence. Use for…
git:20261029.276ae81 · audit A · 8 stars
deployment-verification SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/deployment-verification/SKILL.md · Prepare or verify an application release with artifact identity, configuration, migrations, readiness, and restoration…
git:20261029.276ae81 · audit A · 8 stars
docker SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/docker/SKILL.md · Containerize an application, write or optimize Dockerfiles and image builds, or configure and diagnose Docker Compose…
git:20261029.276ae81 · audit A · 8 stars
documentation-writing SKILL.md skill
dayfinggg/openai-codex-agent-skills · codex/skills/documentation-writing/SKILL.md · Write and maintain project documentation. Use when creating or updating README files, guides, API references, runbooks…
git:20261101.ec2d422 · audit A · 8 stars

Every file in dayfinggg/openai-codex-agent-skills

Other files named diagnosing-bugs

diagnosing-bugs SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/diagnosing-bugs/SKILL.md · 面向棘手缺陷和性能回退的诊断循环。适用于用户说 “diagnose” / “debug this”,或报告某些东西 broken、throwing、failing、slow 时。
git:20261028.c48fd4a · audit A · 5,526 stars
diagnosing-bugs SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20261028.4eb8b2a · audit A · 558 stars
diagnosing-bugs SKILL.md skill
mxyhi/ok-skills · diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20261009.b4e20e9 · audit A · 509 stars
diagnosing-bugs SKILL.md skill
asymmetric-al/core · .agents/skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20261022.752a38b · audit A · 373 stars
diagnosing-bugs SKILL.md skill
oyadotai/oya-browser · .agents/skills/diagnosing-bugs/SKILL.md · This skill should be used when diagnosing a reported bug, intermittent failure, stuck operation, or performance…
git:20261021.2ea469d · audit A · 351 stars
diagnosing-bugs SKILL.md skill
oyadotai/oya-browser · .claude/skills/diagnosing-bugs/SKILL.md · This skill should be used when diagnosing a reported bug, intermittent failure, stuck operation, or performance…
git:20261021.2ea469d · audit A · 351 stars
diagnosing-bugs SKILL.md skill
jellydn/my-ai-tools · skills/diagnosing-bugs/SKILL.md · Build a tight, red-capable feedback loop before diagnosing failures, then minimize, test ranked hypotheses, and lock…
git:20261007.a4a976f · audit A · 126 stars
diagnosing-bugs SKILL.md skill
jellydn/my-ai-tools · configs/amp/plugins/my-ai-tools-skills/skills/diagnosing-bugs/SKILL.md · Build a tight, red-capable feedback loop before diagnosing failures, then minimize, test ranked hypotheses, and lock…
git:20261007.a4a976f · audit A · 126 stars

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