wtf-happened

wtf-happened is a skill for Claude Code, Codex from Wave-Engineering/mcp-server-wtf. It costs 0 tokens per session (294 once invoked), scanned A, original, MIT.

A troubleshooting command that retrieves a condensed timeline of the current incident and creates a runbook outline. A runbook is a written guide for handling a recurring operational problem.

In plain words
What is it for?
Reviewing an incident timeline and generating a starting point for an operational runbook.
Why use it?
It turns scattered troubleshooting events into a concise record that can support diagnosis and future response.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reviewing an incident timeline and generating a starting point for an operational runbook.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wave-engineering/mcp-server-wtf/wtf-happened
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 Wave-Engineering/mcp-server-wtf --skill wtf-happened
Clone the repo
git clone --depth 1 https://github.com/Wave-Engineering/mcp-server-wtf

Made for: Claude Code, Codex.

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 wtf-happened

README.md
[![agentmods](https://agentmods.dev/badge/skills/wave-engineering/mcp-server-wtf/wtf-happened.svg)](https://agentmods.dev/skills/wave-engineering/mcp-server-wtf/wtf-happened)
Your own site
<a href="https://agentmods.dev/skills/wave-engineering/mcp-server-wtf/wtf-happened"><img src="https://agentmods.dev/badge/skills/wave-engineering/mcp-server-wtf/wtf-happened.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 294 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.00000 $0.00294
Opus 5 $0.00000 $0.00147
Sonnet 5 $0.00000 $0.00059
Haiku 4.5 $0.00000 $0.00029

Measured 7d ago against content hash 14c29c7c5217, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

wtf-happened 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 7d 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.

skills/wtf-happened/SKILL.md · 49 lines

What it actually says

/wtf happened — Get the Incident Timeline

Retrieve a distilled timeline of the current troubleshooting incident and generate a runbook skeleton. Returns a concise summary by default, or the full untruncated timeline on request.

Resolve Intent

Parse the invocation arguments:

  • No arguments — return the summary timeline (default, max 50 lines).
  • full — return the full timeline with no truncation.

Steps

1. Call wtf_happened

Call the wtf_happened MCP tool with the appropriate detail level:

Default (no args):

{}

Full mode (/wtf happened full):

{
  "detail": "full"
}

2. Present the result

Display the returned Markdown timeline directly to the user. The tool response includes a header with duration, entry counts, and status, followed by a numbered timeline of classified events.

If a runbook was generated, note the file path:

Runbook written to .claude/wtf/runbook.md

3. Offer next steps

After presenting the timeline, briefly suggest:

  • /wtf now "<observation>" to keep recording
  • wtf_freshell to archive and start a new incident
  • /view .claude/wtf/runbook.md to review the generated runbook
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. 7d ago First seen · 49 lines · 0 tokens per session scan A 14c29c7c5217

Subscribe to this mod's changes

wtf-happened is a skill published in the GitHub repository Wave-Engineering/mcp-server-wtf (0 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 294 tokens. 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-31.

Related

Other skills, from other repositories

api-linter

MCP definition linter rules reference. Use when bun run lint:mcp or bun run devcheck reports a lint error or warning (format-parity, schema-is-object, name-format, server-json-, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule ID the linter emits has an entry in this doc.

cyanheads/openstreetmap-mcp-server · 86 tokens

report-issue-framework

File a bug or feature request against @cyanheads/mcp-ts-core when you hit a framework issue. Use when a builder, utility, context method, or config behaves contrary to the documented API — not for server-specific application bugs.

cyanheads/openstreetmap-mcp-server · 52 tokens

report-issue-local

File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.

cyanheads/openstreetmap-mcp-server · 44 tokens

api-linter

MCP definition linter rules reference. Use when bun run lint:mcp or bun run devcheck reports a lint error or warning (format-parity, schema-is-object, name-format, server-json-, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule ID the linter emits has an entry in this doc.

cyanheads/met-museum-mcp-server · 86 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/met-museum-mcp-server · 54 tokens

api-linter

MCP definition linter rules reference. Use when bun run lint:mcp or bun run devcheck reports a lint error or warning (format-parity, schema-is-object, name-format, server-json-, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule ID the linter emits has an entry in this doc.

cyanheads/worldbank-mcp-server · 86 tokens