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 assists with managing database sharding strategies. It is activated when the user needs to implement horizontal database sharding to scale beyond single-server limitations. The skill supports designing sharding strategies, distributing data across multiple database instances, and implementing consistent hashing, automatic rebalancing, and cross-shard query coordination. Use this skill when the user mentions "database sharding", "sharding implementation", "scale database", or "horizontal partitioning". The plugin helps design and implement sharding for high-scale applications.
tools
This skill enables Claude to perform comprehensive database security scans using the database-security-scanner plugin. It is triggered when the user requests a security assessment of a database, including identifying vulnerabilities like weak passwords, SQL injection risks, and insecure configurations. The skill leverages OWASP guidelines to ensure thorough coverage and provides remediation suggestions. Use this skill when the user asks to "scan database security", "check database for vulnerabilities", "perform OWASP compliance check on database", or "assess database security posture". The plugin supports PostgreSQL and MySQL.
testing
This skill enables Claude to design and visualize database schemas. It leverages normalization guidance (1NF through BCNF), relationship mapping, and ERD generation to create efficient and well-structured databases. Use this skill when the user requests to "design a database schema", "create a database model", "generate an ERD", "normalize a database", or needs help with "database design best practices". The skill is triggered by terms like "database schema", "ERD diagram", "database normalization", and "relational database design".
tools
This skill enables Claude to manage database replication, failover, and high availability configurations using the database-replication-manager plugin. It is designed to assist with tasks such as setting up master-slave replication, configuring automatic failover, monitoring replication lag, and implementing read scaling. Use this skill when the user requests help with "database replication", "failover configuration", "high availability", "replication lag", or "read scaling" for databases like PostgreSQL or MySQL. The plugin facilitates both physical and logical replication strategies.