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 | $0.00015 | $0.00936 |
| Sonnet 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 10d 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.
- 10d 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.0002 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.
Other agents, from other repositories
debug-observer
Multi-source debug — Docker logs, Redis inspection, SQL diagnostics, git blame, execution traces.
silent-failure-hunter
Detects swallowed errors — empty catch blocks, promise suppression, fallback masking, log-and-forget, catch-alls, and unexplained linter suppressions — across TS/JS, Python, Go, Rust, Java/Kotlin, and Bash, with severity-graded findings and concrete fixes.
health-checker
Project health dashboard — auto-detects the stack, runs 9 checks (compilation, tests, TODO inventory, API spec drift, migration pairs, deps, security, docs, bundle) and reports OK/WARN/FAIL per check plus an overall HEALTHY / NEEDS ATTENTION / UNHEALTHY verdict.
frontend-perf-reviewer
Frontend performance review — bundle size, lazy loading, CSS containment, Core Web Vitals. Activate when reviewing frontend code for performance.
r3f-scene-reviewer
Review React Three Fiber and Three.js code — color management, tone mapping, texture pipeline, GLB handling, useFrame performance, disposal patterns. Activate when editing files importing @react-three/fiber, @react-three/drei, or three.
audit-bots
Audit Telegram bot code for goroutine safety, rate limits, callback integrity, and production readiness.