resil-clone-mutate
Domain: resil · Model class: cheap
Description
Section titled “Description”Use when workflow quality degrades over time or a specific node produces worse outputs than it used to, and the user wants automatic recovery without manual prompt tweaking. Triggers: “self-healing prompt”, “auto-fix broken agent”, “evolve the prompt when it fails”, “immune system for workflows”, “clonal selection”, “mutate and compete”, “adaptive prompt improvement”, workflow “used to work but now it doesn’t” and user wants automated recovery.
Purpose
Section titled “Purpose”Monitor per-node rolling quality. When consecutive_failures runs fall below quality_threshold, clone N times with mutation strategies, run tournament, promote winner if beats original by promote_threshold.
Trigger Phrases
Section titled “Trigger Phrases”- “self-healing prompt”
- “auto-fix broken agent”
- “evolve the prompt when it fails”
- “immune system for workflows”
- “clonal selection”
- “mutate and compete”
- “adaptive prompt improvement”
- “used to work but now it doesn’t”
Anti-Triggers
Section titled “Anti-Triggers”- the user wants a one-off improvement without ongoing adaptation or structural change
Intake Questions
Section titled “Intake Questions”- Which node is degrading and how is quality measured?
- What consecutive failure threshold should trigger mutation?
- Which mutation types are allowed in production?
- How should mutated winners be promoted and audited?
Output Contract
Section titled “Output Contract”- failure mode analysis
- recovery strategy
- operational checks
- validation notes
Related Skills
Section titled “Related Skills”flow-orchestrator · orch-agent-orchestrator · prompt-chaining