Skills elpa
Orchestrate real ELPA-style ensemble forecasting workflows by triggering external sub-model training jobs (for example PyTorch/Prophet/TiDE/transformers), then computing ELPA online/offline weights from validation errors. Use when you need production-oriented ensemble training instead of lightweight simulation adapters.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/anonymouscodemaker/elpa" ~/.claude/skills/openclaw-skills-elpa && rm -rf "$T"
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/anonymouscodemaker/elpa" ~/.openclaw/skills/openclaw-skills-elpa && rm -rf "$T"
skills/anonymouscodemaker/elpa/SKILL.mdELPA
Overview
This skill does not train toy adapters. It triggers real sub-model training commands from your own training codebases and then builds ELPA routing/weights from real validation errors.
Default model pool is intentionally larger than 4 and can be expanded freely.
Workflow
- Prepare a training config JSON (see
).assets/elpa_train_template.json - Dry-run the command plan to verify all sub-model commands.
- Execute real sub-model training when resources are available.
- Prepare validation error inputs per model.
- Build ELPA ensemble policy JSON from those errors.
1) Prepare Config
Create a config based on
assets/elpa_train_template.json.
- Put your real training entrypoints in each model
.train_cmd - Keep each model tagged as
oronline
.offline - Add as many models as needed; ELPA is not limited to 4.
2) Dry-Run Plan (No Training)
python3 scripts/elpa_orchestrator.py \ --config assets/elpa_train_template.json \ --run-dir .runtime/elpa_run \ --manifest-out .runtime/elpa_run/train_manifest.json
This prints and records the commands that would run, without training.
3) Execute Real Training
python3 scripts/elpa_orchestrator.py \ --config /path/to/your_train_config.json \ --run-dir .runtime/elpa_run \ --manifest-out .runtime/elpa_run/train_manifest.json \ --execute
Use this only in an environment that has the required ML dependencies and hardware.
4) Build ELPA Integration Policy
After each sub-model produces validation errors, run:
python3 scripts/elpa_integrator.py \ --config /path/to/your_integrate_config.json \ --output .runtime/elpa_run/elpa_policy.json
The output includes:
for each model from validation errorsscores
andonline_weightsoffline_weights
andbest_online_modelbest_offline_model- ELPA control fields (
,beta
,dirty_interval
,amplitude_window
)mutant_epsilon
Model Scaling
To support more models, append model blocks in your config with:
- unique
name
asgroup
oronlineoffline- real
train_cmd
No script changes are needed for adding models.
Files
: real sub-model training command planner/executorscripts/elpa_orchestrator.py
: ELPA score/weight builder from validation errorsscripts/elpa_integrator.py
: >4-model real training templateassets/elpa_train_template.json
: ELPA integration templateassets/elpa_integrate_template.json
: config field reference and placeholdersreferences/config-schema.md