timesfm-forecasting

Forecast univariate time series with Google's TimesFM foundation model.

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill timesfm-forecasting-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: timesfm-forecasting
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/timesfm-forecasting
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill timesfm-forecasting-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires timesfm, torch, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of time series forecasting for univariate data, without the need for training custom models. It provides point forecasts with calibrated prediction intervals using Google's TimesFM foundation model.

Core Features & Use Cases

  • Zero-shot Forecasting: No training required; use the pre-trained TimesFM model for forecasting.
  • Flexible Input: Accepts CSV, DataFrame, and array inputs with point forecasts and prediction intervals.
  • Preflight System Checker: Ensures system resources are sufficient before loading the model.
  • Use Case: Forecast sales data for the next quarter without the need for custom modeling.

Quick Start

Use the timesfm-forecasting skill to forecast the next 30 days of sales using the attached file 'sales.csv'.

Frequently Asked Questions about timesfm-forecasting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform zero-shot time series forecasting without training a custom model?

Zero-shot time series forecasting is performed using Google's TimesFM foundation model, which requires no custom training. By loading the pre-trained model from Hugging Face, you can generate point forecasts with calibrated prediction intervals directly from your historical data.

Can I forecast sales data from a CSV file without writing custom machine learning code?

You can forecast sales data directly from a CSV file using the TimesFM model without custom machine learning code. The skill accepts CSV, DataFrame, and array inputs, allowing you to generate predictions for future horizons like the next 30 days immediately.

Do I need PyTorch to run TimesFM for univariate forecasting?

Yes, you need PyTorch installed because the skill lists both the TimesFM library and Torch as dependencies. A preflight system checker runs before loading the model to ensure your environment has sufficient resources to execute the forecasting operations.

How do I adjust the forecast horizon and context window for time series predictions?

You adjust the forecast horizon and context window by configuring the ForecastConfig parameters within the skill. This allows you to customize how much historical data the model considers and how far into the future it generates point forecasts and prediction intervals.

What are the limitations of using a foundation model for time series forecasting?

A limitation of using this foundation model is that it is designed specifically for univariate data, meaning it analyzes a single variable over time. It is applicable to various domains like sales, sensors, energy, and weather, but requires downloading the model from Hugging Face.