error-detective
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.
Author
Category
Development ToolsInstall
Hot:1
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-error-detective&locale=en&source=copy
Error Detective - Intelligent Log Analysis and Error Detection Skill
Skill Overview
Error Detective is a skill specialized in log analysis and error pattern recognition. It can automatically extract error patterns from logs and codebases, analyze stack traces, and correlate errors across distributed systems—helping quickly identify the root cause of production issues.
Use Cases
1. Troubleshooting Production Incidents
When the system experiences anomalies or a sudden increase in error rates, Error Detective can quickly analyze the log stream, identify error patterns, provide an error occurrence timeline and root-cause hypotheses, and help operations and development teams reduce MTTR (mean time to repair).
2. Tracking Errors in Distributed Systems
In a microservices architecture, a single failed request may involve multiple services. This skill can correlate errors across services, identify cascading failure paths, and help developers understand the propagation chain of errors.
3. Writing Log Monitoring Rules
When you need to write query statements for log aggregation platforms such as Elasticsearch or Splunk, Error Detective can generate regular-expression patterns for error extraction and monitoring queries—enabling automatic error detection and alerting.
Core Capabilities
1. Intelligent Log Parsing
Supports stack trace recognition for multiple programming languages. It automatically extracts error details, exception types, and code locations from unstructured logs. The generated regular expressions can be directly integrated into monitoring systems.
2. Error Pattern Correlation Analysis
Analyzes error patterns within a time window to identify spikes related to deployment changes, discover repeatedly occurring error types, and provide actionable root-cause analysis recommendations.
3. Cross-System Exception Tracking
Correlates error events across different services in a distributed system to build a complete incident timeline, identify possible cascading failures, and determine dependency relationships.
Common Questions
Which programming languages’ stack traces are supported by Error Detective?
It supports stack trace format recognition and extraction for mainstream programming languages, including Java, Python, JavaScript/TypeScript, Go, C#, Ruby, PHP, and more.
How can I quickly locate the cause of an error in production?
The skill uses a “reverse analysis from symptoms to causes” approach: first identify error symptoms and patterns, then look for规律 within the relevant time window, correlate with the most recent deployments and changes, check for cascading failures, and finally form root-cause hypotheses supported by evidence.
Can the generated monitoring queries be used directly?
Yes. The regular expressions and query statements output by Error Detective (e.g., Elasticsearch Query DSL, Splunk SPL) can be directly used to configure log alerting rules for automated error detection and notifications.
What is the scope of this skill?
Error Detective focuses on log analysis. It is suitable for log parsing, error pattern recognition, stack trace analysis, and root-cause troubleshooting. For tasks not related to logs (such as code static analysis, performance optimization, etc.), it is recommended to use other specialized skills.