003-skills/.claude/skills/nixtla-demo-generator/SKILL.md
Generate production-ready Jupyter notebooks showcasing Nixtla forecasting workflows for statsforecast, mlforecast, and TimeGPT. Use when creating demos, building examples, or showcasing forecasting capabilities. Trigger with 'generate demo notebook', 'create Jupyter demo', or 'build forecasting example'.
npx skillsauth add intent-solutions-io/plugins-nixtla nixtla-demo-generatorInstall 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.
Generate interactive, production-ready Jupyter notebooks that showcase Nixtla forecasting workflows with complete data pipelines, model training, evaluation, and visualization.
This skill creates high-quality demonstration notebooks:
Required:
pip install jupyter)statsforecast - Statistical models (ARIMA, ETS, etc.)mlforecast - Machine learning models (LightGBM, XGBoost)nixtla - TimeGPT API accessOptional:
NIXTLA_API_KEY: For TimeGPT demosInstallation:
pip install jupyter statsforecast mlforecast nixtla pandas matplotlib
Select which Nixtla library to demonstrate:
# Options: statsforecast, mlforecast, timegpt
export DEMO_LIBRARY=statsforecast
Run the generator script:
python {baseDir}/scripts/generate_demo_notebook.py \
--library statsforecast \
--dataset m4-daily \
--output demo_statsforecast_m4.ipynb
Edit the generated notebook to:
Run the generated notebook:
jupyter notebook demo_statsforecast_m4.ipynb
Or execute non-interactively:
jupyter nbconvert --to notebook --execute demo_statsforecast_m4.ipynb
Export to various formats:
# HTML for sharing
jupyter nbconvert --to html demo_statsforecast_m4.ipynb
# PDF for presentations
jupyter nbconvert --to pdf demo_statsforecast_m4.ipynb
# Python script for automation
jupyter nbconvert --to python demo_statsforecast_m4.ipynb
Error: ModuleNotFoundError: No module named 'statsforecast'
Solution: Install required library: pip install statsforecast mlforecast nixtla
Error: NIXTLA_API_KEY not set (TimeGPT demos)
Solution: Export API key: export NIXTLA_API_KEY=your_key or skip TimeGPT demo
Error: Dataset file not found
Solution: Use --generate-sample-data flag to create synthetic dataset
Error: nbformat.validator.ValidationError
Solution: Check Jupyter version compatibility: pip install --upgrade jupyter nbformat
Error: Kernel died while executing notebook
Solution: Reduce dataset size or increase memory allocation
python {baseDir}/scripts/generate_demo_notebook.py \
--library statsforecast \
--dataset m4-daily \
--models AutoETS,AutoARIMA,SeasonalNaive \
--horizon 14 \
--output demo_statsforecast_m4_daily.ipynb
Generated notebook includes:
# Import libraries
from statsforecast import StatsForecast
from statsforecast.models import AutoETS, AutoARIMA, SeasonalNaive
import pandas as pd
import matplotlib.pyplot as plt
# Load M4 Daily data
df = pd.read_csv('m4_daily_sample.csv')
print(f"Loaded {len(df)} rows, {df['unique_id'].nunique()} series")
# Configure models
sf = StatsForecast(
models=[AutoETS(), AutoARIMA(), SeasonalNaive(season_length=7)],
freq='D',
n_jobs=-1
)
# Generate forecasts
forecasts = sf.forecast(df=df, h=14)
# Evaluate
from statsforecast.utils import calculate_metrics
metrics = calculate_metrics(df, forecasts, metrics=['smape', 'mase'])
print(metrics)
# Visualize
sf.plot(df, forecasts)
plt.show()
python {baseDir}/scripts/generate_demo_notebook.py \
--library mlforecast \
--dataset retail-sales \
--models LightGBM,XGBoost \
--features lag,rolling_mean,date_features \
--output demo_mlforecast_retail.ipynb
Generated notebook features:
python {baseDir}/scripts/generate_demo_notebook.py \
--library timegpt \
--dataset custom \
--api-key $NIXTLA_API_KEY \
--horizon 30 \
--confidence-levels 80,90,95 \
--output demo_timegpt_api.ipynb
Generated notebook demonstrates:
for library in statsforecast mlforecast timegpt; do
python {baseDir}/scripts/generate_demo_notebook.py \
--library $library \
--dataset m4-hourly \
--output "demo_${library}_m4_hourly.ipynb"
done
python {baseDir}/scripts/generate_demo_notebook.py \
--library statsforecast \
--dataset m4-weekly \
--template {baseDir}/assets/templates/custom_branded_template.ipynb \
--logo company_logo.png \
--output demo_branded.ipynb
Related Skills:
nixtla-timegpt-lab: Interactive TimeGPT experimentationnixtla-experiment-architect: Multi-model experiment designnixtla-schema-mapper: Data transformation for Nixtla formatScripts:
{baseDir}/scripts/generate_demo_notebook.py: Main notebook generator{baseDir}/assets/templates/statsforecast_template.ipynb: StatsForecast base template{baseDir}/assets/templates/mlforecast_template.ipynb: MLForecast base template{baseDir}/assets/templates/timegpt_template.ipynb: TimeGPT base templatetools
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".