Skip to content
Back to skills

Nixtla Batch Forecaster Intent Solutions Io Plugins Nixtla

ASecurity

Forecast multiple time series in parallel using TimeGPT. Use when processing 10-100+ contracts efficiently. Trigger with 'batch forecast' or 'parallel forecasting'.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
datapythonbashgitapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill nixtla-batch-forecaster-intent-solutions-io-plugins-nixtla --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nixtla Batch Forecaster Intent Solutions Io Plugins Nixtla?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nixtla Batch Forecaster Intent Solutions Io Plugins Nixtla
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-nixtla-batch-forecaster-intent-solutions-io-plugin-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-nixtla-batch-forecaster-intent-solutions-io-plugin-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nixtla-batch-forecaster
description: "Forecast multiple time series in parallel using TimeGPT. Use when processing 10-100+ contracts efficiently. Trigger with 'batch forecast' or 'parallel forecasting'."
version: "1.0.0"
author: "Jeremy Longshore <jeremy@intentsolutions.io>"
license: MIT
allowed-tools: "Read,Write,Bash(python:*),Glob,Grep"
---

# Nixtla Batch Forecaster

Process multiple time series forecasts in parallel with optimized throughput.

## Overview

Leverages TimeGPT API to generate forecasts for many time series concurrently. Features parallel batch processing with rate limiting, automatic fallback for failed batches, and optional portfolio-level aggregation. Produces individual forecasts per series plus combined outputs.

## Prerequisites

**Required**:
- Python 3.8+
- `nixtla`, `pandas`, `tqdm` packages

**Environment Variables**:
- `NIXTLA_TIMEGPT_API_KEY`: Your TimeGPT API key

**Installation**:
```bash
pip install nixtla pandas tqdm
```

## Instructions

### Step 1: Prepare Input Data

Your CSV must have the Nixtla schema columns:

| Column | Type | Description |
|--------|------|-------------|
| `unique_id` | string | Series identifier (contract ID) |
| `ds` | datetime | Timestamp |
| `y` | numeric | Value to forecast |

Analyze your data:
```bash
python {baseDir}/scripts/prepare_data.py your_data.csv
```

### Step 2: Set API Key

```bash
export NIXTLA_TIMEGPT_API_KEY=your_api_key_here
```

### Step 3: Run Batch Forecast

Execute the batch forecasting engine:
```bash
python {baseDir}/scripts/batch_forecast.py your_data.csv --horizon 14 --freq D
```

**Available options**:
- `--horizon`: Forecast horizon (default: 14)
- `--freq`: Frequency D/H/W/M (default: D)
- `--batch-size`: Series per batch (default: 20)
- `--output-dir`: Output directory (default: forecasts)
- `--aggregate`: Create portfolio aggregation
- `--delay`: Rate limit delay in seconds (default: 1.0)

### Step 4: Generate Report

Create a summary report:
```bash
python {baseDir}/scripts/generate_report.py forecasts/
```

## Output

- **forecasts/all_forecasts.csv**: Combined forecasts for all series
- **forecasts/{series}_forecast.csv**: Individual series forecasts
- **forecasts/summary.json**: Processing metadata
- **forecasts/aggregated_forecast.csv**: Portfolio aggregation (if --aggregate)
- **forecasts/batch_report.md**: Human-readable summary

## Error Handling

1. **Error**: `NIXTLA_TIMEGPT_API_KEY not set`
   **Solution**: `export NIXTLA_TIMEGPT_API_KEY=your_key`

2. **Error**: `API Rate Limit Exceeded`
   **Solution**: Increase `--delay` or reduce `--batch-size`

3. **Error**: `Missing required columns`
   **Solution**: Ensure CSV has `unique_id`, `ds`, `y` columns

4. **Error**: `Batch failed, falling back to individual`
   **Solution**: Normal behavior - some series may have issues

## Examples

### Example 1: Forecast 50 Daily Contracts

```bash
python {baseDir}/scripts/batch_forecast.py contracts.csv \
    --horizon 14 \
    --freq D \
    --batch-size 10 \
    --output-dir forecasts/
```

**Output**:
```
Batch Forecast Complete
Series forecasted: 50/50
Success rate: 100.0%
```

### Example 2: Hourly Portfolio with Aggregation

```bash
python {baseDir}/scripts/batch_forecast.py portfolio.csv \
    --horizon 24 \
    --freq H \
    --aggregate \
    --output-dir portfolio_forecasts/
```

## Resources

- Scripts:
  - `{baseDir}/scripts/prepare_data.py` - Data validation and analysis
  - `{baseDir}/scripts/batch_forecast.py` - Main forecasting engine
  - `{baseDir}/scripts/generate_report.py` - Report generation
- Nixtla Docs: https://nixtla.github.io/

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.