From superpowers-plus
Reconstructs incident timelines from distributed traces, logs, deployments, and metrics. Produces structured TimelineEvidence for the debug conductor.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-plus:timeline-trace-investigatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Role:** Reconstruct what happened and when across distributed services.
Role: Reconstruct what happened and when across distributed services. Dispatched by:
debug-conductor— never invoked directly by user. Evidence type:TimelineEvidence(seeskills/_shared/evidence-schema.md)
Dispatched by debug-conductor when the incident involves temporal causation — deployment correlations, cascading failures, or event ordering across services.
From the incident packet, extract:
| Source | Tool | Signal Strength | What to Look For |
|---|---|---|---|
| Distributed traces | Tracing queries (Jaeger, Zipkin, OTEL) | Highest | Request path, latency breakdown, span errors |
| Deployment history | Git log, CI/CD history | High | Deployments within time window → temporal correlation |
| Application logs | Log search (structured) | High | Error messages, warnings, state transitions |
| Metrics | Metric queries (Prometheus, Datadog) | Medium | Latency spikes, error rate changes, resource utilization |
| Git history | git log --since --until | Medium | Code changes that correlate with incident onset |
Build a chronological event sequence:
{
"events": [
{ "timestamp": "ISO-8601", "service": "call-router", "event": "deployment v2.3.1", "traceId": null },
{ "timestamp": "ISO-8601", "service": "call-router", "event": "first error logged", "traceId": "abc123" },
{ "timestamp": "ISO-8601", "service": "telephony-gw", "event": "SIP timeout spike", "traceId": null }
]
}
| Gap Type | Detection | Significance |
|---|---|---|
| Trace gap | Request enters service A, no trace in service B | High — something happened between A and B |
| Time gap | >5 seconds between related events | Medium — unusual delay worth investigating |
| Service gap | Known service in path has no events | High — service may be silently failing |
| Log gap | Expected log entries missing in window | Medium — logging may be broken or delayed |
Look for temporal correlations:
Return TimelineEvidence to conductor:
{
"events": [ /* chronological event list */ ],
"gaps": [
{ "from": "ISO-8601", "to": "ISO-8601", "service": "string", "explanation": "string | null" }
],
"correlations": [
{ "eventA": "deployment v2.3.1", "eventB": "first SIP timeout", "lagMs": 120000, "suspicious": true }
]
}
Plus standard evidence wrapper:
| Pattern | Evidence Shape |
|---|---|
| Deployment-correlated failure | Deployment event < 30 min before error onset |
| Cascading timeout | Service A timeout → Service B timeout → Service C timeout (each delayed) |
| Event ordering bug | Events arrive out of sequence (checked via trace timestamps) |
| Silent service failure | Service in path has zero events (gap in timeline) |
| Clock skew | Event in Service B "before" the event in Service A that triggered it |
| Mode | Symptom | Recovery |
|---|---|---|
| Clock skew | Events appear out of order | Normalize timestamps across services |
| Missing spans | Gaps in trace data | Check sampling rate and instrumentation |
| Correlation error | Linking unrelated events | Verify trace ID propagation |
npx claudepluginhub bordenet/superpowers-plus --plugin superpowers-plusGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.