bug-hunter.skeleton

A command that investigates a reported software bug, finds its likely root cause, applies a fix, tests it, and creates a Git commit.

In plain words
What is it for?
Use it for problems such as an item not being added to a shopping cart, even when the report lacks much detail.
Why use it?
It turns a vague problem report into a structured investigation and correction, including checks for similar issues found in past work.

Command

Install

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.

agentmods
npx agentmods add commands/varienos/agentic-workflow/bug-hunter.skeleton
Clone the repo
git clone --depth 1 https://github.com/varienos/agentic-workflow
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.03059
Opus 5 $0.00000 $0.01529
Sonnet 5 $0.00000 $0.00612
Haiku 4.5 $0.00000 $0.00306

Measured 2d ago against content hash c052f1f1b235, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bug-hunter.skeleton 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 2d 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.

Agentbase/templates/core/commands/bug-hunter.skeleton.md · 322 lines

How it starts

The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bug Hunter — Otonom Hata Bulucu ve Duzeltucu

Hata aciklamasini alir, kok nedeni bulur, duzeltir, test eder, commit atar. Kullanim: /bug-hunter <hata_aciklamasi>, /bug-hunter "sepete urun eklenemiyor"



Step 1 — Hata Aciklamasini Cozumle

Kullanicinin hata aciklamasından asagidaki bilgileri cikar:

Alan Aciklama Ornek
Belirti Ne oluyor? "Sepete urun eklenemiyor"
Beklenen davranis Ne olmali? "Urun sepete eklenmeli"
Baglam Nerede oluyor? "Web uygulama, urun detay sayfasi"
Tekrarlanabilirlik Her seferinde mi? "Her seferinde" / "Bazen"
Hata mesaji Varsa "TypeError: Cannot read property..."

KURAL: Hata aciklamasi cok belirsizse (orn. "calismıyor") bile SORU SORMA. Eldeki bilgiyle analiz et.


Step 2 — Hafiza Arastirmasi

Benzer hatalar daha once duzeltildi mi? Episodic memory'de ara:

  1. Benzer belirti iceren gecmis oturumlar
  2. Ayni modul/dosyada yapilan onceki duzeltmeler
  3. Tekrarlayan hata pattern'leri

Bulgu varsa:

  • Onceki cozumu referans al
  • Ayni kok neden mi kontrol et
  • Regresyon mu yoksa farkli hata mi ayirt et

Step 3 — Kok Neden Analizi

3.1 — Kapsami Daralt

Hata aciklamasindan yola cikarak:

  1. Hangi alt proje? (API, Web, Mobile, Shared)
  2. Hangi modul/ozellik? (auth, orders, payments, ...)
  3. Hangi katman? (UI, service, data, config)

Read the full file on GitHub · 322 lines

Changes

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.

  1. 2d ago First seen · 322 lines · 0 tokens per session scan A c052f1f1b235

Subscribe to this mod's changes

bug-hunter.skeleton is a command published in the GitHub repository varienos/agentic-workflow (58 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,059 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-08-30.