com um clique
run-phase
Execute a single phase of the analysis pipeline by phase identifier
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Execute a single phase of the analysis pipeline by phase identifier
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Run the review cycle for a completed phase artifact with plot validation
Human gate for reviewing and approving full verification after Phase 5
Display current analysis pipeline status
Initialize and run the full automated analysis pipeline from analysis question to final documentation
| name | run-phase |
| description | Execute a single phase of the analysis pipeline by phase identifier |
| user-invocable | true |
Run a single phase of the analysis pipeline.
Arguments: $ARGUMENTS
The argument is a phase identifier: 1, 2, 3, 4a, 4b, 4c, or 5.
STATE.md in the current directory or immediate subdirectories, including under analyses/).STATE.md to confirm the analysis is at the correct phase. If the requested phase does not match the current phase in STATE.md, report the mismatch and stop unless the user explicitly confirms they want to run this phase out of order.analysis_config.yaml for configuration (model tier, channels, cost controls, pixi settings).Read src/methodology/03-phases.md and locate the section for the requested phase. Also read:
orchestration/agents.md -- agent definitionsorchestration/sessions.md -- session naming and isolationCLAUDE.md -- orchestration modelRead the conventions/ symlink in the analysis directory to identify applicable coding, plotting, and naming conventions. All spawned agents must follow these conventions.
Each phase depends on artifacts from prior phases. Locate the latest version of each required artifact by finding the most recent file matching the artifact pattern (sorted by timestamp in the filename).
| Phase | Required upstream artifacts |
|---|---|
| 1 | prompt.md only |
| 2 | prompt.md, phase1_strategy/exec/STRATEGY*.md (latest) |
| 3 | prompt.md, STRATEGY*.md, phase2_exploration/exec/EXPLORATION*.md |
| 4a | prompt.md, STRATEGY*.md, SELECTION*.md (per channel or combined) |
| 4b | prompt.md, STRATEGY*.md, SELECTION*.md, phase4_inference/4a_expected/exec/INFERENCE_EXPECTED*.md |
| 4c | All of 4b's inputs plus phase4_inference/4b_partial/exec/INFERENCE_PARTIAL*.md, and confirmed approved_for_verification: true in config |
| 5 | All prior phase artifacts |
Update STATE.md: status: executing, current phase: {phase}, timestamp.
All agents use pixi run for script execution and must read applicable conventions/ files.
Spawn lead-analyst via SendMessage:
prompt.md, methodology (Phase 1 section), analysis_config.yamlconventions/ files for naming and coding standardsphase1_strategy/exec/STRATEGY.md, updates to experiment_log.mdpixi run for executionSpawn three agents in parallel via SendMessage:
data-explorer: sample inventory, data quality checks, baseline yieldsdomain-specialist: variable definitions, data validationdomain-scout: expected relationships, domain predictions, prior resultsAll read: prompt.md, latest STRATEGY.md, methodology (Phase 2 section)
All read: applicable conventions/ files
All write to: phase2_exploration/
All use pixi run for script execution
After all complete, spawn lead-analyst to consolidate into exec/EXPLORATION.md.
Check analysis_config.yaml for channels. For each channel (or the single analysis):
signal-lead and background-estimator in parallelprompt.md, STRATEGY.md, EXPLORATION.md, methodology (Phase 3 section)conventions/ filesexec/SELECTION.md (or per-channel SELECTION_{CHANNEL}.md)pixi run for executionIf multi-channel, after all channels complete, spawn lead-analyst to produce SELECTION_COMBINED.md.
systematic-source-evaluator agents in parallel (one per source)
conventions/ filespixi run for executionsystematics-fitter:
exec/INFERENCE_EXPECTED.mdsystematics-fitter:
exec/INFERENCE_PARTIAL.mdpixi run for executionnote-writer:
exec/ANALYSIS_NOTE_DRAFT.md and exec/VERIFICATION_CHECKLIST.mdconventions/ files for document formattinganalysis_config.yaml has approved_for_verification: true. If not, STOP and instruct the user to run /approve-verification first.systematics-fitter:
exec/INFERENCE_OBSERVED.mdpixi run for executioncross-checker:
Spawn note-writer:
ANALYSIS_NOTE_DRAFT.md and INFERENCE_OBSERVED.mdconventions/ files for document and figure formattingexec/ANALYSIS_NOTE.mdAfter execution completes, update STATE.md: status: reviewing.
Invoke the review by running /review-phase with the current phase number, OR run the review inline:
| Phase | Review tier |
|---|---|
| 1 | 4-bot (physics + critical + constructive in parallel, then arbiter) with plot-validator |
| 2 | Self-review (no separate review -- already done by executor) |
| 3 | 1-bot per channel (critical reviewer) with plot-validator |
| 4a | 4-bot with plot-validator |
| 4b | 4-bot, then PAUSE for human gate, with plot-validator |
| 4c | 1-bot with plot-validator |
| 5 | 5-bot (physics + critical + constructive + rendering in parallel, then arbiter) with plot-validator |
On review PASS:
status: passed for this phase, add row to Phase History tablestatus: human_gate and PAUSEOn review ITERATE:
On review ESCALATE:
status: blockedCheck for regression triggers in review output. If found, handle per the regression protocol in CLAUDE.md.