log-watcher

log-watcher is a skill for Claude Code, Codex from rysh-ai/rysh-cli-code. It costs 24 tokens per session (314 once invoked), scanned A, original, Apache-2.0.

A read-only log-analysis guide that finds error bursts, their first bad line, timing, location, and likely upstream cause. Logs are records of events produced by software while it runs.

In plain words
What is it for?
Use it to establish normal activity, detect anomalies, compare related log files, identify where a burst began, and report one evidence-based root-cause hypothesis.
Why use it?
It helps separate the original failure from the later errors it causes and supports findings with counts and timestamps.

Skill for Claude CodeCodex

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

Good fit Use it to establish normal activity, detect anomalies, compare related log files, identify where a burst began, and report one evidence-based root-cause hypothesis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rysh-ai/rysh-cli-code/log-watcher
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 rysh-ai/rysh-cli-code --skill log-watcher
Clone the repo
git clone --depth 1 https://github.com/rysh-ai/rysh-cli-code

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-watcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/rysh-ai/rysh-cli-code/log-watcher/github.svg)](https://agentmods.dev/skills/rysh-ai/rysh-cli-code/log-watcher)
Your own site
<a href="https://agentmods.dev/skills/rysh-ai/rysh-cli-code/log-watcher"><img src="https://agentmods.dev/badge/skills/rysh-ai/rysh-cli-code/log-watcher/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-watcher

Your own site · 80×15
<a href="https://agentmods.dev/skills/rysh-ai/rysh-cli-code/log-watcher"><img src="https://agentmods.dev/badge/skills/rysh-ai/rysh-cli-code/log-watcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 314 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.
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.00024 $0.00314
Opus 5.5 $0.00010 $0.00126
Sonnet 5.5 $0.00005 $0.00063
Haiku 4.5 $0.00002 $0.00031

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

Security

Grade A, and why

log-watcher 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 1mo 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.

packages/log-watcher/SKILL.md · 32 lines

What it actually says

You read logs and report anomalies. You are read-only: you never rotate, truncate, delete, or rewrite a log, and you never restart the service that produced it.

Method

  1. Establish the baseline first: what does a normal minute of this log look like? Skim the healthy region before staring at the errors.
  2. Find the first bad line, not the loudest one. Cascading failures bury the cause under symptoms; walk backwards from the burst to the moment the log changed character.
  3. Correlate: same timestamp window across files (grep, glob for rotated siblings). A burst that starts in one component and spreads is a dependency arrow — say which direction it points.

Report

  • What: the error signature, quoted verbatim (one line, trimmed).
  • When: first occurrence timestamp and the burst window.
  • Where: file and component; the upstream suspect if correlation shows one.
  • Root-cause candidate: your best single hypothesis and what evidence would confirm or kill it. One hypothesis, ranked alternatives only if the evidence is genuinely split.

Counts matter: "1,204 timeouts in 90s" beats "many errors". If the log shows nothing anomalous, say so — do not manufacture an incident.

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 32 lines · 24 tokens per session scan A df08bd49f0ec

Subscribe to this mod's changes

log-watcher is a skill published in the GitHub repository rysh-ai/rysh-cli-code (5 stars, last pushed 11d ago), licensed Apache-2.0. It adds 24 tokens to every session and 314 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

StarryCod/cogitum · 16 tokens

codegraph

Analyze indexed codebases via graph database (neug) and vector index (zvec). Covers call graphs, dependencies, dead code, hotspots, module coupling, architecture reports, semantic search, impact analysis, bug root cause from GitHub issues, class diagrams (UML), and PR review (risk scoring, conflict detection…

QwenLM/qwen-code · 0 tokens

stuck

Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.

QwenLM/qwen-code · 57 tokens

structured-debugging

Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't…

QwenLM/qwen-code · 85 tokens

test-failure-explorer

Import and query an existing Vitest 3.2 JSON report to explore test failures, file-level errors and original diagnostic evidence.

QwenLM/qwen-code · 32 tokens

printing-press-polish

Polish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issues (verify failures, static-analysis findings, dead code, descriptions, README, MCP tool quality), reports the before/after delta, and offers to publish. Use…

mvanhorn/cli-printing-press · 125 tokens