account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
\"Combine multiple forecasting models into ensemble predictions for improved accuracy. Use this skill when the user needs to improve forecast reliability, combine ARIMA/Prophet/ETS outputs, or build a robust forecasting pipeline — even if they say 'combine forecasts', 'model
Claude Code
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-forecast-ensemble --agent claude-code
Codex
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-ensemble -a codex -y
Cursor
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-ensemble -a cursor -y
Gemini CLI
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-ensemble -a gemini-cli -y
GitHub Copilot
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-ensemble -a github-copilot -y
OpenCode
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-ensemble -a opencode -y
Windsurf
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-ensemble -a windsurf -y
name: "\"algo-forecast-ensemble\"" description: "\"Combine multiple forecasting models into ensemble predictions for improved accuracy. Use this skill when the user needs to improve forecast reliability, combine ARIMA/Prophet/ETS outputs, or build a robust forecasting pipeline — even if they say 'combine forecasts', 'model averaging', or 'which forecast should I trust'.\"." allowed-tools: Read, Glob, Grep
Ensemble forecasting combines predictions from multiple models to reduce variance and improve accuracy. Simple average of 3-5 diverse models often outperforms the best individual model. Methods: equal-weight average, inverse-error weighting, stacking with a meta-learner. The "forecast combination puzzle" shows simple averaging is hard to beat.
**Trigger conditions:**
**When NOT to use:**
IRON LAW: Simple Average Often Beats Complex Combination The "forecast combination puzzle" (Stock & Watson, 2004): equal-weight averaging of diverse models frequently outperforms sophisticated weighting schemes. This is because weight estimation introduces noise that offsets the theoretical gain. Start with simple average and only move to weighted combination if you have abundant validation data.
Generate forecasts from 3+ diverse models (e.g., ARIMA, ETS, Prophet, ML-based). Ensure models are truly diverse (different assumptions/approaches). **Gate:** 3+ model forecasts available, models use different methodologies.
**Simple average:** ŷ_ensemble = (1/M) × Σ ŷ_m
**Inverse-error weighting:** w_m = (1/MSE_m) / Σ(1/MSE_j), ŷ_ensemble = Σ w_m × ŷ_m
**Stacking:** Train a meta-model (linear regression) that learns optimal weights from cross-validated individual model predictions.
Compare ensemble vs individual models on held-out data. Ensemble should: have lower average error AND lower maximum error (more robust). **Gate:** Ensemble RMSE ≤ best individual model RMSE.
Return ensemble forecast with component model contributions.
{
"ensemble_forecast": [{"period": "2025-04", "forecast": 1200, "lower_95": 1050, "upper_95": 1350}],
"model_forecasts": {"arima": 1180, "prophet": 1220, "ets": 1200},
"weights": {"arima": 0.35, "prophet": 0.30, "ets": 0.35},
"metadata": {"method": "inverse_error_weighted", "ensemble_rmse": 42, "best_individual_rmse": 48}
}**Input:** ARIMA forecast=1180, Prophet=1220, ETS=1200 for next month sales **Expected:** Simple average = 1200. If ARIMA historically best (lowest MSE), weighted average shifts toward 1180.
| Input | Expected | Why | |-------|----------|-----| | All models agree | Ensemble = individual | Consensus, high confidence | | Models wildly disagree | Ensemble = compromise, wide CI | High uncertainty, flag for review | | One model is outlier | Average dampens outlier | Ensemble robustness benefit |
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.