Sign in
Explore
Skills · SkillData & AIMachine learningReviewedRuns shell commandsMakes network callsWrites files

timesfm-forecasting

Performs zero-shot time-series forecasting with Google's TimesFM: CSV preparation, quantile forecasts, covariates and held-out evaluation. Downloads a checkpoint from Hugging Face.

Kind
Skill
Works with
Claude Code, Codex, Cursor, Gemini / Antigravity
Source
Scientific Agent Skills (K-Dense) @ 5f2bc0341354
Path
skills/timesfm-forecasting/SKILL.md
Jobs
Implementation
Topics
Machine learning

Credit

Made by
K-Dense-AI
Original
github.com/K-Dense-AI/scientific-agent-skills/blob/5f2bc03413…
License
MIT

Listed by Skill Manifest; not made by us.

InstallInstall it by hand, following the source.
gh skill install K-Dense-AI/scientific-agent-skills timesfm-forecasting
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/timesfm-forecasting/ (the skill folder)
  • 8 file(s) the skill refers to
  • 20 other files in the folder: examples/anomaly-detection/detect_anomalies.py, examples/covariates-forecasting/demo_covariates.py, examples/global-temperature/README.md, examples/global-temperature/generate_animation_data.py and 16 more
Runs scripts
Yes
  • scripts/check_system.py
  • scripts/forecast_csv.py
  • examples/anomaly-detection/detect_anomalies.py
  • examples/covariates-forecasting/demo_covariates.py
Uses the network
Yes
  • downloads Python packages
  • downloads Python packages (references/examples_and_validation.md)
  • downloads Python packages (scripts/check_system.py)
Needs secrets
None found
Reads environment variables
  • BASH_SOURCE
  • SCRIPT_DIR
  • OUTPUT_DIR
  • HF_HOME
  • XDG_CACHE_HOME
  • HF_HUB_CACHE
Reads outside the project
  • /usr/bin/env (examples/anomaly-detection/detect_anomalies.py)
  • ~/.cache/huggingface/hub (references/system_requirements.md)
  • ~/.cache (scripts/check_system.py)
Calls other skills
  • /title
  • /script
  • /style
  • /head
  • /header
  • /canvas
  • and 6 more
Value without its scripts
Medium
  • The main file runs scripts/check_system.py, scripts/forecast_csv.py for one step; the rest works without it.
  • examples/anomaly-detection/detect_anomalies.py: Illustrative retrospective Z-score and forecast-band exceedance screens.
  • examples/covariates-forecasting/demo_covariates.py: Synthetic retail covariate generator and TimesFM 2.5 XReg recipe.
  • examples/global-temperature/generate_animation_data.py: Generate successive-origin forecasts using only each origin's history.
  • examples/global-temperature/generate_gif.py: Generate animated GIF showing forecast evolution.
Source revision
5f2bc0341354
Licence
MIT
Last activity
23 Nov 2026
Source changed after the scan
Yes
  • Last push 23 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# TimesFM Forecasting

## Choose the model/API first

The **Python package version is 3.0.2**; checkpoint versions are separate.

| Checkpoint | Interface | Quantile output | Usage terms |
| --- | --- | --- | --- |
| 2.5, 200M | `timesfm.TimesFM_2p5_200M_torch`, `compile`, `forecast` | mean + 9 deciles, median index 5 | Apache-2.0 weights; bundled CLI default |
| 3.0, about 330M | `timesfm3.TimesFM3Forecaster`, `predict` / `predict_batch` | 9 deciles, median index 4 | Downloaded weights restricted to non-commercial, non-production use |

Upstream identifies 3.0 as the latest model. This skill retains 2.5 as its default
local workflow because its Apache-licensed weights have different usage terms.
For 3.0 multivariate targets, past-only covariates or Apple MLX, read
[references/timesfm3.md](references/timesfm3.md) before adapting code. Authorized
Google Cloud services have separate terms; a Cloud entitlement does not change
the license of downloaded weights. See the [upstream license notice](https://github.com/google-research/timesfm#license-notice-for-pretrained-weights).

Use TimesFM for forecasting an ordered temporal target without task-specific
…