Install
openclaw skills install error-diagnosisAnalyze error messages and logs to identify root causes of crashes, build failures, or runtime errors and suggest actionable fixes with code examples.
openclaw skills install error-diagnosisAnalyze error messages, stack traces, and log output to diagnose root causes and suggest fixes. Use when debugging crashes, runtime errors, build failures, or unexpected behavior.
Diagnose this error: [paste error message or stack trace]
Or with context:
Diagnose: [error]. Language: [lang]. Framework: [framework]. Recent changes: [what changed].
## Error Type
[Classification: e.g., "TypeError — accessing property of undefined"]
## Root Cause
[1-2 sentences explaining WHY this happened]
## Fix
[Code snippet or command to resolve]
## Prevention
[How to avoid this in the future: type check, test, lint rule, etc.]
Paste multiple errors — the skill identifies whether they share a root cause or are independent issues.
This error started after [commit/change]. Analyze whether the change could cause this.
Works in dev, fails in prod. Error: [error]. Dev config: [config]. Prod config: [config].
scripts/parse_stacktrace.pyExtracts structured data from raw stack traces:
python3 scripts/parse_stacktrace.py < error.log
Returns JSON with error type, message, frames (file, line, function), and suggested search queries.