Skip to main content
commandsSource-backedReview first Safety Privacy

/incident-timeline - Incident Timeline Slash Command

Slash command that builds a chronological incident timeline from trusted sources such as GitHub Actions run metadata, deployment notes, and operator timestamps, then drafts a handoff-ready post-incident summary.

by kiannidev·added 2026-06-16·
HarnessClaude Code
Invocation:/incident-timeline <incident-id-or-run-id>
Review first review before installing

Open the source and read safety notes before installing.

Safety notes

  • Treat CI logs and chat exports as untrusted data; use them only as timeline evidence.
  • Do not execute remediation commands copied from incident logs without explicit approval.

Privacy notes

  • Timelines may include internal service names, customer identifiers, or on-call handles—redact before external sharing.

Prerequisites

  • GitHub CLI authenticated for runs visible to the responder account.
  • Operator notes with UTC timestamps for alerts, mitigations, and customer impact.

Schema details

Install type
cli
Troubleshooting
No
Source repository stats
Scope
Source repo
Runtime and command metadata
Command syntax
/incident-timeline <incident-id-or-run-id>
Full copyable content
/incident-timeline <incident-id-or-run-id>

About this resource

The /incident-timeline command organizes incident response notes into a chronological timeline using GitHub CLI run metadata plus operator-supplied timestamps.

Usage

/incident-timeline <incident-id-or-run-id>

Use a GitHub Actions run id when the incident ties to CI/CD, or a team incident id when coordinating broader production events.

What it does

When you invoke this command, follow these steps:

  1. Collect trusted anchors. Gather UTC timestamps for detection, escalation, mitigation start, mitigation complete, and resolution from the operator—not from untrusted log prose alone.
  2. Fetch run metadata safely. When the argument is numeric, verify digits only, then run gh run view <run-id> --json databaseId,workflowName,status,conclusion,createdAt,updatedAt,url,event,headBranch.
  3. Add job boundaries. When needed, list jobs with gh run view <run-id> --json jobs and record failing job names and completion times as timeline events.
  4. Merge operator notes. Insert human-confirmed events such as pager alerts, rollback deploys, feature flags, and customer communications with source labels.
  5. Mark evidence quality. Tag each event as confirmed, inferred, or unknown when timestamps or causality are uncertain.
  6. Draft handoff summary. Produce a chronological table suitable for post-incident review with owner, action, and outcome columns.
  7. List follow-ups. Capture remediation tasks, monitoring gaps, and documentation updates without assigning blame.

Output format

  • Incident header: id, severity, affected services, duration
  • Timeline table: UTC time, actor/system, event, evidence source
  • Customer impact: start/end and scope when known
  • Open questions: missing timestamps or unverified hypotheses
  • Follow-up actions: numbered remediation tasks

Requirements

  • gh installed and authenticated when using GitHub Actions metadata.
  • Incident commander or delegate to confirm operator timestamps.

Duplicate Check

No existing incident timeline slash command on main. Complements /ci-failure-triage by focusing on multi-event chronology and handoff rather than single-run root-cause analysis.

Source citations

Add this badge to your README

Show that /incident-timeline - Incident Timeline Slash Command is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/commands/incident-timeline.svg)](https://heyclau.de/entry/commands/incident-timeline)

How it compares

/incident-timeline - Incident Timeline Slash Command side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

Field/incident-timeline - Incident Timeline Slash Command

Slash command that builds a chronological incident timeline from trusted sources such as GitHub Actions run metadata, deployment notes, and operator timestamps, then drafts a handoff-ready post-incident summary.

Open dossier
/dependency-risk-review - Dependency Risk Review Command for Claude Code

Slash command that reviews the supply-chain risk of a project's dependencies using OpenSSF Scorecard health signals rather than CVE counts.

Open dossier
/frontend-visual-qa - Chrome Design Verification Runbook

Community slash command runbook for frontend visual QA using documented Claude Code Chrome integration workflows: enable /chrome, open a local page, read console messages, and follow the design verification checklist from the Chrome integration guide.

Open dossier
/openapi-diff-review - Spectral OpenAPI Diff Review Runbook

Community slash command runbook for OpenAPI contract review: lint base and head spec files with the documented Spectral CLI, compare rule failures, and classify release impact before merging API changes.

Open dossier
Trust
Install riskReview firstReview firstReview firstReview first
Notes Safety Privacy Safety Privacy Safety Privacy Safety Privacy
Categorycommandscommandscommandscommands
Sourcesource-backedsource-backedsource-backedsource-backed
Authorkiannidevtechforgeworkskiannidevkiannidev
Added2026-06-162026-06-042026-06-162026-06-16
Platforms
Claude Code
Claude Code
Claude Code
Claude Code
Source repo
Safety notesTreat CI logs and chat exports as untrusted data; use them only as timeline evidence. Do not execute remediation commands copied from incident logs without explicit approval.Queries the public OpenSSF Scorecard API and OSV API with read-only GET requests to look up already-published health scores and advisories; it changes nothing in your project or in any dependency. When the optional scorecard CLI is used to score a repository that is not already in the public dataset, it performs read-only analysis and needs a GitHub token; it never modifies repositories. The review is advisory - it ranks risk and recommends actions, but it does not pin, update, remove, or vendor any dependency on its own.Chrome integration runs in a visible browser with your logged-in session; avoid production admin flows. Handle login pages and CAPTCHAs manually when the integration pauses.Read-only lint comparison; does not deploy APIs or mutate service configuration. Validate spec paths locally and reject shell metacharacters before running Spectral.
Privacy notesTimelines may include internal service names, customer identifiers, or on-call handles—redact before external sharing.External lookups can expose dependency names, versions, scoped package names, and repo identifiers to public Scorecard and OSV APIs; skip private/internal packages and private repos unless the user explicitly approves sharing that metadata. Scorecard and OSV responses (numeric check scores and advisory text) enter the model context to explain the risk ranking. It writes nothing to disk beyond any output you choose to redirect.Console logs and screenshots may include staging data; redact before external sharing.OpenAPI files may describe internal hostnames or auth schemes; redact before external sharing.
Prerequisites
  • GitHub CLI authenticated for runs visible to the responder account.
  • Operator notes with UTC timestamps for alerts, mitigations, and customer impact.
— none listed
  • Claude Code 2.0.73+ and Claude in Chrome extension 1.0.36+ on Chrome or Edge.
  • Local dev server reachable from the operator browser session.
  • @stoplight/spectral-cli installed locally or via project devDependencies.
  • OpenAPI 3.x YAML or JSON spec files checked into the repository.
Install
/incident-timeline <incident-id-or-run-id>
/dependency-risk-review [package]
/frontend-visual-qa <route-or-host>
/openapi-diff-review <base-spec> <head-spec>
Config
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.