timesfm-forecasting
Zero-shot time series forecasting with Google's TimesFM foundation model.
Skill by Clayton Young (@borealBytes)
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/boyapati13-timesfm-forecasting
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, sales, research, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/timesfm-forecasting
What's inside
- Skill name
timesfm-forecasting- Description
- Zero-shot time series forecasting with Google's TimesFM foundation model. Use this skill when forecasting ANY univariate time series — sales, sensor readings, stock prices, energy demand, patient vitals, weather, or scientific measurements — without training a custom model. Supports both basic forecasting and advanced covariate forecasting (XReg) with dynamic and static exogenous variables. Automatically checks system RAM/GPU before loading the model, validates dataset fit before processing, supports CSV/DataFrame/array inputs, and returns point forecasts with calibrated prediction intervals. Includes a preflight system checker script that MUST be run before first use to verify the machine can load the model and handle your specific dataset.
- License
- Apache-2.0
- Metadata
- author: Clayton Young (@borealBytes) · version: 1.0.0
- Instructions
- 495 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (29)
- SKILL.md
- detect_anomalies.py · examples/anomaly-detection/
- anomaly_detection.json · examples/anomaly-detection/output/
- anomaly_detection.png · examples/anomaly-detection/output/
- demo_covariates.py · examples/covariates-forecasting/
- covariates_data.png · examples/covariates-forecasting/output/
- covariates_metadata.json · examples/covariates-forecasting/output/
- sales_with_covariates.csv · examples/covariates-forecasting/output/
- README.md · examples/finetuning/
- finetune_lora.py · examples/finetuning/
- README.md · examples/global-temperature/
- generate_animation_data.py · examples/global-temperature/
- generate_gif.py · examples/global-temperature/
- generate_html.py · examples/global-temperature/
- animation_data.json · examples/global-temperature/output/
- forecast_animation.gif · examples/global-temperature/output/
- forecast_output.csv · examples/global-temperature/output/
- forecast_output.json · examples/global-temperature/output/
- forecast_visualization.png · examples/global-temperature/output/
- interactive_forecast.html · examples/global-temperature/output/
- run_example.sh · examples/global-temperature/
- run_forecast.py · examples/global-temperature/
- temperature_anomaly.csv · examples/global-temperature/
- visualize_forecast.py · examples/global-temperature/
- api_reference.md · references/
- data_preparation.md · references/
- system_requirements.md · references/
- check_system.py · scripts/
- forecast_csv.py · scripts/
SKILL.md (first lines)
# TimesFM Forecasting
## Overview
TimesFM (Time Series Foundation Model) is a pretrained decoder-only foundation model
developed by Google Research for time-series forecasting. It works **zero-shot** — feed it
any univariate time series and it returns point forecasts with calibrated quantile
prediction intervals, no training required.
This skill includes a **mandatory preflight system checker** that verifies RAM, GPU memory,
and disk space before the model is ever loaded so the agent never crashes the user's machine.
> **Key numbers**: TimesFM 2.5 uses 200M parameters (~800 MB on disk, ~1.5 GB in RAM on
> CPU, ~1 GB VRAM on GPU). The archived v1/v2 500M-parameter model needs ~32 GB RAM.
> Always run the system checker first.
## When to Use This Skill
Use this skill when:
- Forecasting **any univariate time series** (sales, demand, sensor, vitals, price, weather)
- You need **zero-shot forecasting** without training a custom model
- You want **probabilistic forecasts** with calibrated prediction intervals (quantiles)
- You have time series of **any length** (the model handles 1–16,384 context points)
- You need to **batch-forecast** hundreds or thousands of series efficiently
- You want a **foundation model** approach instead of hand-tuning ARIMA/ETS parameters
- You need **covariate forecasting** with exogenous variables (price, promotions, holidays, day-of-week effects) → use `forecast_with_covariates()` (TimesFM 2.5 + `pip install timesfm[xreg]`)
Do **not** use this skill when:
- You need classical statistical models with coefficient interpretation → use `statsmodels`
- You need time series classification or clustering → use `aeon`
- You need multivariate vector autoregression or Granger causality → use `statsmodels`
- Your data is tabular (not temporal) → use `scikit-learn`
- You cannot install optional dependencies → XReg requires scikit-learn and JAX
> **Note on Anomaly Detection**: TimesFM does not have built-in anomaly detection, but you
> can use the **quantile forecasts as prediction intervals** — values outside the 90% CI
> (q10–q90) are statistically unusual. See `examples/anomaly-detection/` for a full example.
## ⚠️ Mandatory Preflight: System Requirements Check
**CRITICAL — ALWAYS run the system checker before loading the model for the first time.**
```bash
python scripts/check_system.py
```
This script checks:
1. **Available RAM** — warns if below 4 GB, blocks if below 2 GB
2. **GPU availability** — detects CUDA/MPS devices and VRAM
3. **Disk space** — verifies room for the ~800 MB model download
4. **Python version** — requires 3.10+
5. **Existing installation** — checks if `timesfm` and `torch` are installed
> **Note:** Model weights are **NOT stored in this repository**. TimesFM weights (~800 MB)
> download on-demand from HuggingFace on first use and cache in `~/.cache/huggingface/`.
```mermaid
flowchart TD
start["🚀 Run check_system.py"] --> ram{"RAM ≥ 4 GB?"}
ram -->|"Yes"| gpu{"GPU available?"}
ram -->|"No (2-4 GB)"| warn_ram["⚠️ Warning: tight RAM<br/>CPU-only, small batches"]
ram -->|"No (< 2 GB)"| block["🛑 BLOCKED<br/>Insufficient memory"]
warn_ram --> disk
gpu -->|"CUDA / MPS"| vram{"VRAM ≥ 2 GB?"}
gpu -->|"CPU only"| cpu_ok["✅ CPU mode<br/>Slower but works"]
vram -->|"Yes"| gpu_ok["✅ GPU mode<br/>Fast inference"]
vram -->|"No"| cpu_ok
gpu_ok --> disk{"Disk ≥ 2 GB free?"}
cpu_ok --> disk
disk -->|"Yes"| ready["✅ READY<br/>Safe to load model"]
disk -->|"No"| block_disk["🛑 BLOCKED<br/>Need space for weights"]
```
### Dataset Preflight (NEW)
Before loading your actual data, verify it will fit in memory:
```bash
# Quick estimate for your dataset
python scripts/check_system.py \
--num-series 1000 \
--context-length 1024 \
--horizon 24 \
--batch-size 32 \
--estimate-only
```
This will show you the estimated memory requirements and warn if your dataset is too large.
**Memory Estimation Formula**:
`RAM ≈ 0.8 GB (model) + 0.5 GB (overhead) + (0.2 MB × num_series × context_length / 1000)`
**Example Outputs**:
✅ **Dataset Fits**:
```
Total CPU memory: 2.34 GB
Total GPU memory: 2.15 GB
```
⚠️ **Dataset Too Large**:
```
Dataset requires ~12.5 GB RAM but system has 8.0 GB.
Try: context_length=512 or process in chunks of 50 series.
```
### Hardware Requirements by Model Version
| Model | Parameters | RAM (CPU) | VRAM (GPU) | Disk | Context |
| ----- | ---------- | --------- | ---------- | ---- | ------- |
| **TimesFM 2.5** (recommended) | 200M | ≥ 4 GB | ≥ 2 GB | ~800 MB | up to 16,384 |
| TimesFM 2.0 (archived) | 500M | ≥ 16 GB | ≥ 8 GB | ~2 GB | up to 2,048 |
| TimesFM 1.0 (archived) | 200M | ≥ 8 GB | ≥ 4 GB | ~800 MB | up to 2,048 |From Boyapati13/octo, Apache-2.0.
More from Boyapati13/octo
- 0.469score
prompt-optimizer
YannJY02
Analyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt.
SkillCFreshness: CClaude Code +9 - 0.469score
safety-guard
Boyapati13
Use this skill to prevent destructive operations when working on production systems or running agents autonomously.
SkillCFreshness: CClaude Code +9 - 0.467score
llm-trading-agent-security
Boyapati13
Security patterns for autonomous trading agents with wallet or transaction authority.
SkillCFreshness: CClaude Code +9 - 0.467score
lta-trading-war-map
Boyapati13
LTA/LTW Trading War Map strategy utilizing Auction Market Theory, Volume Profile key zones (VAH, VAL, POC), CME liquidity traps, and Sunday Open biases.
SkillCFreshness: CClaude Code +9 - 0.467score
autonomous-github-resolver
Boyapati13
Automatically fetches, analyzes, and resolves GitHub issues by mapping them to local sandboxes, modifying code, running tests, and opening Pull Requests using…
SkillCFreshness: CClaude Code +9 - 0.454score
TimesFM Forecasting
Boyapati13
Performs 200M parameter zero-shot time series forecasting up to 1000 steps using Google's TimesFM 2.5 foundation model for algorithmic trading.
SkillCFreshness: CClaude Code +9 - 0.247score
lta-institutional-retail-playbook
Boyapati13
No description from the publisher yet.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 21, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- Apache-2.0
- Repository
- github.com/Boyapati13/octo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Cite this page
timesfm-forecasting skill. Agent Mart. https://agentmart.dev/skills/boyapati13-timesfm-forecasting (last updated 2026-10-24)