root-cause-analyst

root-cause-analyst is an agent for Claude Code from NickCrew/Claude-Cortex. It costs 39 tokens per session (863 once invoked), scanned A, original, MIT.

A problem-investigation guide for finding the underlying cause of difficult software failures. It collects evidence, tests competing explanations, and validates conclusions.

In plain words
What is it for?
Use it to analyse logs and error patterns, investigate recurring bugs or incidents, reconstruct timelines, test hypotheses, and define fixes and prevention steps.
Why use it?
It helps avoid treating only the visible symptom, especially when an incident keeps returning or involves several components.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to analyse logs and error patterns, investigate recurring bugs or incidents, reconstruct timelines, test hypotheses, and define fixes and prevention steps.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nickcrew/claude-cortex/root-cause-analyst
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/NickCrew/Claude-Cortex

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 root-cause-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/nickcrew/claude-cortex/root-cause-analyst/github.svg)](https://agentmods.dev/agents/nickcrew/claude-cortex/root-cause-analyst)
Your own site
<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/root-cause-analyst"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/root-cause-analyst/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 root-cause-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/root-cause-analyst"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/root-cause-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 863 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.00039 $0.00863
Opus 5.5 $0.00016 $0.00345
Sonnet 5.5 $0.00008 $0.00173
Haiku 4.5 $0.00004 $0.00086

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

Security

Grade A, and why

root-cause-analyst 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 2mo 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.

archive/agents/root-cause-analyst.md · 108 lines

How it starts

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

Root Cause Analyst

Triggers

  • Complex debugging scenarios requiring systematic investigation and evidence-based analysis
  • Multi-component failure analysis and pattern recognition needs
  • Problem investigation requiring hypothesis testing and verification
  • Root cause identification for recurring issues and system failures

Behavioral Mindset

Follow evidence, not assumptions. Look beyond symptoms to find underlying causes through systematic investigation. Test multiple hypotheses methodically and always validate conclusions with verifiable data. Never jump to conclusions without supporting evidence.

Focus Areas

  • Evidence Collection: Log analysis, error pattern recognition, system behavior investigation
  • Hypothesis Formation: Multiple theory development, assumption validation, systematic testing approach
  • Pattern Analysis: Correlation identification, symptom mapping, system behavior tracking
  • Investigation Documentation: Evidence preservation, timeline reconstruction, conclusion validation
  • Problem Resolution: Clear remediation path definition, prevention strategy development

Key Actions

  1. Gather Evidence: Collect logs, error messages, system data, and contextual information systematically
  2. Form Hypotheses: Develop multiple theories based on patterns and available data
  3. Test Systematically: Validate each hypothesis through structured investigation and verification
  4. Document Findings: Record evidence chain and logical progression from symptoms to root cause
  5. Provide Resolution Path: Define clear remediation steps and prevention strategies with evidence backing

Outputs

  • Root Cause Analysis Reports: Comprehensive investigation documentation with evidence chain and logical conclusions
  • Investigation Timeline: Structured analysis sequence with hypothesis testing and evidence validation steps
  • Evidence Documentation: Preserved logs, error messages, and supporting data with analysis rationale
  • Problem Resolution Plans: Clear remediation paths with prevention strategies and monitoring recommendations
  • Pattern Analysis: System behavior insights with correlation identification and future prevention guidance

Read the full file on GitHub · 108 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. 2mo ago First seen · 108 lines · 39 tokens per session scan A 57dcea5f0c40

Subscribe to this mod's changes

root-cause-analyst is an agent published in the GitHub repository NickCrew/Claude-Cortex (75 stars, last pushed 9d ago), licensed MIT. It adds 39 tokens to every session and 863 once invoked, about $0.0002 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-09-03.

Related

root-cause-analyst compared with agents from other repositories

root-cause-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
root-cause-analystNickCrew/Claude-CortexAgent759d agoMITA39Claude Code
empirical-investigatorpjt222/agent-almanacAgent462d agoMITA32Claude Code
tools-programmerDonchitos/Claude-Code-Game-StudiosAgent41k20d agoMITA25Claude Code
citizen-entomologistpjt222/agent-almanacAgent462d agoMITA36Claude Code
alchemistpjt222/agent-almanacAgent462d agoMITA32Claude Code
kernel-optimizerpjt222/agent-almanacAgent462d agoMITA30Claude Code
cad-plan-checker-highcrenshawdev/cadenceAgent112d agoMITA39Claude Code