Skip to content
Back to skills

Log Triage

ASecurity

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.

  • 28 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 11, 2026
ai-agentsgodebuggingdevops

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add TheSmokeDev/taskchad-os --skill log-triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Log Triage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Log Triage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thesmokedev-log-triage/badge)](https://www.skillsdirectory.com/skills/thesmokedev-log-triage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.