← Back to skills
Data & Analytics · Made here

Forecast Builder

forecast-builder · time series → forecast · chart

Builds a time-series forecast with code — baseline, seasonality, a tested model and prediction intervals — and explains how far to trust it.

Download SKILL.mdAdd to a recipe
Watch the demo0:55
Borrow a skill and use it0:55
In Claude (connector)install_skill("forecast-builder")
CLIlendskill install forecast-builder

SKILL.md

---
name: forecast-builder
description: Build a time-series forecast from historical data (sales, traffic, signups, demand) with code: clean the series, compare simple baselines to a model, back-test it and give prediction intervals. Use when the user wants to forecast or project a metric forward.
license: Proprietary — Lendskill original
---

# Forecast Builder

## Steps
1. **Prepare**: parse dates, set a regular frequency, fill or flag gaps, note one-off events (outages, promotions, holidays).
2. **Look**: plot the series; describe trend, seasonality (weekly, yearly) and changes in level.
3. **Baselines first**: naive (last value), seasonal naive (same period last cycle), moving average.
4. **Model**: pick by data size — exponential smoothing (ETS), ARIMA/SARIMA, Prophet-style additive models, or gradient boosting with lag features for many series.
5. **Back-test**: hold out the last period(s), or use rolling-origin evaluation; compare MAE and MAPE (or sMAPE when values are near zero) against the baselines. Keep the model only if it beats them.
6. **Forecast** the requested horizon with 80% and 95% prediction intervals.
7. **Explain**: drivers, assumptions, and what would make the forecast wrong.

## Output format
Chart of history + forecast + intervals · accuracy table (model vs baselines) · forecast table · assumptions and risks · the code. Never present a single number without its range.

Supporting files (0)

  • None — SKILL.md only