On Failure Router

Diagnose user-reported failures such as "this failed", "this sucks", "that didn't work", "wrong result", or repeated correction requests, then ask only high-value follow-up questions, inspect the failed trajectory and relevant Skill files, generate multiple evidence-grounded root-cause hypotheses, route the verified failure to the smallest owning layer, patch the owning Skill/reference/script/router when justified, validate the revision, rerun or forward-test the failed scenario, and record the lesson for future runs. Use when a Codex task or Skill produced a bad result and the user wants the system to learn from the failure rather than merely retry the same task.

mikiagent Updated

File contents

mikiagent/codex-skills/tree/main/skills/on-failure-router commit 775af4f48e

Frequently asked questions

npx skillmds@latest add mikiagent/on-failure-router