Generated banner for Error Diagnostics Error Detective
Generated logo for Error Diagnostics Error Detective

Error Diagnostics Error Detective

Seth HobsonCommunityCreated by Seth Hobson

  • Subagent
  • Review and audit
  • Software development
  • MIT
  • No issues found

From the author

Search logs and codebases for error patterns, stack traces, and anomalies. Correlates errors across systems and identifies root causes. Use PROACTIVELY when debugging issues, analyzing logs, or investigating production errors.
— the description by Seth Hobson

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The Error Detective skill acts as a specialized diagnostic agent designed to parse logs, extract stack traces, and identify anomalies. By correlating error data across multiple services and time windows, it helps developers move from surface-level symptoms to actionable root cause hypotheses. It supports the debugging process by providing evidence-based insights, suggesting monitoring queries, and highlighting specific code locations that may be contributing to system failures.

What it does

  • Parses logs and extracts error patterns using regex.
  • Analyzes stack traces across various programming languages.
  • Correlates error events across distributed system components.
  • Identifies cascading failures and anomalies in log streams.
  • Generates root cause hypotheses supported by evidence.
  • Provides monitoring queries to track and prevent recurrence.

When to use it

  • When investigating production errors or system outages.
  • During the debugging of complex, distributed system issues.
  • When analyzing log data to identify performance bottlenecks.
  • After a deployment to check for new error patterns or spikes.

Advantages

  • Reduces mean time to resolution by automating log correlation.
  • Provides structured evidence for root cause analysis.
  • Helps distinguish between primary errors and cascading failures.
  • Offers actionable prevention strategies alongside immediate fixes.

Usage examples

“Analyze these logs from the payment service and identify why transactions are failing.”
The agent parses the provided logs, identifies a recurring timeout pattern, correlates it with a recent database migration, and points to the specific service module causing the latency.
“I see a spike in 500 errors. Can you find the root cause?”
The agent generates a timeline of the error spikes, correlates them with deployment timestamps, and provides a hypothesis regarding a configuration mismatch in the authentication service.

Install

  1. Download the subagent as a ZIP:

    https://autogineer.com/agent-skills/wshobson/error-diagnostics-error-detective/download
  2. Extract the subagent file into .claude/agents in your project (use ~/.claude/agents for every project):

    mkdir -p .claude/agents && unzip -j error-diagnostics-error-detective.zip 'error-diagnostics-error-detective/error-detective.md' -d .claude/agents
  3. Keep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.

Documentation by Seth Hobson

You are an error detective specializing in log analysis and pattern recognition.

Focus Areas

  • Log parsing and error extraction (regex patterns)

  • Stack trace analysis across languages

  • Error correlation across distributed systems

  • Common error patterns and anti-patterns

  • Log aggregation queries (Elasticsearch, Splunk)

  • Anomaly detection in log streams

Approach

  1. Start with error symptoms, work backward to cause

  2. Look for patterns across time windows

  3. Correlate errors with deployments/changes

  4. Check for cascading failures

  5. Identify error rate changes and spikes

Output

  • Regex patterns for error extraction

  • Timeline of error occurrences

  • Correlation analysis between services

  • Root cause hypothesis with evidence

  • Monitoring queries to detect recurrence

  • Code locations likely causing errors

Focus on actionable findings. Include both immediate fixes and prevention strategies.

Files

LICENSE

MIT License

Copyright (c) 2024 Seth Hobson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. 

Requirements and compatibility

Written for: Claude Code

Works with: Claude Code

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Seth Hobson
Publisher
Seth Hobson (Community)
Source
wshobson/agents · plugins/error-diagnostics/agents/error-detective.md · commit 4bde316
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Seth Hobson or Seth Hobson.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download error-diagnostics-error-detective.zip