account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
\"Build ARIMA models for time series forecasting with trend and seasonality decomposition. Use this skill when the user needs to forecast future values from historical sequential data, test for stationarity, or select ARIMA parameters — even if they say 'time series forecast',
Claude Code
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-forecast-arima --agent claude-code
Codex
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-arima -a codex -y
Cursor
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-arima -a cursor -y
Gemini CLI
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-arima -a gemini-cli -y
GitHub Copilot
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-arima -a github-copilot -y
OpenCode
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-arima -a opencode -y
Windsurf
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-forecast-arima -a windsurf -y
name: "\"algo-forecast-arima\"" description: "\"Build ARIMA models for time series forecasting with trend and seasonality decomposition. Use this skill when the user needs to forecast future values from historical sequential data, test for stationarity, or select ARIMA parameters — even if they say 'time series forecast', 'predict next month sales', or 'ARIMA model'.\"." allowed-tools: Read, Glob, Grep
ARIMA(p,d,q) combines autoregression (AR), differencing (I), and moving average (MA) for time series forecasting. Seasonal variant: SARIMA(p,d,q)(P,D,Q,s). Requires stationary data (achieved through differencing). Best for univariate series with clear trend/seasonality patterns.
**Trigger conditions:**
**When NOT to use:**
IRON LAW: ARIMA Requires STATIONARY Data Non-stationary data (trend, changing variance) violates ARIMA assumptions. Test stationarity with ADF test (p < 0.05 = stationary). If non-stationary: difference the series (d=1 usually suffices). If still non-stationary after d=2, ARIMA may not be appropriate.
Check: regular time intervals, no missing values (impute if needed), minimum 50 observations (ideally 2+ full seasonal cycles). Test stationarity with ADF test. **Gate:** Data is regular, sufficient length, stationarity assessed.
1. **Stationarity**: ADF test. If p > 0.05, difference (d=1). Retest. 2. **Parameter selection**: Examine ACF/PACF plots. Or use auto_arima (AIC-based grid search).
3. **Fit model**: Maximum likelihood estimation 4. **Forecast**: Generate predictions with confidence intervals
Check residuals: should be white noise (no autocorrelation). Ljung-Box test (p > 0.05 = no autocorrelation). Residuals normally distributed. **Gate:** Residuals pass Ljung-Box test, no remaining patterns.
Return forecasts with confidence intervals.
{
"forecasts": [{"period": "2025-04", "forecast": 1250, "lower_95": 1100, "upper_95": 1400}],
"model": {"order": [1,1,1], "seasonal_order": [1,1,1,12], "aic": 520.3},
"metadata": {"training_periods": 60, "forecast_horizon": 12}
}**Input:** 12 monthly observations with upward trend: [10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32]
**Step 1:** First difference = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] (constant → stationary, d=1 sufficient)
**Step 2:** ARIMA(0,1,0) random walk with drift μ=2 is the simplest fitting model.
**Expected forecast (ARIMA(0,1,0) with drift=2):**
Verify: differenced series is constant (2) → no AR/MA terms needed. Residuals are exactly 0 → perfect fit (toy example). On real data, residuals should pass Ljung-Box (p > 0.05).
| Input | Expected | Why | |-------|----------|-----| | No trend, no seasonality | ARIMA(p,0,q) | No differencing needed | | Strong trend only | ARIMA(p,1,q) | Single difference removes linear trend | | Multiple seasonalities | ARIMA may struggle | Consider Prophet or TBATS instead |
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.