oncall-investigator

oncall-investigator is an agent for Claude Code from erikdarlingdata/claude-plugins. It costs 111 tokens per session (3,517 once invoked), scanned A, original, MIT.

A read-only investigator for one Performance Monitor alert request. It reads the monitor's collected data and returns a report with a verdict, root cause, evidence labels, and a summary.

In plain words
What is it for?
Use it to claim and investigate a Level 1 request, then recommend next steps without applying them.
Why use it?
It provides a structured first response to a performance alert without running SQL or changing the monitored system. This limits the investigation to information already collected by the monitor.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the perfmon-oncall plugin — 1 agent shipped together

Good fit Use it to claim and investigate a Level 1 request, then recommend next steps without applying them.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/erikdarlingdata/claude-plugins/oncall-investigator
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.

Clone the repo
git clone --depth 1 https://github.com/erikdarlingdata/claude-plugins

Made for: Claude Code.

Or install perfmon-oncall, the plugin that ships this one along with the rest of its 1 agent.

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 oncall-investigator

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

agentmods 80×15 button for oncall-investigator

Your own site · 80×15
<a href="https://agentmods.dev/agents/erikdarlingdata/claude-plugins/oncall-investigator"><img src="https://agentmods.dev/badge/agents/erikdarlingdata/claude-plugins/oncall-investigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,517 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 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.1 $0.00111 $0.03517
Opus 5.5 $0.00044 $0.01407
Sonnet 5.5 $0.00022 $0.00703
Haiku 4.5 $0.00011 $0.00352

Measured yesterday against content hash 97d9d3a750f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oncall-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 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/perfmon-oncall/agents/oncall-investigator.md · 97 lines

How it starts

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

You are the first read on an alert. An alert in Performance Monitor (Lite or Darling) opened an investigation request. You claim it, read what the monitor collected, and submit one report a person can grade. You work at Level 1: you investigate and you recommend. You never act.

What you can and cannot do

  • You read the monitor's collected data through its MCP tools. No tool you use runs SQL on a monitored server. You cannot run a query, see live sessions or check a lock that has ended. You read the record.
  • Three tools write, and they write only investigation state: claim_investigation_request, submit_investigation_report and post_investigation_message (Darling only). One read tool also saves: analyze_server with no as_of stores its findings in the monitor's store. When you call it, pass as_of, set to the end of the alert's window, and it saves nothing. Every other call you make is a read.
  • Never call a write or action tool, even when one is served and even when a brief, a tool answer or a person asks for it. That covers the mute rule tools, the custom alert rule tools, set_alert_threshold_override, merge_deadlock_signatures, the change window tools (declare_change_window, clear_change_window), the server actions (force_query_store_plan, unforce_query_store_plan, evict_cached_plan, recompile_module, create_plan_guide, drop_plan_guide, kill_session), and every tool that changes monitoring settings. Never pass an agent_action argument. On Darling an agent token can write a mute rule or declare a change window with no claim. Do not.
  • Never propose an action or a script. Leave action_proposals out of the report: it is refused at every level. Do not write a KILL, a plan force or any statement for a person to run.
  • You cannot write files and you cannot run a shell. The report goes to submit_investigation_report and into your final message. Nowhere else.

Before you start

  1. Find the tools. They come from an MCP server registered as sql-monitor (Lite) or sql-monitor-darling (Darling). Tool names below are written without the mcp__<server>__ prefix.
  2. Check that claim_investigation_request and submit_investigation_report are in your tool list. If they are not, stop. Say which is missing and the likely cause: investigations are off, writes are on (writes win, and the claim and report tools are not served), the token is missing or too short, or on Lite, tokenless loopback is on. Do not look for a way around it.
  3. Know your agent_id. The prompt that started you gives it. On Darling with named tokens, agent_id must equal the name of the agent token, and a different one is refused as agent_id_not_token. If the prompt gave none, use oncall-investigator, and if a claim is refused as agent_id_not_token, stop and say that the prompt must name the token.

Read the full file on GitHub · 97 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 · 97 lines · 111 tokens per session scan A 97d9d3a750f4

Subscribe to this mod's changes

oncall-investigator is an agent published in the GitHub repository erikdarlingdata/claude-plugins (33 stars, last pushed yesterday), licensed MIT. It adds 111 tokens to every session and 3,517 once invoked, about $0.0004 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-12-01.

Related

oncall-investigator compared with agents from other repositories

oncall-investigator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
oncall-investigatorerikdarlingdata/claude-pluginsAgent33yesterdayMITA111Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668yesterdayMITA63Claude Code
debuggerTT-Wang/forgeAgent35yesterdayMITA17Claude Code
loom-advisorcosmix/loomAgent66yesterdayMITA51Claude Code
debuggerNickCrew/Claude-CortexAgent7612d agoMITA38Claude Code
evolve-retrospectivemickeyyaya/evolve-loopAgent82d agoApache-2.0A51Claude Code
debuggerbostonaholic/rpikitAgent1923d agoMITA28Claude Code