log-analysis
БесплатноБез исполняемых скриптовНе проверенRoute runtime-log requests into one evidence packet before diagnosing anything. Use when the user shares app/server/container/browser/CI/JSON log output and…
от akillness★ 63 звезды на GitHubОб этом скилле
Log Analysis
When to use this skill
- The main job is read-only log triage, not code changes or monitoring design.
- The user wants the first actionable blocker, not a paraphrase of every line.
- The evidence is application, API, worker, proxy, container, pod, browser, CI, or JSON logs.
- The user needs the repeated signature or blast radius summarized after the first failure is isolated.
- The prompt is really "which lines matter / what is the real error / where does the cascade start?" even if the user never says "triage".
Do not use this skill as the main workflow when:
- The logs are Unity / Unreal build, cook, package, editor, or player logs → use
game-build-log-triage. - The real job is instrumentation, dashboards, alerting, ingestion, retention, or observability coverage → use
monitoring-observability. - The likely blocker is already known and the user now needs reproduction, hypotheses, or fixes → use
debugging. - The main job is repeated anomaly/rule hunting across logs or telemetry families rather than first-failure triage → use
pattern-detection.
Core idea
log-analysis should act like a packet router, not a giant troubleshooting encyclopedia.
- Normalize the request into one primary log packet.
- Narrow the evidence slice before interpreting it.
- Isolate the earliest actionable failure.
- Group repeated fallout into a pattern / blast radius note.
- Route out as soon as the work becomes debugging, observability design, anomaly hunting, or engine-specialist triage.
Read these support docs before choosing the packet:
- references/intake-packets-and-route-outs.md
- references/triage-playbook.md
- references/source-boundaries.md
Instructions
Step 1: Normalize the request
Convert the prompt into this intake shape first:
log_analysis_packet:
primary_packet: app-runtime | container-runtime | browser-plus-api | ci-cascade | structured-json | security-signal
source_shape: app | proxy | worker | browser | ci | container | pod | json | mixed | unknown
environment: local | ci | staging | production | browser | container | pod | unknown
failure_goal: first-blocker | cascade-start | repeated-signature | blast-radius | suspicious-access | unknown
anchor: timestamp | request-id | trace-id | job-build-id | browser-route | none | unknown
route_after: stay-here | debugging | monitoring-observability | pattern-detection | game-build-log-triage
Choose one primary packet for the run. If two seem plausible, pick the cheaper packet that reduces uncertainty fastest.
Step 2: Choose the packet
| Packet | Use when | Best fits | Typical anchors |
|---|---|---|---|
app-runtime |
The key evidence is app/API/worker/proxy text logs | crashes, stack traces, request failures, queue poison messages | earliest fatal/error line, route, service, request ID |
container-runtime |
The evidence comes from docker logs, kubectl logs, pod output, or deploy-window restarts |
container crashes, env/config mismatch, dependency connectivity, restart loops | pod/container name, deploy window, host, request ID |
browser-plus-api |
Browser console/network symptoms need server-side confirmation | 401/403/500 flows, failed fetch, CORS/auth mismatch, SSR/client divergence | route, request ID, timestamp, browser/network trace |
ci-cascade |
CI output contains many secondary failures after one blocker | install/import/test/build cascades, missing dependency/config, runner mismatch | job name, step name, stage, earliest stack trace/import error |
structured-json |
The logs are JSON or field-rich event records | grouped error families, request/trace correlation, worker/event triage | level, service, request ID, trace ID, tenant, event name |
security-signal |
Access/error logs suggest suspicious probing or auth/permission anomalies | repeated 401/403/404 probes, token misuse, rate-limit storms | IP/user/session, route family, status code, time window |
Packet rules:
- Prefer
app-runtimefor plain text stack traces and server logs. - Prefer
container-runtimewhen restart timing, pod identity, or env/deploy context matters. - Prefer
browser-plus-apiwhen frontend symptoms are not sufficient on their own. - Prefer
ci-cascadewhen the visible failure may be generic abort noise. - Prefer
structured-jsonwhen fields make grouping and correlation cheaper than free-text scanning. - Prefer
security-signalonly when suspicious access/auth behavior is the main job; otherwise keep security-looking noise inside the packet that owns the first blocker.
Step 3: Narrow the slice before reading everything
Apply at least one narrowing move before interpreting the logs:
- limit by time window
- limit by request / trace / job / build / session / tenant identifier
- separate fatal/actionable
Установить log-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadGrepGlobВложенные файлы
FAQ
Что делает скилл log-analysis?
Route runtime-log requests into one evidence packet before diagnosing anything. Use when the user shares app/server/container/browser/CI/JSON log output and wants the first actionable blocker, repeated signature, likely blast radius, or safest next read-only checks. Choose one packet: app-runtime, container-runtime, browser-plus-api, ci-cascade, structured-json, or security-signal. Triggers on: check the logs, which line matters, real error, first blocker, noisy stack trace, retry storm, browser 401/500, pod logs, worker crash, CI abort, webhook failure. Route engine-specific Unity/Unreal logs to `game-build-log-triage`, observability design to `monitoring-observability`, and remediation/debug hypotheses to `debugging`.
Как установить скилл log-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл log-analysis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic