/mureo:incident-postmortemfrom mureo
Reconstructs incident timelines from action_log, performs root-cause analysis across platform/site/measurement/external factors, produces structured postmortem documents, and proposes preventive guardrails. Use after handling a rescue, CPA spike, conversion drop, or runaway-spend event.
Ships in mureo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
PREREQUISITE: Read
../_mureo-shared/SKILL.mdfor auth, security rules, output format, and Tool Selection (Read/Write on Code,mureo_strategy_*/mureo_state_*MCP on Desktop / Cowork).
After the fire is out, learn from it. A rescue that is never reflected on repeats: the same root cause resurfaces, the same scramble happens, and nothing in the account got more resilient. This skill reconstructs what happened, finds the controllable cause, and converts the episode into durable know-how and guardrails.
This skill makes NO ad-platform writes — it changes no campaigns, ads, budgets, bids, or targeting. It only reads platform and state data, writes a postmortem document, appends the postmortem to action_log, saves insights via /learn, and — with explicit approval — edits STRATEGY.md ## Guardrails. Say this up front to the operator so they know nothing in the ad accounts moves during this review.
onboard skill first)Before you start: Run the Diagnostic preamble from ../_mureo-shared/SKILL.md — load learning insights (mureo_learning_insights_get) and consult advisors (mureo_consult_advisor) before drawing conclusions.
Establish today: call mureo_state_get first, on every host (including Claude Code, where you would otherwise Read the file) and take server_now from its response — ISO 8601 with UTC offset, e.g. 2026-07-28T10:12:33+09:00. Its date is the only source of the current date for this run: the scan window in step 1, the detection lag in step 2, and every "has this action's observation_due window closed?" judgement are measured from it. Do not shell out (this skill must run in Bash-less headless hosts). The action_log timestamps and last_synced_at you reconstruct the timeline from are history — that is exactly what makes them useful here, and exactly why they are never "now". Never write server_now into STATE.json: it is a response field, and a persisted copy becomes tomorrow's stale "today".
Identify the incident: Take the operator's description if given. Otherwise scan the action_log (via mureo_state_get) over the chosen window for the fingerprints of a handled incident: entries with command="/rescue", actions taken while Operation Mode was TURNAROUND_RESCUE, or a cluster of stabilization actions (budget cuts, bulk pauses, bid drops) around a CPA-spike / CV-drop / runaway-spend date. Confirm the incident's scope (which platform(s), campaign(s), and date range) with the operator before reconstructing.
Reconstruct the timeline from action_log (mureo_state_get) plus STRATEGY.md/STATE.json notes (mureo_strategy_get). Lay out, in order:
metrics_at_action baseline and timestamp.observation_due window has now closed (its date is on or before server_now's date), call mureo_outcome_evaluate (evaluation_of = that entry's index, after = the campaign's metrics object from mureo_state_get, unchanged (including period and fetched_at); pass before only when the entry recorded no metrics_at_action (beside one it is refused: evaluation_of_conflicts_with_before)) for a deterministic improved / regressed / inconclusive verdict per action, read off one primary metric. For an action whose observation is still open (no later evaluation_of record), then append the evaluation record via mureo_state_action_log_append: evaluation_of = the same index, evaluation = the evaluation object the tool returned, exactly as returned, and action = "Outcome evaluated" (a neutral label — the table carries the verdict, so do not restate it in action; do not pass summary — mureo builds it from the table). For actions still inside their window, mark them still observing — do not score them (respect ../_mureo-learning/SKILL.md).Root-cause analysis: Classify the cause into one (or a ranked combination) of four buckets, with the evidence for each:
/tracking-health).What-worked / what-didn't table — grade the response, not just the incident:
| Response action | Intent | Verdict | Evidence |
|---|---|---|---|
| Cut prospecting budget 40% | Stop the bleed | Worked | Spend/day −38%, CPA back under target in 5d |
| Paused top ad set | Reduce waste | Backfired | Removed the only converting audience; CV fell |
| Added negatives | Cut junk queries | Inconclusive | Still observing (due in 6d) |
Output a structured postmortem document with these sections: Summary (one paragraph), Impact (spend wasted / conversions lost / days affected), Timeline (step 2), Root cause (step 3, with the 5-whys), What worked / what didn't (step 4), Insights (step 6), Preventive guardrails (step 7). On Code, offer to Write it to ./postmortems/YYYY-MM-DD-<slug>.md (create the postmortems/ directory if absent). On Desktop / Cowork, present it inline (no local filesystem). Keep it blameless and factual.
Distill 1–3 generalized insights and run /learn for each: Convert the root cause and the response grading into reusable, account-agnostic lessons (e.g. "A CVR collapse with stable CTR points site-side — check the LP/tracking before touching bids"). Present each for explicit approval, then save it through the /learn flow — mureo learn add per that skill's conventions (do not duplicate its steps here). One approval per insight; never record account IDs, credentials, or personal data.
Propose preventive guardrails where the root cause suggests one: if the incident was a runaway budget, propose a ## Guardrails max_total_daily_budget / max_daily_budget_increase_pct; if it was a measurement break, propose a recurring /tracking-health cadence; if detection lag was the problem, propose a tighter /daily-check rhythm. Editing STRATEGY.md ## Guardrails is a write — apply the approval gate: show the exact before/after of the ## Guardrails section and get explicit confirmation before saving (Write / Edit on Code, mureo_strategy_set on Desktop / Cowork). If the operator declines, leave STRATEGY.md untouched.
Log the postmortem itself to action_log via mureo_state_action_log_append: command="/incident-postmortem", a summary naming the incident and its root-cause classification, and a metrics_at_action snapshot of the post-incident state. This is a context-layer record (STATE.json), not an ad-platform mutation — it has no observation_due because the postmortem itself is not an experiment to observe. It leaves a durable marker that this incident was reviewed, so it is not re-litigated later.
No mureo_state_report_set call: a postmortem is a one-off narrative document, not a recurring dashboard report — it is delivered as the document in step 5 and the action_log marker in step 8, not persisted to the reports section.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub logly/mureo --plugin mureo30 skills in this plugin
/ad-fatigue-checkDetect creative fatigue across active ads — rising frequency, declining CTR week-over-week, and CPM drift — score each ad FATIGUED / WATCH / FRESH, and hand the evidence to a creative refresh. Use when the user asks whether creatives are worn out, why CTR is falling, if frequency is too high, when to rotate or refresh ads, or requests クリエイティブ疲弊チェック / 広告の疲弊を確認 / フリークエンシーが高い / CTRが落ちてきた / そろそろ差し替え時か. Reads active ads per platform, applies documented fatigue thresholds with noise guards, and routes fatigued ads to /creative-generate or /creative-refresh./audience-reviewAudit who your ads actually target and where they run, compare it against the STRATEGY.md Persona, and surface exclusions, bid adjustments, lookalikes, and placement pruning tied to that Persona. Use when the user asks to review targeting, audiences, demographics, placements, or device performance, to check whether spend matches the Persona, to find wasted placements (e.g. Audience Network with no conversions), or requests オーディエンスレビュー / 配置レビュー / ターゲティング見直し / ペルソナと配信のズレを確認 / 除外設定を提案して. Reads Persona + Target Audience from STRATEGY.md and drives the read-only targeting tools./budget-pacingMonth-to-date spend vs the monthly budget target, projected month-end landing, and pace alerts across all configured platforms. Use when the user asks about pacing, burn rate, whether they will overspend or underspend this month, monthly-budget tracking, landing/forecast, 'are we on budget', or requests 予算ペーシング / 着地予測 / 予算消化ペース. DISTINCT from /budget-rebalance (which reallocates budget between campaigns) — this manages total-spend trajectory toward a monthly target. Reads STRATEGY.md Guardrails / a Monthly Budget section and STATE.json.Other plugins' skills for the same job