correlate-with-logs

correlate-with-logs is a command for Claude Code from korovin-aa97/talkthrough-mcp. It costs 13 tokens per session (413 once invoked), scanned A, original, MIT.

A debugging command that matches events in a narrated recording with system-log entries by wall-clock time. Wall-clock time is the actual time an event happened, rather than its position in a recording.

In plain words
What is it for?
Use it to investigate incidents by finding recording moments, checking nearby log lines, and reviewing on-screen error text.
Why use it?
It connects what was seen or said in a recording with the system activity occurring at the same moment.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the talkthrough plugin — 6 commands, 1 agent shipped together

Good fit Use it to investigate incidents by finding recording moments, checking nearby log lines, and reviewing on-screen error text.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/korovin-aa97/talkthrough-mcp/correlate-with-logs
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.

Clone the repo
git clone --depth 1 https://github.com/korovin-aa97/talkthrough-mcp

Made for: Claude Code.

Or install talkthrough, the plugin that ships this one along with the rest of its 6 commands, 1 agent.

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 correlate-with-logs

README.md
[![agentmods](https://agentmods.dev/badge/commands/korovin-aa97/talkthrough-mcp/correlate-with-logs/github.svg)](https://agentmods.dev/commands/korovin-aa97/talkthrough-mcp/correlate-with-logs)
Your own site
<a href="https://agentmods.dev/commands/korovin-aa97/talkthrough-mcp/correlate-with-logs"><img src="https://agentmods.dev/badge/commands/korovin-aa97/talkthrough-mcp/correlate-with-logs/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 correlate-with-logs

Your own site · 80×15
<a href="https://agentmods.dev/commands/korovin-aa97/talkthrough-mcp/correlate-with-logs"><img src="https://agentmods.dev/badge/commands/korovin-aa97/talkthrough-mcp/correlate-with-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 413 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.00013 $0.00413
Opus 5 $0.00006 $0.00206
Sonnet 5 $0.00003 $0.00083
Haiku 4.5 $0.00001 $0.00041

Measured 12d ago against content hash 0124d9688904, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

correlate-with-logs 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 12d 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.

integrations/claude-code/commands/correlate-with-logs.md · 34 lines

What it actually says

If no job_id was passed as an argument: call list_jobs() to find the right recording, or process_media(path) if the user gave a file path — then follow the workflow below with that job_id.

You are debugging with two evidence streams: a narrated recording (talkthrough job $ARGUMENTS) and system logs the user can access. Pair spoken/visible moments with log lines using wall-clock time.

Method

  1. Confirm the job's wall-clock anchor: list_jobs() shows wall_clock.start and its confidence. If wall_clock is null or confidence is "low", ask the user for the recording start time, then re-anchor with process_media(path=..., recorded_at="<ISO 8601>", force=true) before correlating.
  2. Find the incident moments: search(job_id="$ARGUMENTS", query="") and/or get_transcript ranges. Every hit carries t_wall.
  3. For each moment, compute the log window t_wall ± 30 s and read the user's logs there (ask the user to run the grep if you cannot access the log source directly).
  4. Pull the matching visual state with get_moment(job_id="$ARGUMENTS", start_ms=..., end_ms=...) — the OCR text often contains the on-screen error that names the failing component.

Output

A markdown incident walkthrough: one section per correlated moment with (a) the narrator's quote + t_wall, (b) the matching log lines, (c) the frame ref showing the screen, and (d) your read of cause vs. symptom. Close with a "Confidence and gaps" note: which correlations are exact (t_wall confidence "exact"/"high") and which are approximate ("medium"/"low" — mtime-derived anchors drift). Quote remarks verbatim in their original language.

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. 12d ago First seen · 34 lines · 13 tokens per session scan A 0124d9688904

Subscribe to this mod's changes

correlate-with-logs is a command published in the GitHub repository korovin-aa97/talkthrough-mcp (29 stars, last pushed 6d ago), licensed MIT. It adds 13 tokens to every session and 413 once invoked, about $0.0001 per session on Opus 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-30.