Decision Framework

Route project phases by evaluating backtest, optimization, and validation results.

2|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/derekcrosslu/CLAUDE_CODE_EXPLORE --skill decision-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Decision Framework
Source: https://github.com/derekcrosslu/CLAUDE_CODE_EXPLORE/tree/main/.claude/skills/decision-framework
Command: npx skills add https://github.com/derekcrosslu/CLAUDE_CODE_EXPLORE --skill decision-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill performs autonomous decision-making to evaluate results from backtests, optimizations, and validations, and route the workflow to the next phase with clear, criteria-driven outcomes.

Core Features & Use Cases

  • Phase-based Evaluations: evaluate-backtest, evaluate-optimization, evaluate-validation commands load phase-specific logic.
  • Routing: route the next phase based on decisions with an explicit phase and iteration. Progressive Disclosure: load only necessary logic per phase for speed and reliability.
  • Use Case: After Phase 3 backtest, run decision evaluate-backtest to decide whether to proceed to optimization or escalate.

Quick Start

Run: venv/bin/python SCRIPTS/decision_cli.py evaluate-backtest --results PROJECT_LOGS/backtest_result.json --state iteration_state.json

Frequently Asked Questions about Decision Framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate routing decisions after running backtests and optimizations?

Routing decisions automate phase transitions by evaluating backtest, optimization, and validation results against thresholds. The Decision Framework reads criteria from iteration_state.json and PROJECT_LOGS to output explicit routing decisions and next-phase actions, eliminating manual evaluation.

What thresholds and inputs does the decision framework use to route workflows?

The framework reads phase-specific thresholds from iteration_state.json and evaluation results from PROJECT_LOGS. It applies these criteria to determine whether to proceed to the next phase or escalate, ensuring consistent, criteria-driven routing without manual intervention.

Can I use this for backtest validation and optimization evaluation in the same workflow?

Yes. The framework provides phase-specific commands—evaluate-backtest, evaluate-optimization, and evaluate-validation—that load only necessary logic per phase. This progressive disclosure ensures speed and reliability across different evaluation contexts.

How do I get started with autonomous phase routing from the command line?

Run `venv/bin/python SCRIPTS/decision_cli.py evaluate-backtest --results PROJECT_LOGS/backtest_result.json --state iteration_state.json`. The CLI reads your results and thresholds, then outputs routing decisions and next-phase actions.

What happens if evaluation results don't meet routing thresholds?

When results fall below thresholds, the framework escalates rather than proceeding to the next phase. This explicit escalation outcome surfaces decision criteria clearly, allowing review before manual intervention or workflow adjustment.