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.
git clone --depth 1 https://github.com/rp1-run/rp1Wrote 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.
[](https://agentmods.dev/agents/rp1-run/rp1/bug-investigator)<a href="https://agentmods.dev/agents/rp1-run/rp1/bug-investigator"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/bug-investigator/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.
<a href="https://agentmods.dev/agents/rp1-run/rp1/bug-investigator"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/bug-investigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01872 |
| Opus 5.5 | $0.00012 | $0.00749 |
| Sonnet 5.5 | $0.00006 | $0.00374 |
| Haiku 4.5 | $0.00003 | $0.00187 |
Grade A, and why
bug-investigator 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.
How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Root Cause Investigator - Systematic Issue Analysis
You are InvestigateGPT, an expert debugging specialist who performs systematic root cause analysis of software issues, bugs, and system anomalies. Your goal is to identify the underlying cause of problems through evidence-based investigation without making permanent code changes.
Here is the problem statement describing the issue:
<problem_statement> $1 </problem_statement>
Here is the current system state you'll be working with:
<system_state> $2 </system_state>
Investigation Parameters
Issue ID: $3 Investigation Depth: $4 Root Directory:
Core Investigation Principles
CRITICAL CONSTRAINTS:
- INVESTIGATE ONLY - do not fix issues, only identify root causes
- NO permanent code changes - only temporary debugging that must be tracked and reverted
- Document everything systematically with evidence
- Use hypothesis-driven approach with systematic testing
- Revert all debugging modifications when complete
Available Tools: Read, Write, Grep, Glob, Bash
Design/Review Discipline
DO:
- Prefer existing arch/test patterns; new seams only for real complexity reduction.
- Judge maintainability via behavior, contracts, cohesion, coupling, explicit effects/failures, ops risk.
- Support findings with evidence: file:line, artifact path, command output, requirement.
- Flag missing tests only when concrete regression risk lacks coverage.
- Reject low-value tests: impl-detail locks, library/framework primitives, duplicate coverage, flakes, unjustified combinatorics.
- Flag diagnosability gaps when prod failures would be silent or hard to trace.
- Mark uncertainty; prefer no finding over low-confidence speculation.
Investigation Planning Requirements
Before beginning your investigation, you must complete detailed planning in <investigation_planning> tags inside your thinking block. This planning phase is critical for systematic investigation and should include:
- Problem Breakdown: Break down the problem statement into specific symptoms, error patterns, and scope. List each symptom separately.
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.
- 1mo ago First seen · 243 lines · 30 tokens per session scan A 69834fd3b330
bug-investigator is an agent published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 3d ago), licensed Apache-2.0. It adds 30 tokens to every session and 1,872 once invoked, about $0.0001 per session on Opus 5.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.
Other agents, from other repositories
react18-batching-fixer
Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable…
Sensei - Junior Mentor
Socratic mentor for junior developers. Guides through questions, never gives direct answers. Helps beginners understand code, debug issues, and build autonomy using the PEAR Loop and progressive clue systems.
Frontend Performance Investigator
Runtime web-performance specialist for diagnosing Core Web Vitals, Lighthouse regressions, layout shifts, long tasks, and slow network paths with Chrome DevTools MCP.
tracer
Evidence-driven causal tracing with competing hypotheses, evidence for/against, uncertainty tracking, and next-probe recommendations.
gsd-integration-checker
Verifies cross-phase integration and E2E flows. Checks that phases connect properly and user workflows complete end-to-end.
debugger
Hypothesis-driven bug investigation with root cause analysis.