log-triage

log-triage is a skill for Claude Code, Codex from TheSmokeDev/taskchad-os. It costs 62 tokens per session (485 once invoked), scanned A, original, MIT.

A log and trace analyser that groups repeated errors and produces a short incident summary with counts, times, stack locations, and likely causes. Langfuse is a tool that records AI application requests and their model calls.

In plain words
What is it for?
Investigating bot crashes, reviewing recent failures, and diagnosing problems after a health check reports an issue.
Why use it?
It removes noise from large logs so you can focus on the most frequent or serious failures without reading every repeated error.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Investigating bot crashes, reviewing recent failures, and diagnosing problems after a health check reports an issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thesmokedev/taskchad-os/log-triage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TheSmokeDev/taskchad-os --skill log-triage
Clone the repo
git clone --depth 1 https://github.com/TheSmokeDev/taskchad-os

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for log-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/log-triage/github.svg)](https://agentmods.dev/skills/thesmokedev/taskchad-os/log-triage)
Your own site
<a href="https://agentmods.dev/skills/thesmokedev/taskchad-os/log-triage"><img src="https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/log-triage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for log-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/thesmokedev/taskchad-os/log-triage"><img src="https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/log-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00485
Opus 5.5 $0.00025 $0.00194
Sonnet 5.5 $0.00012 $0.00097
Haiku 4.5 $0.00006 $0.00049

Measured 2mo ago against content hash e76194a8446b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

log-triage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

optional-skills/devops/log-triage/SKILL.md · 54 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 54 lines · 62 tokens per session scan A e76194a8446b

Subscribe to this mod's changes

log-triage is a skill published in the GitHub repository TheSmokeDev/taskchad-os (28 stars, last pushed 1mo ago), licensed MIT. It adds 62 tokens to every session and 485 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

log-triage compared with skills from other repositories

log-triage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
log-triageTheSmokeDev/taskchad-osSkill281mo agoMITA62Claude Code, Codex
skillify-meta-loopmycelium-hq/ai-brain-starterSkill50yesterdayMITA111Claude Code
diagnosemycelium-hq/ai-brain-starterSkill50yesterdayMITB110Claude Code
python-code-qualitymicrosoft/agent-frameworkSkill15ktodayMITA40Claude Code, Codex
pre-action-interceptorsBitterbot-AI/bitterbot-desktopSkill2.5kyesterdayMITA44Claude Code, Codex
atmos-diagnosticscloudposse/atmosSkill1.4ktodayApache-2.0A33Claude Code
observabilityPrismer-AI/PrismerCloudSkill1.4k22d agoMITA67Claude Code