TimesFM Forecasting
Zero-shot time series forecasting with Google's TimesFM foundation model — no training required.
Data & AnalyticsIntermediate★ 33,030⑂ 3,248AI score 8/10Last updated: Aug 9, 2026
What it does
This skill wraps Google Research's TimesFM 2.5 (200M-parameter time-series foundation model) for agent-friendly local inference. Feed in any univariate series and get back median point forecasts plus 10 quantile bands (q10–q90) for calibrated prediction intervals — all zero-shot.
- Accepts CSV, pandas DataFrame, or NumPy array inputs
- Context windows up to 16,384 points; efficient batch forecasting of many series
- Covariate support (price, promotions, holiday flags, region) via
forecast_with_covariates() - Lightweight anomaly detection using quantile intervals
- Mandatory
check_system.pypreflight that verifies RAM, VRAM, disk, and Python version before any model download
Who it's for
- Analysts tired of hand-tuning ARIMA/ETS parameters
- Ops and planning teams needing fast demand or revenue forecasts
- Engineers handling sensor, energy, or vitals telemetry at scale
- Researchers who must report forecast uncertainty, not just point estimates
Not the right tool for coefficient-level statistical inference, series classification/clustering, or multivariate causality tests.
Example uses
- 12-month sales forecast: load
monthly_sales.csvand emit a results CSV with forecasts plus 80% intervals for every product column. - Sensor anomaly watch: forecast the next 24 hours from the last 1,000 points and flag actuals outside the 90% interval as "Critical".
- Baseline comparison: compute MAE for TimesFM vs. statsmodels ARIMA on the same holdout window to justify model choice.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/timesfm-forecasting folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/timesfm-forecasting/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git /tmp/sas && mkdir -p ~/.claude/skills && cp -r /tmp/sas/skills/timesfm-forecasting ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Copy the skill into your Claude skills folder:
mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/timesfm-forecasting ~/.claude/skills/ - Confirm Python 3.10 or newer:
python --version - Required — run the preflight check:
python ~/.claude/skills/timesfm-forecasting/scripts/check_system.py(aim for ≥4 GB RAM and ≥2 GB free disk) - Install the library:
uv pip install "timesfm[torch]"(addtimesfm[xreg]if you need covariates) - Install PyTorch for your hardware: CPU-only →
uv pip install torch --index-url https://download.pytorch.org/whl/cpu; NVIDIA GPU → use thecu121index; Apple Silicon → plainuv pip install torch. - Restart Claude Code and ask something like "Forecast the next 12 months of sales from this CSV with TimesFM." The ~800 MB weights download from HuggingFace on first run.
View source on GitHub ↗License: MIT