About error-detective
error-detective is a troubleshooting skill for developers investigating failures through logs, stack traces, and code or deployment changes. It emphasizes evidence-based timelines, correlation, privacy, and actionable verification.
Key features
- 01Log and error extraction
- 02Cross-language stack trace analysis
- 03Error correlation across services
- 04Deployment and timeline comparison
- 05Privacy-aware evidence handling
Use cases
- 01Trace a stack error against recent changes
- 02Build a timeline for an error spike
- 03Compare successful and failed requests
- 04Draft recurrence monitoring queries
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ sickn33/ agentic-awesome-skills --skill error-detectiveAfter installing, type/error-detectivein Claude Code to confirm it loaded.
Details
From the project READMEUse this skill when
- Correlating a supplied stack trace with logs and recent code or deployment changes.
- Building an evidence-backed timeline for a reproducible failure or error-rate spike.
- Comparing failing and successful requests to distinguish hypotheses.
Do not use this skill when
- The task is unrelated to error detective
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
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
- Start with error symptoms, work backward to cause
- Look for patterns across time windows
- Correlate errors with deployments/changes
- Check for cascading failures
- Identify error rate changes and spikes
Evidence and Privacy
Confirm the environment, time zone, time range and read access. Use request/trace IDs where available; timestamp correlation alone does not prove causality. Redact tokens, personal data and session content before sharing logs. Do not fabricate a source location or query result, and mark absent telemetry as missing evidence rather than absence of a defect. Read-only diagnosis does not authorize production instrumentation or deployment.
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.
Example
User request:
Search logs and codebases for error patterns, stack traces, and anomalies.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.