Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LuisFelipeMoro/Harness-devkit --skill bugfixgit clone --depth 1 https://github.com/LuisFelipeMoro/Harness-devkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/luisfelipemoro/harness-devkit/bugfix)<a href="https://agentmods.dev/skills/luisfelipemoro/harness-devkit/bugfix"><img src="https://agentmods.dev/badge/skills/luisfelipemoro/harness-devkit/bugfix/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/luisfelipemoro/harness-devkit/bugfix"><img src="https://agentmods.dev/badge/skills/luisfelipemoro/harness-devkit/bugfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01365 |
| Opus 5.5 | $0.00000 | $0.00546 |
| Sonnet 5.5 | $0.00000 | $0.00273 |
| Haiku 4.5 | $0.00000 | $0.00136 |
Grade A, and why
bugfix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Input: a bug description; the questions in step 1 fill in the rest.
Output: a feedback-loop command, ranked hypotheses with the confirmed one, a root-cause report, a regression test observed RED then GREEN (or a documented no-seam finding with the loop as the RED evidence), the minimal fix at the chosen depth, a green full suite and gates, a Bug Fix Summary, a PROGRESS.md entry.
Boundary: never weaken, delete or rewrite an existing test to make the fix pass. Dispatches: bug-investigator (sonnet) + coder (haiku) per fix round — exploration stays out of the main context; the post-checkpoint continuation resumes the same investigator, not a new dispatch. No push, no PR.
Discipline: the failing reproduction test is written RED before any fix. This is the one deliberate exception to the devkit's spec-first rule (feature work implements first, then writes and falsifies the specified tests). A bug fix keeps test-first because the RED run is the evidence that the root cause was actually found rather than guessed: a fix applied without a test that failed beforehand can just as easily be masking the symptom. The RED here is the falsification step, obtained for free.
Steps
- Ask first — one AskUserQuestion call, up to four questions (skip one the description already answers):
- Symptom vs expected — what happens now, and what should happen?
- Reproduction — exact command, input or steps (or "not reproducible yet").
- Fix depth — Minimal patch / Root-cause fix / Not sure — investigate first.
- Branch — current branch / new
fix/{slug}(perreferences/branching.md; onmain/masteralwaysfix/{slug}).
- Loop and hypothesise. At this step, read
references/dispatch.md(this skill's) and dispatchbug-investigatorwith its template: the answers verbatim,Base: $(git merge-base HEAD main)(fall back tomaster). Before any theory it builds a tight feedback loop (one command, already run, red on the user's exact symptom, deterministic, fast, agent-runnable), reproduces and minimises, then returns a CHECKPOINT: the loop, the minimised repro and 3–5 ranked falsifiable hypotheses.NO LOOP→ show what it tried and its ask (environment access, a redacted artifact, or permission for temporary instrumentation) and stop for the user. - Show the hypotheses, then continue. Print the ranked list — the user's domain knowledge often re-ranks it instantly — and continue the same investigator in this turn with the continuation template in
references/dispatch.md; do not block on an answer (the user may be away). A re-rank or a ruled-out item the user gives is passed on verbatim. It instruments one variable at a time, confirms one hypothesis, writes the RED test at a correct seam, and returns BUG REPORT (root cause, code pathfile:line, why existing tests miss it, each hypothesis's verdict), the failing test (path + quoted RED output) and HANDOFF. Root causeunknown→ show exactly what it asks to instrument and stop for the user. It does not fix anything. - Confirm. Show the BUG REPORT, RED output and the HANDOFF's
Seamline (anoneis a finding the user sees before the fix). AskUserQuestion: Fix as proposed / Change depth / Stop. "Not sure" from step 1 becomes a concrete depth here, chosen by the user from the HANDOFF's minimal-patch and root-cause options. - Fix. Dispatch the coder matching the bug's tier (
coder-backend,coder-frontend, orcoder) with the template inreferences/dispatch.md— paths and one-line facts only. Make the RED test GREEN with the minimum change at the chosen depth; the coder may ADD regression tests for edge cases the fix exposes, never weaken an existing one. - Verify yourself — every gate for the detected stack, not just the test suite (
references/quality-gate-reference.md, read at this step): the regression test GREEN · the HANDOFF's original, un-minimised loop command green · full suite · format · type/vet · lint · build · coverage · race (Go) · vuln ·bash ~/.claude/git-hooks/dup-gate.sh --worktree. A fix that passes its new test but fails lint/typecheck/build must not be called done. Re-break the fix once withscripts/verify/break-run.sh(revert the fix line → the regression test, or the loop on a no-seam finding, must fail by name). Any FAIL → a fresh coder dispatch with the output (Loop Integrity applies); after 3 failed rounds stop and suggest/planningwith the BUG REPORT as input — the bug is bigger than a fix. - Clean up, report and record. Tick the cleanup checklist in
references/dispatch.md(original loop green · regression test green or no-seam documented · no[DEBUG-tag left (grep -rn "\[DEBUG-" .empty) · throwaway prototypes deleted · confirmed hypothesis written into the summary's commit/PR line); an unticked item is not done. Print the gate report and the Bug Fix Summary fromreferences/dispatch.md. Append toPROGRESS.md:`[{slug}]` root cause — fix (file:line) — regression test (RED → GREEN).
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed · -1 lines 4252671e2250
- 1mo ago First seen · 32 lines · 0 tokens per session scan A 70a78acad51a
bugfix is a skill published in the GitHub repository LuisFelipeMoro/Harness-devkit (14 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,365 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.
bugfix compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bugfixLuisFelipeMoro/Harness-devkit | Skill | 14 | 6d ago | MIT | A | 0 | Claude Code |
| systematic-debuggingNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 16 | Claude Code, Codex |
| build-testnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| reenable-testchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 85 | Claude Code, Codex |
| resolve-author-fixomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 24 | Claude Code, Codex |
| fixing-flaky-testsamplifthq/opentag | Skill | 1.4k | 13d ago | MIT | A | 220 | Claude Code, Codex |
| nw-mikado-methodnWave-ai/nWave | Skill | 637 | 13d ago | MIT | A | 28 | Claude Code |