/pigment:forecasting-in-pigmentfrom Pigment
Guides choosing between growth-rate hypotheses and statistical forecasting functions in Pigment. Covers function selection based on seasonality and trend patterns.
Ships in Pigment. 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.
Mandatory prerequisite: every forecast model MUST have a Version dimension with Actual and Forecast items. Load skill:building-versions-and-planning-cycles before creating any metrics.
For the correct time-offset formula pattern ([SELECT: Month-12] vs PREVIOUS), load skill:choosing-formula-patterns.
Two forecasting approaches with different setup effort, accuracy, and use cases.
| Approach | When to use | Setup effort | Accuracy |
|---|---|---|---|
| Growth-rate hypotheses | Simple budgets, top-down targets, early-stage planning with limited history | Low | Low to medium (depends on assumption quality) |
| Statistical formula functions | Formula-driven forecasts with full modeler control over method and parameters | Medium | Medium to high (depends on data quality and function choice) |
Apply a growth rate to historical actuals or a base period.
'Forecast Revenue' =
IF(
'Is_Plan',
'Last Actual Revenue' * (1 + 'Growth Rate Input'),
'Actual Revenue'
)
When to prefer:
Limitations: does not capture seasonality, trends, or non-linear patterns.
Built-in forecasting functions in metric formulas; modeler controls every parameter.
Function selection decision tree:
SIMPLE_EXPONENTIAL_SMOOTHING (level only; Alpha 0-1)FORECAST_LINEAR (Value, Dimension) or DOUBLE_EXPONENTIAL_SMOOTHING (Value, Dimension, Alpha, Beta)FORECAST_ETS (Value, Seasonality [, Dimension]), additive Holt-WintersSEASONAL_LINEAR_REGRESSION (Value, Seasonality [, Dimension]), linear trend × seasonal factorFunction selection guide:
| Function | Pattern detected | Best for | Key parameters |
|---|---|---|---|
FORECAST_LINEAR | Linear trend only | Steady growth/decline without seasonality | Value, Dimension |
SIMPLE_EXPONENTIAL_SMOOTHING | Level (no trend) | Stable series, noise reduction | Value, Dimension, Alpha (0-1) |
DOUBLE_EXPONENTIAL_SMOOTHING | Level + linear trend | Trending series without seasonality | Value, Dimension, Alpha, Beta |
SEASONAL_LINEAR_REGRESSION | Linear trend × seasonality (multiplicative) | Monthly/quarterly data whose seasonal swings grow with the level | Value, Seasonality [, Dimension] |
FORECAST_ETS | Level + trend + seasonality | Complex seasonal data (additive Holt-Winters) | Value, Seasonality [, Dimension] [, Alpha, Beta, Gamma] |
Parameter guidance:
FORECAST_ETS and SEASONAL_LINEAR_REGRESSION, before the optional Dimension): must match data's natural cycle. 12 for monthly/yearly, 4 for quarterly, 52 for weekly.For detailed function syntax and examples, see skill:using-formula-functions (forecasting functions section).
Example — monthly sales with yearly seasonality:
'Forecast Sales' =
IF(
'Is_Plan',
FORECAST_ETS('Actual Sales', 12, Month),
'Actual Sales'
)
When to prefer: modeler wants full control, transparent formula, moderate data volume with well-understood patterns.
Statistical forecast + manual overrides:
'Final Forecast' =
IFBLANK(
'Manual Override',
FORECAST_ETS('Actuals', 12, Month)
)
IF('Is_Plan', ...) to guard forecast formulasWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pigment, forecasting, statistical-functions, growth-rate, planning
39 skills in this plugin
/aggregating-view-dataExecution skill. Use when a View needs totals or subtotals, when a value must roll up with something other than Sum (average, min, max, count, last), when a snapshot metric adds up across time instead of holding, or when a ratio, percentage, margin, growth or variance metric is added to a Table View or shows a wrong total (e.g. a row for margin as a percent of revenue). Covers metric default aggregators, pivot versus hidden-dimension aggregation, the aggregator reference per value type, and Advanced Aggregators on Table Views./architecting-multi-application-solutionsPlanning skill. Use when deciding how to split work across Pigment applications, designing Hub-and-spoke data flows, or planning Test & Deploy across environments./npx claudepluginhub gopigment/ai-plugins --plugin pigmentOther plugins' skills for the same job