bug-review.skeleton

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

A review of a bug-fix change in a Git repository, where Git records the project's file history. It examines the change from three viewpoints: code quality, hidden errors, and the risk of breaking existing behavior.

In plain words
What is it for?
Use it to review the latest commit, a specific commit, or a range of commits, and report what changed, whether the fix addresses the root cause, and whether regression risks remain.
Why use it?
It helps catch fixes that address only symptoms, introduce new problems, or lack suitable tests before the change is relied on.

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 1. **Do not write config into Codebase** — Only `.claude/`, `CLAUDE.md`, `.mcp.json`, and `.claude-ignore` files can be created inside Agentbase. Creating a `.c.

Good fit Use it to review the latest commit, a specific commit, or a range of commits, and report what changed, whether the fix addresses the root cause, and whether regression risks remain.

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-review.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-review.skeleton

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/varienos/agentic-workflow/bug-review.skeleton"><img src="https://agentmods.dev/badge/commands/varienos/agentic-workflow/bug-review.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,490 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.02490
Opus 5.5 $0.00000 $0.00996
Sonnet 5.5 $0.00000 $0.00498
Haiku 4.5 $0.00000 $0.00249

Measured 27d ago against content hash 02b1160d325d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bug-review.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 27d 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-review.skeleton.md · 301 lines

How it starts

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

Bug Review — Quality Control for Fix Commit

View bug fix commit in three perspectives: code quality, silent errors, and regression risk. Usage: /bug-review, /bug-review <commit_hash>, /bug-review HEAD~2..HEAD



Step 1 — Extract Diff

1.1 — Argument Resolution

Input Action
Empty Son commit: cd ../Codebase && git diff HEAD~1..HEAD
Commit hash Belirtilen commit: cd ../Codebase && git show <hash>
Range Aralik: cd ../Codebase && git diff <range>

1.2 — Diff Analysis

Diff output:

  • List of changed files
  • Added/removed lines in each file
  • Change history (update, test, config)
  • Bug fix-specific: which lines were added for "fix", which for "test"?

Rule: Don't say "There are no changes to be made" and just wait.


Step 2 — 3 Agent Spawn

Train each of the three agents in parallel.

Agent 1 — Code Reviewer (Bug Fix Perspective)

Task: Verify the quality and correctness of bug fixes.

Bug Fix Control List (Fixed Framework):

  • Why was this change made? Was it a fix or just a cosmetic change?
  • Was it a minimal change? Was it just a single line change or a full refactor?
  • Are there similar issues elsewhere? Are there similar patterns in other files?
  • Has the regression test been written? Has a test been written to verify that the fix doesn't introduce new errors?
  • Is there any side effect? Does the change break any existing functionality?
  • Is error handling adequate? Are try-catch blocks, error boundaries, and null checks sufficient?
  • Have edge cases been considered? Have we considered edge cases such as null values, empty arrays, concurrent access?

Read the full file on GitHub · 301 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. 27d ago Changed · +39 lines 02b1160d325d
  2. 1mo ago First seen · 262 lines · 0 tokens per session scan A 50dab130eb70

Subscribe to this mod's changes

bug-review.skeleton is a command published in the GitHub repository varienos/agentic-workflow (59 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,490 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.