ed-investigate

ed-investigate is a skill for Claude Code, Codex from edgedelta/edgedelta-mcp-server. It costs 30 tokens per session (805 once invoked), scanned A, original, MIT.

A structured workflow for investigating production incidents by starting with alerts and events, then checking patterns, logs, metrics, traces, and recent changes. An incident is an interruption or failure affecting a live system.

In plain words
What is it for?
Use it to set an exact time window, identify what fired, find unusual log patterns, inspect related telemetry, and correlate the problem with deployment or pipeline changes.
Why use it?
It prevents investigation from becoming a collection of disconnected searches and helps connect an alert to the service, error, and change most likely responsible.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set an exact time window, identify what fired, find unusual log patterns, inspect related telemetry, and correlate the problem with deployment or pipeline changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/edgedelta/edgedelta-mcp-server/ed-investigate
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.

Any agent
npx skills add edgedelta/edgedelta-mcp-server --skill ed-investigate
Clone the repo
git clone --depth 1 https://github.com/edgedelta/edgedelta-mcp-server

Made for: Claude Code, Codex.

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 ed-investigate

README.md
[![agentmods](https://agentmods.dev/badge/skills/edgedelta/edgedelta-mcp-server/ed-investigate/github.svg)](https://agentmods.dev/skills/edgedelta/edgedelta-mcp-server/ed-investigate)
Your own site
<a href="https://agentmods.dev/skills/edgedelta/edgedelta-mcp-server/ed-investigate"><img src="https://agentmods.dev/badge/skills/edgedelta/edgedelta-mcp-server/ed-investigate/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 ed-investigate

Your own site · 80×15
<a href="https://agentmods.dev/skills/edgedelta/edgedelta-mcp-server/ed-investigate"><img src="https://agentmods.dev/badge/skills/edgedelta/edgedelta-mcp-server/ed-investigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 805 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.00030 $0.00805
Opus 5.5 $0.00012 $0.00322
Sonnet 5.5 $0.00006 $0.00161
Haiku 4.5 $0.00003 $0.00081

Measured 8d ago against content hash 91afb599a204, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ed-investigate 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 8d 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.

pkg/skills/data/ed-investigate/SKILL.md · 96 lines

How it starts

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

Edge Delta Incident Investigation

A structured workflow for investigating production incidents with edx. Work top-down: events → patterns → logs/metrics/traces → change correlation.

Prerequisites

The edx CLI must be installed and authenticated. See the ed-edx skill.

0. Establish the Window

  • Paged incidents have exact start/end timestamps - use --from/--to (ISO 8601: 2026-06-12T10:00:00.000Z).
  • Verbal reports ("since this morning") - use a generous --lookback and narrow once the onset is visible.

1. What Fired? (Events)

edx events search --from <start> --to <end> --output table
edx events search -q 'event.domain:("Monitor" OR "Monitor Alerts")' --lookback 2h

Note affected services and event types. Monitor alerts carry the monitor ID: edx monitors get <id> shows the exact condition.

2. What Changed in the Logs? (Patterns)

edx patterns list --summary --from <start> --to <end>
edx patterns list --negative -q 'service.name:"<svc>"' --offset 24h

New or surging negative patterns are your primary suspects. Pull raw lines:

edx logs search -q '"<distinctive token from pattern>"' --from <start> --to <end>

3. Quantify (Metrics & Log Graphs)

edx logs graph -q 'severity_text:"ERROR"' --group-by service.name --lookback 6h
edx metrics query --name <latency/error metric> --agg avg --group-by service.name

Identify exactly when the regression started - this timestamp drives step 5.

4. Localize (Traces & Service Map)

edx service-map --lookback 1h
edx traces search -q 'status.code:"500" AND service.name:"<svc>"' --include-children

Find the deepest failing span: that service/dependency is the likely root cause; everything upstream is blast radius.

5. Correlate With Changes (Pipeline & Deploys)

Root causes are usually changes. Check what changed right before onset:

edx pipelines history <pipeline-id> --output table --columns timestamp,author,status,description
edx fleet deployments

Read the full file on GitHub · 96 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. 8d ago First seen · 96 lines · 30 tokens per session scan A 91afb599a204

Subscribe to this mod's changes

ed-investigate is a skill published in the GitHub repository edgedelta/edgedelta-mcp-server (10 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 805 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-11-26.

Related

ed-investigate compared with skills from other repositories

ed-investigate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ed-investigateedgedelta/edgedelta-mcp-serverSkill10yesterdayMITA30Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k2d agoApache-2.0A45Claude Code, Codex
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex