time-series-forecaster
Time series forecasting skill for business metric prediction and demand planning
Best use case
time-series-forecaster is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Time series forecasting skill for business metric prediction and demand planning
Teams using time-series-forecaster should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/time-series-forecaster/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How time-series-forecaster Compares
| Feature / Agent | time-series-forecaster | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Time series forecasting skill for business metric prediction and demand planning
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Time Series Forecaster
## Overview
The Time Series Forecaster skill provides comprehensive capabilities for predicting business metrics over time using classical statistical methods, machine learning, and deep learning approaches. It supports automated model selection, ensemble forecasting, and uncertainty quantification for robust business planning.
## Capabilities
- Classical methods (ARIMA, ETS, Theta)
- Machine learning methods (XGBoost, LightGBM for time series)
- Deep learning methods (Prophet, N-BEATS, Temporal Fusion Transformer)
- Ensemble forecasting
- Prediction interval generation
- Forecast accuracy metrics (MAPE, RMSE, MASE)
- Anomaly detection
- Seasonality decomposition
## Used By Processes
- Predictive Analytics Implementation
- KPI Framework Development
- Market Sizing and Opportunity Assessment
## Usage
### Data Input
```python
# Time series data configuration
time_series_data = {
"target": "monthly_revenue",
"datetime_column": "date",
"frequency": "M", # Monthly
"data": [
{"date": "2023-01-01", "value": 1000000, "marketing_spend": 50000},
{"date": "2023-02-01", "value": 1050000, "marketing_spend": 55000},
# ... more data
],
"exogenous_variables": ["marketing_spend", "economic_index"],
"special_events": [
{"date": "2023-11-24", "event": "black_friday", "impact": "positive"},
{"date": "2023-12-25", "event": "christmas", "impact": "mixed"}
]
}
```
### Model Configuration
```python
# Forecasting configuration
forecast_config = {
"horizon": 12, # 12 months ahead
"models": {
"auto_select": True,
"candidates": ["arima", "ets", "prophet", "lightgbm"],
"ensemble": {
"method": "weighted_average",
"weights": "based_on_cv_performance"
}
},
"validation": {
"method": "time_series_cv",
"n_splits": 5,
"test_size": 3
},
"prediction_intervals": [0.50, 0.80, 0.95]
}
```
### Seasonality Analysis
```python
# Seasonality decomposition
seasonality_config = {
"method": "stl", # or "classical", "x13"
"seasonal_periods": [12], # yearly for monthly data
"robust": True,
"output_components": ["trend", "seasonal", "residual"]
}
```
## Model Selection Guide
| Model | Best For | Handles |
|-------|----------|---------|
| ARIMA | Stationary data with autocorrelation | Trend, AR/MA patterns |
| ETS | Exponential patterns | Trend, Seasonality, Error |
| Prophet | Business time series | Trend, Multiple seasonality, Holidays |
| Theta | Simple forecasting | Trend extrapolation |
| N-BEATS | Complex patterns | Non-linear trends, Interpretable |
| TFT | Multi-horizon, multivariate | Exogenous vars, Attention |
| XGBoost | Feature-rich forecasting | Exogenous variables |
## Accuracy Metrics
| Metric | Formula | Use Case |
|--------|---------|----------|
| MAPE | Mean Absolute Percentage Error | Scale-independent comparison |
| RMSE | Root Mean Square Error | Penalizes large errors |
| MASE | Mean Absolute Scaled Error | Compares to naive forecast |
| SMAPE | Symmetric MAPE | Handles near-zero values |
| Coverage | % in prediction interval | Calibration check |
## Input Schema
```json
{
"time_series": {
"target": "string",
"datetime_column": "string",
"frequency": "string",
"data": ["object"],
"exogenous_variables": ["string"]
},
"forecast_config": {
"horizon": "number",
"models": "object",
"validation": "object",
"prediction_intervals": ["number"]
},
"analysis_options": {
"decomposition": "boolean",
"anomaly_detection": "boolean",
"feature_importance": "boolean"
}
}
```
## Output Schema
```json
{
"forecasts": {
"point_forecast": ["number"],
"prediction_intervals": {
"lower_80": ["number"],
"upper_80": ["number"],
"lower_95": ["number"],
"upper_95": ["number"]
},
"dates": ["string"]
},
"model_performance": {
"selected_model": "string",
"cv_metrics": {
"MAPE": "number",
"RMSE": "number",
"MASE": "number"
},
"all_models": "object"
},
"decomposition": {
"trend": ["number"],
"seasonal": ["number"],
"residual": ["number"]
},
"anomalies": [
{
"date": "string",
"value": "number",
"expected": "number",
"severity": "string"
}
],
"feature_importance": "object (if applicable)"
}
```
## Best Practices
1. Use at least 2-3 full seasonal cycles of historical data
2. Check for and handle missing values appropriately
3. Consider external factors (holidays, promotions, economic indicators)
4. Validate with time series cross-validation (not random split)
5. Report prediction intervals, not just point forecasts
6. Monitor forecast accuracy over time and retrain as needed
7. Be cautious with long-horizon forecasts (uncertainty compounds)
## Integration Points
- Feeds into KPI Tracker for forward-looking metrics
- Connects with Monte Carlo Engine for scenario analysis
- Supports Predictive Analyst agent
- Integrates with Decision Visualization for forecast chartsRelated Skills
opencl-runtime
Cross-vendor OpenCL runtime management and kernel development. Query platforms/devices, generate portable OpenCL C kernel code, handle vendor-specific extensions, manage contexts and command queues, compile and cache programs.
multimedia-learning-design
Apply Mayer's multimedia learning principles to design effective audio, video, graphics, and animations that reduce cognitive load
time-series-analyzer
Skill for time series analysis and forecasting
time-study-analyzer
Time study analysis skill with stopwatch methods, performance rating, and standard time calculation.
takt-time-calculator
Takt time and cycle time analysis skill for production line balancing and capacity planning.
demand-forecaster
Demand forecasting skill with quantitative and qualitative methods, accuracy measurement, and bias correction
cycle-time-analyzer
Cycle time analysis and reduction skill with process timing, bottleneck identification, and flow improvement
cash-flow-forecaster
Daily, weekly, and monthly cash forecasting skill with scenario analysis and liquidity stress testing
reference-class-forecaster
Reference class forecasting skill to counter optimism bias using historical analogies
startup-time-profiler
Profile and optimize application startup time for desktop applications
process-builder
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
babysitter
Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)