/forecasting:forecast-arimafrom forecasting
Fits 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).
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 fit ARIMA models with the differencing decided by tests, not by habit.
../../references/lessons.md and docs/forecast-plans/lessons.md if present.../../references/diagnostics/arima.md.explore.md and baselines.md in docs/forecast-plans/*/ if present.../../references/workflow.md.../../templates/arima.py with fpp_data.py and fc_checks.py. Replace
the data section.nsdiffs(y, period=m); then d from
ndiffs(..., test="kpss") on the seasonally differenced series. Why: a seasonal
difference often removes the trend as well, so take it first.AutoARIMA(season_length=m); wider search with
stepwise=False, approximation=False.ARIMA(order=(p, d, q), seasonal_order=(P, D, Q), season_length=m).model.model_["arma"] gives
(p, q, P, Q, m, d, D)). Failing: another order, or a wider search.baselines.md. Why: ARIMA and ETS overlap only partly; the data decide.np.exp); the point is a
median unless bias-adjusted.Apply workflow.md. Quote D and d with their tests, the chosen ARIMA, its
coefficients, the residual check with dof, and cross-validated skill.
Write docs/forecast-plans/<project>/arima.md. Explain the long-run behaviour of
the chosen model (reverts to a mean, follows a drift, or stays flat) and that the
intervals keep widening when d is 1 or more.
Next: /forecasting:forecast-auditor. If drivers matter:
/forecasting:forecast-regression.
| Mistake | Why it is wrong | Instead |
|---|---|---|
| Comparing AICc across d or D | Different data in the likelihood | AICc within one (d, D); CV across |
| Comparing ARIMA with ETS by AICc | Different likelihoods | Cross-validation |
| Over-differencing | Adds MA structure, widens intervals | Test-based d and D, at most 2 in total |
| Differencing to fix variance | Variance growth remains | Log or Box-Cox first |
| d = 2 with a constant | Quadratic trend forecasts | Drop the constant or use damped ETS |
| Trusting the search without a residual check | Stepwise search can stop early | Ljung-Box with dof; wider search |
| Ljung-Box with dof = 0 for ARIMA | Too lenient | dof = p + q + P + Q |
FPP3 chapter 9: 9.1 stationarity and differencing, 9.2 backshift notation, 9.3
autoregressive models, 9.4 moving average models, 9.5 non-seasonal ARIMA, 9.6
estimation and order selection, 9.7 ARIMA modelling in practice, 9.8 forecasting,
9.9 seasonal ARIMA, 9.10 ARIMA versus ETS. R: https://otexts.com/fpp3/arima.html,
stationarity.html, AR.html, MA.html, non-seasonal-arima.html,
arima-estimation.html, arima-r.html, arima-forecasting.html,
seasonal-arima.html, arima-ets.html. Python edition:
https://otexts.com/fpppy/ chapter 9. 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-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./forecast-baselinesFits 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).Other plugins' skills for the same job