src/dynamic_os/skills/builtins/reflect_on_failure/SKILL.md
Analyze a failed skill execution to determine root cause and suggest fixes. The planner populates `ctx.goal` with failure context (failed skill ID, error message, observation details). This skill reads the failed skill's source code and uses LLM analysis to produce a `ReflectionReport` artifact containing root cause analysis and suggested fixes.
npx skillsauth add szaaaaaa/researchagent src/dynamic_os/skills/builtins/reflect_on_failureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze a failed skill execution to determine root cause and suggest fixes.
The planner populates ctx.goal with failure context (failed skill ID, error message, observation details).
This skill reads the failed skill's source code and uses LLM analysis to produce a ReflectionReport
artifact containing root cause analysis and suggested fixes.
tools
Clarify the user's intent into one of three tiers: a confidently inferred goal, a default-filled goal with explicit assumptions, or a structured reask with option-style questions. The skill uses `ctx.tools.llm_chat()` with a structured JSON schema and emits either `ClarifiedIntent` or `ClarificationRequest`. When previous-round `ClarificationResponse` artifacts are present in `ctx.input_artifacts`, they are folded into the prompt so the LLM can incorporate prior answers.
data-ai
# extract_keywords_v0 (broken baseline) Demo asset for the `reflect_on_failure → optimize_skill` chain. See `run.py` for the deliberate bug.
testing
Use this skill to search papers.
testing
This fixture skill attempts a network call and should be blocked by its own permissions.