bug-hunter

bug-hunter is a skill for Claude Code from k1lgor/virtual-company. It costs 28 tokens per session (3,423 once invoked), scanned A, original, MIT.

A debugging workflow investigates bugs, failed tests, crashes, unexpected behavior, and error stack traces before suggesting or applying a fix. A stack trace is the record showing where an error travelled through the code.

In plain words
What is it for?
It helps trace failures, inspect relevant code, form and test a root-cause hypothesis, apply a safe fix, and verify that the problem is resolved.
Why use it?
It prevents guesses from turning into unsafe fixes by requiring the problem to be located, reproduced, and explained first.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the virtual-company plugin — 27 skills, 1 command, 6 agents, 3 hooks shipped together

Good fit It helps trace failures, inspect relevant code, form and test a root-cause hypothesis, apply a safe fix, and verify that the problem is resolved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k1lgor/virtual-company/02-bug-hunter
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.

Any agent
npx skills add k1lgor/virtual-company --skill 02-bug-hunter
Clone the repo
git clone --depth 1 https://github.com/k1lgor/virtual-company

Made for: Claude Code.

Or install virtual-company, the plugin that ships this one along with the rest of its 27 skills, 1 command, 6 agents, 3 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/k1lgor/virtual-company/02-bug-hunter.svg)](https://agentmods.dev/skills/k1lgor/virtual-company/02-bug-hunter)
Your own site
<a href="https://agentmods.dev/skills/k1lgor/virtual-company/02-bug-hunter"><img src="https://agentmods.dev/badge/skills/k1lgor/virtual-company/02-bug-hunter.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,423 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.00028 $0.03423
Opus 5 $0.00014 $0.01711
Sonnet 5 $0.00006 $0.00685
Haiku 4.5 $0.00003 $0.00342

Measured 8d ago against content hash 92bcc18f2dd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

bug-hunter 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.

skills/02-bug-hunter/SKILL.md · 359 lines

How it starts

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

🕵️ Debugging Specialist / Bug Hunter

You are the Senior Debugging Expert. Your goal is to pinpoint the exact root cause of an issue and implement the safest, most efficient fix.

🛑 The Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

If you haven't completed Phases 1-3 of the SOP (Locate, Reproduce, Hypothesize), you CANNOT propose or implement any fix. Proposing a fix without evidence is a process violation, not efficiency.

🛠️ Tool Guidance

  • Discovery: Use Grep to find instances of the error or suspicious patterns.

  • Diagnostics: Use Read to analyze the surrounding context of the error.

  • Verification: Use Bash or terminal to verify the fix with test runners.

  • Gate Verification: Use verify-gate.sh to mechanically verify any gate:

    <project_root>/scripts/verify-gate.sh \
      --gate-name "regression-test" \
      --command "npm test -- --grep 'user-address'" \
      --log verification-results.tsv
    

📍 When to Apply

  • "The server crashed with this stack trace."
  • "The UI isn't updating correctly."
  • "I'm getting a 500 error on the dashboard."
  • "This function returns the wrong value."
  • "Tests are failing after the last commit."

Use this ESPECIALLY when:

  • Under time pressure (emergencies make guessing tempting)
  • "Just one quick fix" seems obvious
  • You've already tried multiple fixes
  • Previous fix didn't work
  • You don't fully understand the issue

Read the full file on GitHub · 359 lines

Files

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.

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. 8d ago First seen · 359 lines · 28 tokens per session scan A 92bcc18f2dd7

Subscribe to this mod's changes

bug-hunter is a skill published in the GitHub repository k1lgor/virtual-company (4 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 3,423 once invoked, about $0.0001 per session on Opus 5. 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-31.

Related

Other skills, from other repositories

health-check

Runs plugin health checks (venv packages, skill registration, and album slug collisions). Use when the user asks to check plugin health, verify setup, or troubleshoot missing skills.

bitwize-music-studio/claude-ai-music-skills · 38 tokens

refactor-safely

Restructure existing code safely without changing externally observable behavior. Composes context, design, architecture, code quality, and testing guardrails into a characterization-first refactoring workflow. Use when the user says 'refactor this', 'clean this up', 'untangle this module', 'move this to the right…

techygarg/lattice · 82 tokens

session-profiler

Profile and debug Hermes sessions from their JSONL transcripts. Find a session and its subagents, build a queryable event table, summarize the work as a hierarchical table of contents, break down wall time, inference, tools, tokens, and estimated cost per agent, identify errors and improvement opportunities, and…

tamdogood/builder-essential-skills · 117 tokens

bug-fix

Investigate, reproduce, and safely fix a bug with regression protection. Composes context, diagnosis, architecture, code quality, and testing guardrails into a reproduce-first repair workflow. Use when the user says 'fix this bug', 'debug this', 'investigate this failure', 'patch this regression', 'repair this issue'…

techygarg/lattice · 77 tokens

playwright-debugging

Use when Playwright scripts fail, tests are flaky, selectors stop working, or timeouts occur - provides systematic debugging approach for browser automation issues.

ed3dai/ed3d-plugins · 33 tokens

perf-code-paths

Use when mapping code paths, entrypoints, and likely hot files before profiling.

composio-community/awesome-claude-plugins · 21 tokens