Start a fresh conversation. Replace the highlighted placeholders.
Use strategy-pivot-designer to assess [iteration-history JSON] and [source strategy YAML] for stagnation, then provide ranked structural pivot proposals; if metrics require review, report that instead of generating pivots.
Required inputs
[iteration-history JSON]
[source strategy YAML]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: strategy-pivot-designerdescription: Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
Strategy Pivot Designer
Overview
Detect when a strategy's backtest iteration loop has stalled and propose structurally different strategy architectures. This skill acts as the feedback loop for the Edge pipeline (hint-extractor -> concept-synthesizer -> strategy-designer -> candidate-agent), breaking out of local optima by redesigning the strategy's skeleton rather than tweaking parameters.
When to Use
Backtest scores have plateaued despite multiple refinement iterations.
A strategy shows signs of overfitting (high in-sample, low robustness).
Transaction costs defeat the strategy's thin edge.
Tail risk or drawdown exceeds acceptable thresholds.
You want to explore fundamentally different strategy architectures for the same market hypothesis.
Prerequisites
Python 3.9+
PyYAML
Iteration history JSON (accumulated backtest-expert evaluations)
Accumulate backtest evaluation results into an iteration history file using --append-eval.
Run stagnation detection on the history to identify triggers (plateau, overfitting, cost defeat, insufficient profit factor, tail risk). A no-loss profit factor is not cost defeat; an undefined or overflowed ratio requires review.
If the diagnosis says review_required, repair or re-evaluate the underlying metrics first; do not generate pivots. If stagnation is confirmed, generate pivot proposals using three techniques: assumption inversion, archetype switch, objective reframe.
Review ranked proposals (scored by quality potential + novelty).
For exportable proposals, ticket YAML is ready for edge-candidate-agent pipeline.
For research_only proposals, manual strategy design needed before pipeline integration.
Feed the selected pivot draft back into backtest-expert for the next iteration cycle.
Quick Commands
Append a backtest evaluation to history (creates history if new):
python3 skills/strategy-pivot-designer/scripts/detect_stagnation.py \
--append-eval reports/backtest_eval_2026-02-10_120000.json \
--history reports/iteration_history.json \
--strategy-id draft_edge_concept_breakout_behavior_riskon_core \
--changes "Widened stop_loss from 5% to 7%"