investigate

investigate is a skill for Claude Code from leifericf/agentic-sdk. It costs 15 tokens per session (804 once invoked), scanned A, original, MIT.

An incident-investigation procedure that starts with alerts, logs, reports, or reproductions and traces a failure back to its root cause. It produces a blameless review and a follow-up plan.

In plain words
What is it for?
Use it to triage an incident, examine recent changes, rank possible causes, document reproduction steps, and define controls with owners and verification methods.
Why use it?
It separates symptoms from causes and turns an outage or defect into specific prevention and monitoring improvements.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to triage an incident, examine recent changes, rank possible causes, document reproduction steps, and define controls with owners and verification methods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leifericf/agentic-sdk/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 leifericf/agentic-sdk --skill investigate
Clone the repo
git clone --depth 1 https://github.com/leifericf/agentic-sdk

Made for: Claude Code.

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 investigate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leifericf/agentic-sdk/investigate"><img src="https://agentmods.dev/badge/skills/leifericf/agentic-sdk/investigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 804 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.00015 $0.00804
Opus 5.5 $0.00006 $0.00322
Sonnet 5.5 $0.00003 $0.00161
Haiku 4.5 $0.00002 $0.00080

Measured 3mo ago against content hash 5532985dbe59, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 3mo 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.

skills/investigate/SKILL.md · 72 lines

How it starts

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

investigate

Role: the ops entry point. Takes an incident (alerts, logs, a failing behavior, a report) to a root-cause analysis, a blameless review, and a follow-up plan ready to enter the backlog.

Prerequisites

At least one of: a log excerpt or alert payload, a time window and environment, a reproduction, or an incident summary. ~/.agentic-sdk/<project>/project.edn and ~/.agentic-sdk/<project>/artifacts/ops/ exist (run bootstrap-project first).

Procedure

  1. Triage the signals. Dispatch triage-logs with the smallest useful packet: one alert or error, the timeframe, the environment. It separates symptoms from operator signals, assesses impact, checks recent changes, forms ranked hypotheses, and proposes reversible mitigations. It writes ops/<date>_triage_<slug>.md. Hold its one-line return.
  2. Trace the root cause. Dispatch analyze-root-cause against the triage artifact. It anchors on one precise failure mode, traces the causal chain back from failure to trigger, runs the technical deep dive (why tests and monitoring missed it), documents reproduction, and defines preventative controls (each with type, what it prevents, how to verify, owner). It writes ops/<date>_rca_<slug>.md. Hold its one-line return.
  3. Review the incident, blameless. Dispatch review-incident against the triage and the RCA. It establishes impact and detection, builds the timeline, documents the response, identifies contributing factors across product, technical, data, operational, and process dimensions, and defines action items (each with type: prevent, detect, or mitigate; owner; due date). It writes ops/<date>_incident_<slug>.md. Hold its one-line return.
  4. Draft the follow-up plan. From the three returns, compose the follow-up plan: the immediate fix (one fix-bug or implement-change item), the hardening tasks (the preventative controls from the RCA), the backlog items (the review's product or process action items), and the verification plan (the test or drill that proves the control works). Promote any architectural choice the investigation settles to an ADR via record-decision. Resolve open questions in open-questions.md.
  5. Present the gate. Show the maintainer the triage, RCA, and incident review paths plus the follow-up plan. The follow-up plan is the one approval gate. On approval, fix items hand to fix-bug (a single bug) or implement-change (a slice); backlog items enter the backlog via the normal planning cycle.

Read the full file on GitHub · 72 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. 3mo ago First seen · 72 lines · 15 tokens per session scan A 5532985dbe59

Subscribe to this mod's changes

investigate is a skill published in the GitHub repository leifericf/agentic-sdk (5 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 804 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-31.

Related

investigate compared with skills from other repositories

investigate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
investigateleifericf/agentic-sdkSkill52mo agoMITA15Claude Code
upstream-trackervoxpelli/claude-beadsSkill31mo agoMITA186Claude Code
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/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex