incident-timeline

incident-timeline is a skill for Claude Code from gensecaihq/Wazuh-Autopilot. It costs 41 tokens per session (1,026 once invoked), scanned A, original, MIT.

A tool for turning security events from one or more hosts into an ordered incident timeline linked to evidence. It records when activity first and last appeared, how long an attacker may have remained, and the important transitions between stages.

In plain words
What is it for?
Use it to combine alerts, logs, affected users, hosts, actions, and findings into a narrative for responders or executives. It is useful for finding the initial activity, later pivots, and gaps caused by clock differences or delayed log delivery.
Why use it?
Security alerts often arrive out of order, repeat the same event, or use different clocks, making the incident difficult to understand. This guide normalises times, removes misleading repetition, and separates alert-processing time from the time the event actually occurred.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to combine alerts, logs, affected users, hosts, actions, and findings into a narrative for responders or executives. It is useful for finding the initial activity, later pivots, and gaps caused by clock differences or delayed log delivery.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gensecaihq/wazuh-autopilot/incident-timeline
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 gensecaihq/Wazuh-Autopilot --skill incident-timeline
Clone the repo
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot

Made for: Claude Code.

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 incident-timeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/incident-timeline/github.svg)](https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/incident-timeline)
Your own site
<a href="https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/incident-timeline"><img src="https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/incident-timeline/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 incident-timeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/incident-timeline"><img src="https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/incident-timeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 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.00041 $0.01026
Opus 5.5 $0.00016 $0.00410
Sonnet 5 $0.00008 $0.00205
Haiku 4.5 $0.00004 $0.00103

Measured yesterday against content hash 8afb3a9e6485, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-26, from the pricing page.

Security

Grade A, and why

incident-timeline 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 yesterday.

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.

backend/app/skills/incident-timeline/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Incident Timeline

A timeline turns a pile of alerts into a story a responder or executive can act on. NIST SP 800-61r3 expects incident documentation of what happened, when, and how it was detected; the timeline is the backbone of that record.

Procedure

  1. get_case — gather attached alerts, entities, findings, actions.
  2. Pull supporting events for the key entities over the incident window (search_security_events, get_wazuh_alerts filtered by agent/user/ip).
  3. Normalize every timestamp to UTC ISO 8601. A Wazuh alert's timestamp is when the manager processed the event. The original event time is in the log itself (predecoder.timestamp, or the time at the start of full_log, or data.win.system.systemTime for Windows). Use the event time when they differ by more than a few seconds, and note clock skew or delayed delivery (e.g. an agent reconnecting and flushing its buffer).
  4. Order events; collapse repetitive ones ("38 sshd failures 09:02–09:12"). Wazuh composite rules summarize bursts: one rule 5763 or rule 5712 alert stands for several single failures (rules 5716, 5760, 5710), so count the underlying failures, not the composites.
  5. Label each event with an ATT&CK tactic where possible.
  6. Identify the key milestones and gaps.

Milestones to identify

Milestone Definition
First malicious activity Earliest event attributable to the attacker (may predate the first alert)
Initial access First successful foothold (login success, exploit, execution)
First detection Timestamp of the first Wazuh alert on this activity
Escalation / spread Privilege gain, new host touched
Containment Time an approved action was executed and verified
Last activity Latest attacker event

Derived metrics:

  • Dwell time = first detection − first malicious activity.
  • Time to contain = containment − first detection.
  • Active duration = last activity − first malicious activity.

Pivot points

Read the full file on GitHub · 83 lines

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. yesterday First seen · 83 lines · 41 tokens per session scan A 8afb3a9e6485

Subscribe to this mod's changes

incident-timeline is a skill published in the GitHub repository gensecaihq/Wazuh-Autopilot (57 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 1,026 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-25.