bug-hunter.skeleton

bug-hunter.skeleton is a command for Claude Code from varienos/agentic-workflow. It costs 0 tokens per session (2,238 once invoked), scanned A, original, MIT.

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 for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions CLAUDE.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 2. **Git runs only in Codebase** — All Git operations (commit, push, branch) must be performed within the `../Codebase/` directory. The Agentbase does not have .

Good fit Use it for problems such as an item not being added to a shopping cart, even when the report lacks much detail.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/varienos/agentic-workflow
agentmods
npx agentmods add commands/varienos/agentic-workflow/bug-hunter.skeleton

Made for: Claude Code.

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

agentmods badge for bug-hunter.skeleton

README.md
[![agentmods](https://agentmods.dev/badge/commands/varienos/agentic-workflow/bug-hunter.skeleton/github.svg)](https://agentmods.dev/commands/varienos/agentic-workflow/bug-hunter.skeleton)
Your own site
<a href="https://agentmods.dev/commands/varienos/agentic-workflow/bug-hunter.skeleton"><img src="https://agentmods.dev/badge/commands/varienos/agentic-workflow/bug-hunter.skeleton/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.

agentmods 80×15 button for bug-hunter.skeleton

Your own site · 80×15
<a href="https://agentmods.dev/commands/varienos/agentic-workflow/bug-hunter.skeleton"><img src="https://agentmods.dev/badge/commands/varienos/agentic-workflow/bug-hunter.skeleton.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 2,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.02238
Opus 5.5 $0.00000 $0.00895
Sonnet 5.5 $0.00000 $0.00448
Haiku 4.5 $0.00000 $0.00224

Measured 1mo ago against content hash 0075a170bf7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 298 lines

How it starts

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

Bug Hunter — Autonomous Error Detector and Corrector

Extracts the issue description, identifies the cause, corrects it, tests it, and commits. Usage: /bug-hunter <issue_description>, /bug-hunter "item cannot be added to cart"



Step 1 — Extracting the Issue Description

Extract the following information from the user's bug report:

Field Description Example
Description What's happening? "Item cannot be added to cart"
Expected behavior What should happen? "Item should be added to cart"
Context Where is it happening? "Web application, item detail page"
Repeatability Is this happening every time? "Every time" / "Sometimes"
Error message Is there an error message? "TypeError: Cannot read property..."

RULE: If the report is vague, do not ask a question. Analyze with the information you have.

Step 2 — Investigation of Similar Errors

Have similar errors already been fixed? In the case of episodic memory:

  1. Similar error descriptions
  2. Same module/directory previous fixes
  3. Repeated error patterns

If found:

  • Reference to previous solution
  • Why is this similar? Investigate further
  • Is regression or a different error distinguished?

Step 3 — Cause Analysis

3.1 — Narrow Down Scope

Read the full file on GitHub · 298 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. 1mo ago Changed · -24 lines 0075a170bf7a
  2. 1mo 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 (59 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,238 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.