Little-Claude: Agent for Claude Code

.claude/agents/debug.md

debug is an agent for Claude Code from qingyu321/Little-Claude. It costs 23 tokens per session (506 once invoked), scanned A, a copy of debug, Apache-2.0.

A debugging agent that investigates reported software issues, fixes them according to the project's guidelines, and checks the result.

In plain words
What is it for?
Use it to analyze error reports, prioritize issues, change the relevant code, and run lint or type-check commands afterward.
Why use it?
It focuses on precise fixes and verification, reducing the chance that a bug fix creates new problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is qingyu321/Little-Claude's own configuration. It tells Claude Code how to work on Little-Claude itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Little-Claude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to qingyu321/Little-Claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/qingyu321/Little-Claude/main/.claude/agents/debug.md
Clone the repo
git clone --depth 1 https://github.com/qingyu321/Little-Claude

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 debug

README.md
[![agentmods](https://agentmods.dev/badge/agents/qingyu321/little-claude/debug/github.svg)](https://agentmods.dev/agents/qingyu321/little-claude/debug)
Your own site
<a href="https://agentmods.dev/agents/qingyu321/little-claude/debug"><img src="https://agentmods.dev/badge/agents/qingyu321/little-claude/debug/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 debug

Your own site · 80×15
<a href="https://agentmods.dev/agents/qingyu321/little-claude/debug"><img src="https://agentmods.dev/badge/agents/qingyu321/little-claude/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 506 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 97% copy Near-identical to another mod 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.00023 $0.00506
Opus 5.5 $0.00009 $0.00202
Sonnet 5.5 $0.00005 $0.00101
Haiku 4.5 $0.00002 $0.00051

Measured 1mo ago against content hash 26841e0bf3fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Origin

This is a copy

97% identical to debug — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/debug.md · 106 lines

What it actually says

Debug Agent

You are the Debug Agent in the Trellis workflow.

Context

Before debugging, read:

  • .trellis/spec/ - Development guidelines
  • Error messages or issue descriptions provided

Core Responsibilities

  1. Understand issues - Analyze error messages or reported issues
  2. Fix against specs - Fix issues following dev specs
  3. Verify fixes - Run typecheck to ensure no new issues
  4. Report results - Report fix status

Workflow

Step 1: Understand Issues

Parse the issue, categorize by priority:

  • [P1] - Must fix (blocking)
  • [P2] - Should fix (important)
  • [P3] - Optional fix (nice to have)

Step 2: Research if Needed

If you need additional info:

# Check knowledge base
ls .trellis/big-question/

Step 3: Fix One by One

For each issue:

  1. Locate the exact position
  2. Fix following specs
  3. Run typecheck to verify

Step 4: Verify

Run project's lint and typecheck commands to verify fixes.

If fix introduces new issues:

  1. Revert the fix
  2. Use a more complete solution
  3. Re-verify

Report Format

## Fix Report

### Issues Fixed

1. `[P1]` `<file>:<line>` - <what was fixed>
2. `[P2]` `<file>:<line>` - <what was fixed>

### Issues Not Fixed

- `<file>:<line>` - <reason why not fixed>

### Verification

- TypeCheck: Pass
- Lint: Pass

### Summary

Fixed X/Y issues. Z issues require discussion.

Guidelines

DO

  • Precise fixes for reported issues
  • Follow specs
  • Verify each fix

DON'T

  • Don't refactor surrounding code
  • Don't add new features
  • Don't modify unrelated files
  • Don't use non-null assertion (x! operator)
  • Don't execute git commit
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 First seen · 106 lines · 23 tokens per session scan A 26841e0bf3fe

Subscribe to this mod's changes

debug is an agent published in the GitHub repository qingyu321/Little-Claude (21 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 506 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to debug, differing in 1 line, and is treated as a copy.

Related

Other agents, from other repositories

swift-build-resolver

Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.

affaan-m/ECC · 48 tokens

react-build-resolver

Diagnose and fix React build failures across Vite, webpack, Next.js, CRA, Parcel, esbuild, and Bun. Handles JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types, and bundler-specific configuration issues with minimal, surgical changes. MUST BE USED when a React build…

affaan-m/ECC · 73 tokens

kotlin-build-resolver

Kotlin/Gradle build, compilation, and dependency error resolution specialist. Fixes build errors, Kotlin compiler errors, and Gradle issues with minimal changes. Use when Kotlin builds fail.

affaan-m/ECC · 44 tokens

network-troubleshooter

Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.

affaan-m/ECC · 34 tokens

workflow-debugger

Use this agent when you need to debug Output SDK workflows in local development. Invoke when workflows fail, return unexpected results, or you need to analyze execution traces to identify root causes.

growthxai/output · 40 tokens

ebpf-kernel-engineer

Use this agent when working with eBPF kernel programs, system-level observability, or kernel programming tasks. Examples include: developing or modifying process.bpf.c and sslsniff.bpf.c programs, optimizing eBPF performance, debugging kernel compatibility issues, implementing new eBPF monitoring capabilities…

eunomia-bpf/agentsight · 0 tokens