/forecasting:forecast-practicalfrom forecasting
Handles the data problems that break standard forecasting workflows, namely intermittent demand and small counts (Croston family), forecasts that must stay positive or inside bounds, forecast combinations, prediction intervals for totals over several periods, backcasting, very short or very long series, missing values and outliers. Use when the user says "intermittent demand", "Croston", "lots of zeros", "forecast must stay positive", "combine forecasts", "interval for the annual total", "missing values in my series", "outliers in my series" or "backcast". Not for choosing the main model family.
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 fix the data problem first, then hand back to the method skill.
../../references/lessons.md and docs/forecast-plans/lessons.md if present.../../references/diagnostics/practical.md.explore.md in docs/forecast-plans/*/.../../references/workflow.md.Name the problem from the table, then copy ../../templates/practical.py with
fpp_data.py and fc_checks.py and keep the matching section.
| Problem | Fix |
|---|---|
| Small counts, many zeros | Croston family: CrostonClassic, CrostonSBA, TSB |
| Must stay positive | Model the log; back-transform |
| Must stay in [a, b] | Scaled logit: log((y - a)/(b - y)); back-transform |
| Several close models | Equal-weight mean of point forecasts |
| Interval for a total over periods | Simulate sample paths, sum per path, quantiles |
| History before the first observation | Reverse, forecast, reverse back |
| Very short series | Simple models; AICc chooses; no seasonal model under two seasons |
| Very long series | Train on the recent part, or a model whose parameters evolve |
| Missing values | Ask why first; dummies if informative, state-space interpolation if random |
| Outliers | Robust STL remainder beyond 3 IQR; keep with a dummy unless an error |
| Weekly data | Fourier terms with period 365.25/7: forecast-regression |
Run only the sections you need. Croston forecasts are a rate per period. Scaled-logit and log back-transforms give medians. Combinations: average the point forecasts; intervals need pooled simulated paths. Aggregates: never add interval ends. Why: errors at different forecast horizons are correlated, so the sum's spread is not the sum of spreads.
Apply workflow.md. Quote the problem found, the fix, and its effect on
cross-validated accuracy or on the bounds.
Add a "Practical issues" section to the method file in
docs/forecast-plans/<project>/. Say what was changed and why. Hand back to the
method skill, then /forecasting:forecast-auditor.
| Mistake | Why it is wrong | Instead |
|---|---|---|
| MAPE on intermittent data | Undefined at zero | MAE or MASE |
| Reading a Croston forecast as a count | It is an average rate | Say "average per period" |
| Adding interval ends for a total | Ignores correlation across forecast horizons | Simulate paths |
| Averaging interval ends of a combination | No valid distribution | Pool paths, or report points only |
| Interpolating informative gaps | Removes real information | Dummies for the gap and after |
| Deleting outliers | They may recur | Keep with a dummy; replace only errors |
| Refusing short series | No minimum length exists | Simple models, AICc |
| m = 52 for weekly data | Wrong in 53-week years | Fourier terms |
FPP3 chapter 13: 13.1 weekly, daily and sub-daily data, 13.2 time series of
counts, 13.3 ensuring forecasts stay within limits, 13.4 forecast combinations,
13.5 prediction intervals for aggregates, 13.6 backcasting, 13.7 very long and very
short series, 13.8 forecasting on training and test sets, 13.9 missing values and
outliers. R: https://otexts.com/fpp3/practical.html, weekly.html, counts.html,
practical.html#sec-limits, combinations.html, aggregates.html, backcasting.html,
long-short-ts.html, training-test.html, missing-outliers.html. Python
edition: https://otexts.com/fpppy/ chapter 13, which has no sections on aggregate intervals or training and test sets. 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).Other plugins' skills for the same job
/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.