000-docs/000a-planned-skills/prediction-markets/nixtla-batch-forecaster/SKILL.md
Forecasts multiple time series in parallel batches using TimeGPT API. Optimizes throughput with rate limiting and supports portfolio aggregation. Use when processing 10-100+ contracts or needing efficient multi-series forecasting. Trigger with "batch forecast", "portfolio forecast", "parallel forecasting".
npx skillsauth add intent-solutions-io/plugins-nixtla nixtla-batch-forecasterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Process multiple time series forecasts in parallel with optimized throughput.
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.
Required:
nixtla, pandas, tqdm packagesEnvironment Variables:
NIXTLA_TIMEGPT_API_KEY: Your TimeGPT API keyInstallation:
pip install nixtla pandas tqdm
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:
python {baseDir}/scripts/prepare_data.py your_data.csv
export NIXTLA_TIMEGPT_API_KEY=your_api_key_here
Execute the batch forecasting engine:
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)Create a summary report:
python {baseDir}/scripts/generate_report.py forecasts/
Error: NIXTLA_TIMEGPT_API_KEY not set
Solution: export NIXTLA_TIMEGPT_API_KEY=your_key
Error: API Rate Limit Exceeded
Solution: Increase --delay or reduce --batch-size
Error: Missing required columns
Solution: Ensure CSV has unique_id, ds, y columns
Error: Batch failed, falling back to individual
Solution: Normal behavior - some series may have issues
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%
python {baseDir}/scripts/batch_forecast.py portfolio.csv \
--horizon 24 \
--freq H \
--aggregate \
--output-dir portfolio_forecasts/
{baseDir}/scripts/prepare_data.py - Data validation and analysis{baseDir}/scripts/batch_forecast.py - Main forecasting engine{baseDir}/scripts/generate_report.py - Report generationtools
This skill enables Claude to create and execute load tests for performance validation. It is designed to generate load test scripts using tools like k6, JMeter, and Artillery, based on specified test scenarios. Use this skill when the user requests to create a "load test", conduct "performance testing", validate "application performance", or needs a "stress test" to identify breaking points in the application. The skill helps define performance thresholds and provides execution instructions.
testing
This skill enables Claude to collect comprehensive infrastructure performance metrics across compute, storage, network, containers, load balancers, and databases. It is triggered when the user requests "collect infrastructure metrics", "monitor server performance", "set up performance dashboards", or needs to analyze system resource utilization. The skill configures metrics collection, sets up aggregation, and helps create infrastructure dashboards for health monitoring and capacity tracking. It supports configuration for Prometheus, Datadog, and CloudWatch.
tools
This skill enables Claude to monitor and analyze application error rates to improve reliability. It is used when the user needs to track and understand errors occurring in their application, including HTTP errors, application exceptions, database errors, external API errors, background job errors, and client-side errors. Use this skill when the user asks to "monitor errors", "analyze error rates", "track application errors", or requests help with "error monitoring". It sets up comprehensive error tracking and alerting based on defined thresholds.
development
This skill automates the setup of distributed tracing for microservices. It helps developers implement end-to-end request visibility by configuring context propagation, span creation, trace collection, and analysis. Use this skill when the user requests to set up distributed tracing, implement observability, or troubleshoot performance issues in a microservices architecture. The skill is triggered by phrases such as "setup tracing", "implement distributed tracing", "configure opentelemetry", or "add observability to microservices".