# Hipfire Diag

> Hipfire Diag is an Agent Skill for testing & quality published in the Kaden-Schutt/hipfire repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run and interpret hipfire GPU diagnostics for ROCm/HIP bring-up, missing kernels, test_kernels failures, inference smoke failures, and install/runtime environment problems. Use when a user asks to diagnose hipfire, check GPU readiness, run baseline tests, or explain diagnostic output.

- Skill name: `hipfire-diag`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/Kaden-Schutt/hipfire/blob/HEAD/.agents/skills/hipfire-diag/SKILL.md
- Repository: Kaden-Schutt/hipfire (482 GitHub stars when collected)

## SKILL.md

# hipfire-diag

Use this skill for read-only diagnosis of a hipfire checkout or installed
runtime. It gathers GPU, ROCm, kernel-blob, build, and optional inference-test
signals, then maps failures to concrete next steps.

## Workflow

1. Run from the repo root:

```bash
.agents/skills/hipfire-diag/run-diagnostics.sh [MODEL_PATH]
```

2. Read `interpret.md` for failure mapping and `fix-suggestions.md` for
   platform-specific remediation.
3. Report the failing subsystem first: GPU visibility, ROCm/HIP install,
   missing test binaries, kernel test failures, inference failures, or stale
   build artifacts.

## Guardrails

- Do not install packages, reboot, or edit user shell config unless the user
  explicitly approves that remediation.
- If diagnostics touch kernels, quant formats, dispatch, fusion, rotation,
  rmsnorm, or DFlash/spec-decode behavior, verify with
  `./scripts/coherence-gate-dflash.sh` before claiming correctness.
- Treat one smoke run as diagnosis only, not a performance claim.

---

Source: https://www.openparable.com/skill/testing-quality/hipfire-diag (OpenParable). Cite the canonical URL above.
