Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

TimesFM Forecasting

Zero-shot time series forecasting with Google's TimesFM foundation model — no training required.

Data & AnalyticsIntermediate33,0303,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.py preflight 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

  1. 12-month sales forecast: load monthly_sales.csv and emit a results CSV with forecasts plus 80% intervals for every product column.
  2. Sensor anomaly watch: forecast the next 24 hours from the last 1,000 points and flag actuals outside the 90% interval as "Critical".
  3. 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal and clone the repo: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  2. Copy the skill into your Claude skills folder: mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/timesfm-forecasting ~/.claude/skills/
  3. Confirm Python 3.10 or newer: python --version
  4. Required — run the preflight check: python ~/.claude/skills/timesfm-forecasting/scripts/check_system.py (aim for ≥4 GB RAM and ≥2 GB free disk)
  5. Install the library: uv pip install "timesfm[torch]" (add timesfm[xreg] if you need covariates)
  6. Install PyTorch for your hardware: CPU-only → uv pip install torch --index-url https://download.pytorch.org/whl/cpu; NVIDIA GPU → use the cu121 index; Apple Silicon → plain uv pip install torch.
  7. 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.