Parse bot logs and Langfuse traces into a short incident digest — what broke, how often, and the likely cause. Use when the user asks why the bot errored, wants a summary of recent failures, is debugging a crash, or after heartbeat-monitor reports a red check.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add TheSmokeDev/taskchad-os --skill log-triage --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Log Triage?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/thesmokedev-log-triage)More formats (shields.io, HTML) on the badges page.
---
name: log-triage
description: Parse bot logs and Langfuse traces into a short incident digest — what broke, how often, and the likely cause. Use when the user asks why the bot errored, wants a summary of recent failures, is debugging a crash, or after heartbeat-monitor reports a red check.
version: 1.0.0
author: TaskChad OS
license: MIT
platforms: [linux, macos, windows]
metadata:
YourProduct:
category: devops
tags: [logs, triage, debugging, langfuse, observability]
related_skills: [heartbeat-monitor]
mutates: false
---
# Log Triage
Turn noisy logs into a ranked, human-readable incident digest.
## Sources
- **Bot log** — the chat process log (e.g. `bot.log` / wherever `run_chat.sh`
writes). Start here.
- **Langfuse** — if `LANGFUSE_*` is configured, traces give per-request timing,
model calls, and errors. See `.claude/sections/08_*` (observability).
## Triage method
1. **Scope** — last N hours, or since the last known-good marker.
2. **Extract errors** — grep for `ERROR`/`CRITICAL`/`Traceback`/`Unhandled`.
3. **Cluster** — group by normalized message (strip timestamps, IDs, paths) so
"the same error 200 times" reads as one cluster with a count.
4. **Rank** — by frequency × severity. The top 1–3 clusters are the headline.
5. **Diagnose** — for each headline cluster: first seen, last seen, count, the
representative stack frame, and a one-line hypothesis.
## Output
```
🔧 Log triage — last <window>
1. <normalized error> ×<count>
first <ts> · last <ts>
at <file:line>
likely: <hypothesis>
2. ...
Quiet otherwise: <count> warnings, no other errors.
```
Keep it to the signal. Do not paste raw log spans — cite `file:line` and counts.
This skill is read-only; it diagnoses, it does not restart or patch.
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!