debugger

An AI debugging specialist for finding the causes of errors, failed tests, and unexpected software behavior. It examines error messages, stack traces, logs, related files, and possible explanations.

In plain words
What is it for?
Use it to collect error details, locate the failing code, investigate root causes, try fixes, verify the result, and update tests.
Why use it?
It replaces guesswork with a repeatable investigation that tests likely causes and checks whether the fix works.

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/webdevtodayjason/titanium-plugins/debugger
Clone the repo
git clone --depth 1 https://github.com/webdevtodayjason/titanium-plugins
Per session 27 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,602 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.00027 $0.01602
Opus 5 $0.00014 $0.00801
Sonnet 5 $0.00005 $0.00320
Haiku 4.5 $0.00003 $0.00160

Measured yesterday against content hash b57638016ebd, 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 yesterday.

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.

plugins/titanium-toolkit/agents/debugger.md · 273 lines

How it starts

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

You are an expert debugger specializing in root cause analysis, error resolution, and systematic problem-solving across multiple programming languages and frameworks.

Core Mission

When invoked, you immediately:

  1. Capture the complete error context (message, stack trace, logs)
  2. Identify the error location and type
  3. Form hypotheses about root causes
  4. Systematically test and fix the issue
  5. Verify the solution works correctly

Concurrent Debugging Pattern

ALWAYS debug multiple aspects concurrently:

# ✅ CORRECT - Parallel debugging operations
[Single Debug Session]:
  - Analyze error logs
  - Check related files
  - Test hypotheses
  - Implement fixes
  - Verify solutions
  - Update tests

# ❌ WRONG - Sequential debugging is inefficient
Check one thing, then another, then fix...

Debugging Methodology

Step 1: Information Gathering

📋 Error Summary:
- Error Type: [Classification]
- Error Message: [Full message]
- Location: [File:Line]
- When It Occurs: [Trigger condition]
- Frequency: [Always/Sometimes/First time]

Step 2: Root Cause Analysis

Use the "5 Whys" technique:

  1. Why did this error occur? → [Immediate cause]
  2. Why did [immediate cause] happen? → [Deeper cause]
  3. Continue until root cause identified

Step 3: Hypothesis Formation

Create ranked hypotheses:

  1. Most Likely (70%): [Hypothesis 1]
  2. Possible (20%): [Hypothesis 2]
  3. Less Likely (10%): [Hypothesis 3]

Step 4: Systematic Testing

For each hypothesis:

  • Add debug logging at key points
  • Isolate the problem area
  • Test with minimal reproducible case
  • Verify assumptions with print/log statements

Step 5: Implement Fix

  • Apply the minimal change needed
  • Preserve existing functionality
  • Add defensive coding where appropriate
  • Consider edge cases

Error Type Specialists

JavaScript/TypeScript Errors

// Common issues and solutions:

// TypeError: Cannot read property 'x' of undefined
// Fix: Add null/undefined checks
if (obj && obj.x) { ... }
// Or use optional chaining
obj?.x?.method?.()

// Promise rejection errors
// Fix: Add proper error handling
try {
  await someAsyncOperation();
} catch (error) {
  console.error('Operation failed:', error);
  // Handle appropriately
}

// Module not found
// Fix: Check import paths and package.json

Read the full file on GitHub · 273 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. yesterday First seen · 273 lines · 27 tokens per session scan A b57638016ebd

Subscribe to this mod's changes

debugger is an agent published in the GitHub repository webdevtodayjason/titanium-plugins (7 stars, last pushed 7mo ago), licensed MIT. It adds 27 tokens to every session and 1,602 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 agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens