Install
openclaw skills install extract-error-patternsUse when (1) Extract error patterns from server logs and generate actionable alert rules.
openclaw skills install extract-error-patternsThis skill analyzes unstructured or semi-structured data and extracts structured information according to defined patterns. It is NOT a simple search — it applies intelligent pattern matching and classification.
Key responsibilities:
/extract-error-patterns --verboseVerbose mode. Includes confidence scores, pattern matches, and edge case details.
/extract-error-patterns --summarySummary mode. Returns only high-confidence extractions with a count summary.
| Criterion | Minimum | Ideal |
|---|---|---|
| Extraction coverage | >= 95% of identifiable entities | 100% with confidence score per item |
| False positive rate | < 5% of extractions are wrong | < 1% with manual review flagging |
| Confidence calibration | Score 0-1, low < 0.6 flagged | All low-confidence items reviewed and re-scored |
| Context preserved | Every extraction has source location | Source location + surrounding context lines |
| Pattern documentation | Every pattern has a documented purpose | Patterns rated by precision/recall tradeoff |
| A good extraction result contains confidence scores and source locations for every item. |
| Scenario | Bad | Good |
|---|---|---|
| Low confidence | Marks as high confidence, flags no review | Reports "Extraction [X]: confidence 0.4 — flagged for manual review" |
| Ambiguous input | Forces extraction, guesses | Reports "Cannot classify [X] — insufficient context, skipped" |
| PII detected | Extracts without warning | Stops and asks: "PII detected in [location] — confirm before extracting" |
| Pattern miss | Silent failure, returns empty | Reports "No patterns matched input — check format or add custom pattern" |
| Large input | Loads all, crashes | Streams, reports "Processed 10K lines, found 142 matches (truncated at limit)" |