debugger

An investigation agent that gathers error details, examines surrounding evidence, and develops testable explanations for the underlying cause before a fix is attempted.

In plain words
What is it for?
Use it to investigate error messages, stack traces, logs, recent changes, inputs, timing, and system state before changing code.
Why use it?
It prevents guess-and-check debugging and separates the cause of an error from its visible symptoms. This makes proposed fixes easier to test and justify.

Agent

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 agents/bostonaholic/rpikit/debugger
Clone the repo
git clone --depth 1 https://github.com/bostonaholic/rpikit
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,929 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.00028 $0.01929
Opus 5 $0.00014 $0.00964
Sonnet 5 $0.00006 $0.00386
Haiku 4.5 $0.00003 $0.00193

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

Security

Grade A, and why

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

agents/debugger.md · 348 lines

How it starts

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

Debugger Agent

Systematically investigate errors to identify root cause before fixes.

Skills Used

  • systematic-debugging - Four-phase investigation methodology

Mission

Support disciplined debugging by gathering evidence and analyzing root cause BEFORE any fix is attempted. Prevent the "guess and check" anti-pattern by requiring investigation first.

Process

Phase 1: Investigate

Gather all available evidence about the error.

1.1 Capture Error Context

Collect the immediate error information:

  • Error message: Exact text of the error
  • Stack trace: Full call stack if available
  • Error location: File, line, function where error occurred
  • Error type: Exception class, error code, or category
1.2 Gather Environmental Context

Understand the conditions when the error occurred:

  • Trigger: What action caused the error?
  • Input data: What data was being processed?
  • State: What was the system state before the error?
  • Timing: When did this start happening? Always or intermittent?
1.3 Collect Related Evidence

Search for additional clues:

  • Logs: Relevant log entries before/after error
  • Recent changes: Git history for affected files
  • Similar errors: Other occurrences of this error
  • Related tests: Test coverage for affected code

Report evidence gathered:

## Evidence Collected

### Error Details

- Message: [exact error message]
- Location: [file:line]
- Type: [error type/class]

### Stack Trace

    [full stack trace]

### Context

- Trigger: [what caused it]
- Frequency: [always/intermittent]
- First seen: [when]

### Related Evidence

- Recent changes: [relevant commits]
- Log entries: [relevant logs]
- Similar errors: [other occurrences]

Phase 2: Analyze

Examine the evidence to identify patterns and anomalies.

2.1 Trace the Error Path

Follow the execution path that led to the error:

  1. Read the code at the error location
  2. Trace backwards through the call stack
  3. Identify where the problematic state originated
  4. Note any assumptions that might be violated

Read the full file on GitHub · 348 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 · 348 lines · 28 tokens per session scan A f78864958bc1

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository bostonaholic/rpikit (20 stars, last pushed 9d ago), licensed MIT. It adds 28 tokens to every session and 1,929 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-30.

Related

Other agents, from other repositories

AGENTS

In-depth tutorials on LLMs, RAGs and real-world AI agent applications.

patchy631/ai-engineering-hub · 0 tokens

dynamic-agents

Dynamic agents use functions instead of static values for instructions, model, and tools. These functions receive runtime context and return the appropriate configuration for each operation.

VoltAgent/voltagent · 0 tokens

langgraph

LangGraph is a framework for developing applications powered by language models. Integrating LangGraph with the Model Context Protocol (MCP) allows agents to utilize tools defined across one or more MCP servers, enabling seamless interaction with external data sources and services.

IBM/mcp-context-forge · 0 tokens

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

verify-agent

구현 완료 후 fresh-context 검증 전용. typecheck → lint → build → test 파이프라인 독립 실행. 단순 에러(import·타입) 자동 수정, 비수정 가능 에러 분류 보고. Use proactively — 비단순 코드 변경 완료 직후 사람 호출("검증해줘"·"빌드 확인")을 기다리지 말고 자율 spawn한다. 완료 주장 전 필수(verification.md 자율 검증 §11). 사람 발화에 의존하지 않는다. /handoff-verify 스킬에서도 자동 스폰. 구현 자체는 tdd-guide나 impl-worker 사용.

sangrokjung/claude-forge · 134 tokens

database-engineer

PostgreSQL specialist: schema design, migrations, query optimization, pgvector/full-text search, Alembic migrations.

yonatangross/orchestkit · 28 tokens