/forecasting:forecast-baselinesfrom forecasting
Fits the four benchmark forecasts (mean, naive, seasonal naive, drift), checks residuals, handles transformations and bias adjustment, and designs forecast evaluation with train/test splits, time series cross-validation and accuracy measures (MAE, RMSE, MASE, RMSSE, CRPS, Winkler, coverage). Use when the user says "baseline forecast", "naive forecast", "seasonal naive", "time series cross-validation", "backtest", "forecast accuracy" or "which accuracy metric". Also use it for questions about how to evaluate, test or compare forecasts. Not for reviewing a finished forecast (use forecast-auditor).
Ships in forecasting. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You set the bar and the scoring rules. Every other method skill is judged against what you produce here.
../../references/lessons.md and docs/forecast-plans/lessons.md if present.../../references/diagnostics/baselines.md and ../../references/evaluation.md.explore.md in docs/forecast-plans/*/ if they exist.../../references/workflow.md.../../templates/baselines.py, fpp_data.py and fc_checks.py into
analysis/. Replace section 1 with the user's data. Keep the rest as it is.evaluation.md).
Why: choosing the measure after seeing results lets the choice favour a model.residual_check, dof = 0).
Why: it shows which structure is left for a real model to capture.explore.md chose one, fit on the transformed scale and
decide whether the user needs medians or means. Bias-adjust when forecasts are
summed. Why: back-transformed points are medians, and medians do not add.Emit verdicts from diagnostics/baselines.md when a check fails.
Run the template. Keep:
sf.cross_validation(...), scored with
score_cv(cv, train_df, m, levels, crps_levels) per forecast horizon and pooled.skill(scores, "mase", "SeasonalNaive")).Why per forecast horizon: a model can win at h = 1 and lose at h = 12; the decision may need only one of them.
audit_checks.check_cv_design and check_horizon.input_size=) if old data may describe
a different process; report both.check_calibration).Apply workflow.md. Quote the benchmark scores per forecast horizon and the
design (h, origins, step, measures) from actual output.
Write docs/forecast-plans/<project>/baselines.md: the design, the benchmark
table, which benchmark is the bar and why, residual findings, transformation and
mean/median decision.
Hand off to the method skill in the plan. Tell it: "the bar is with = per forecast horizon; use the same origins".
| Mistake | Why it is wrong | Instead |
|---|---|---|
| Accuracy from fitted values | One-step, in-sample, rewards every parameter | Test set or cross-validation |
| One short test set | Accuracy rests on a few points | Cross-validation over many forecast origins |
| MAE or RMSE averaged across series | Large series dominate | MASE or RMSSE |
| MAPE on data with zeros | Undefined, and it favours under-forecasts | MASE; MAPE only as a secondary figure on positive data |
| Averaging per-origin RMSE | With one error per origin it equals MAE | Average squared errors, then root (score_cv) |
| Lambda or scaling fitted on all data | Leaks the test period into training | Fit them inside each training window |
| Choosing the measure after the results | Biases the comparison | Fix it in Stage 1 |
| Summing back-transformed medians | The sum is biased low | Bias-adjust to means first |
FPP3 chapter 5: 5.2 simple methods, 5.3 fitted values and residuals, 5.4 residual
diagnostics, 5.5 distributional forecasts and prediction intervals, 5.6
forecasting using transformations, 5.7 forecasting with decomposition, 5.8
evaluating point accuracy, 5.9 distributional accuracy, 5.10 time series
cross-validation. R: https://otexts.com/fpp3/toolbox.html, simple-methods.html,
residuals.html, prediction-intervals.html, ftransformations.html,
accuracy.html, distaccuracy.html, tscv.html. Python edition:
https://otexts.com/fpppy/ chapter 5. URLs checked 2026-10-22.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub robinicole/skills --plugin forecasting13 skills in this plugin
/forecast-advancedApplies the book's advanced methods when standard models miss a feature, namely multiple seasonal periods with MSTL or Fourier terms, Prophet, vector autoregression, neural network autoregression and bagged ETS, always compared with ETS or ARIMA. Use when the user says "Prophet", "VAR model", "multiple seasonality", "half-hourly", "hourly data", "neural network forecast", "NNAR" or "bagging". Also use it for questions about data with two or more seasonal cycles, or about nonlinear models. Not for a first model on an ordinary monthly or quarterly series./forecast-arimaFits ARIMA and seasonal ARIMA models, deciding stationarity and differencing with KPSS and seasonal strength tests, reading ACF and PACF, running the automatic order search, checking residuals, and comparing ARIMA with ETS by cross-validation. Use when the user says "ARIMA model", "seasonal ARIMA", "SARIMA", "auto ARIMA", "stationarity", "unit root test", "differencing" or "PACF". Also use it for questions about differencing and reading ACF or PACF plots. Not for regression with ARIMA errors (use forecast-regression)./forecast-auditorStress-tests a finished forecast in five categories (problem fit, data, model, evaluation, uncertainty), rates each finding fatal, serious or minor, and hands fixes to the right skill without making them. Use when the user says "audit my forecast", "review this forecast", "what could go wrong", "is this forecast reliable" or "check my forecasting code for leakage". Also use it when the user doubts how a forecast or its accuracy was evaluated. Not for building or fixing a forecast.Other plugins' skills for the same job