003-skills/.claude/skills-backup-20251210-155310/nixtla-timegpt-finetune-lab/SKILL.md
Enables TimeGPT model fine-tuning on custom datasets with Nixtla SDK. Guides dataset preparation, job submission, status monitoring, model comparison, and accuracy benchmarking. Activates when user needs TimeGPT fine-tuning, custom model training, domain-specific optimization, or zero-shot vs fine-tuned comparison.
npx skillsauth add intent-solutions-io/plugins-nixtla nixtla-timegpt-finetune-labInstall 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.
Guide users through production-ready TimeGPT fine-tuning workflows.
This skill manages TimeGPT fine-tuning:
Required:
nixtla packageNIXTLA_API_KEY environment variableInstallation:
pip install nixtla pandas utilsforecast
export NIXTLA_API_KEY='your-api-key'
Get API Key: https://dashboard.nixtla.io
Ensure data is in Nixtla schema:
python {baseDir}/scripts/prepare_finetune_data.py \
--input data/sales.csv \
--output data/finetune_train.csv
python {baseDir}/scripts/configure_finetune.py \
--train data/finetune_train.csv \
--model_name "sales-model-v1" \
--horizon 14 \
--freq D
python {baseDir}/scripts/submit_finetune.py \
--config forecasting/finetune_config.yml
python {baseDir}/scripts/monitor_finetune.py \
--job_id <job_id>
python {baseDir}/scripts/compare_finetuned.py \
--test data/test.csv \
--finetune_id <model_id>
Error: NIXTLA_API_KEY not set
Solution: Export your API key: export NIXTLA_API_KEY='...'
Error: Insufficient training data
Solution: Need 100+ observations per series
Error: Fine-tuning job failed
Solution: Check data format, ensure no NaN values
Error: Model ID not found
Solution: Verify job completed, check artifacts directory
# Prepare data
python {baseDir}/scripts/prepare_finetune_data.py \
--input sales.csv --output train.csv
# Submit job
python {baseDir}/scripts/submit_finetune.py \
--train train.csv \
--model_name "my-sales-model" \
--horizon 14
Output:
Fine-tuning job submitted: job_abc123
Model ID saved to: artifacts/finetune_model_id.txt
python {baseDir}/scripts/compare_finetuned.py \
--test test.csv \
--finetune_id my-sales-model
Output:
Model Comparison:
TimeGPT Zero-Shot: SMAPE=12.3%
TimeGPT Fine-Tuned: SMAPE=8.7%
Improvement: 29.3%
{baseDir}/scripts/Related Skills:
nixtla-schema-mapper: Prepare data before fine-tuningnixtla-experiment-architect: Create baseline experimentsnixtla-usage-optimizer: Evaluate cost-effectivenesstesting
This skill enables Claude to manage isolated test environments using Docker Compose, Testcontainers, and environment variables. It is used to create consistent, reproducible testing environments for software projects. Claude should use this skill when the user needs to set up a test environment with specific configurations, manage Docker Compose files for test infrastructure, set up programmatic container management with Testcontainers, manage environment variables for tests, or ensure cleanup after tests. Trigger terms include "test environment", "docker compose", "testcontainers", "environment variables", "isolated environment", "env-setup", and "test setup".
tools
This skill uses the test-doubles-generator plugin to automatically create mocks, stubs, spies, and fakes for unit testing. It analyzes dependencies in the code and generates appropriate test doubles based on the chosen testing framework, such as Jest, Sinon, or others. Use this skill when you need to generate test doubles, mocks, stubs, spies, or fakes to isolate units of code during testing. Trigger this skill by requesting test double generation or using the `/gen-doubles` or `/gd` command.
tools
This skill enables Claude to generate realistic test data for software development. It uses the test-data-generator plugin to create users, products, orders, and custom schemas for comprehensive testing. Use this skill when you need to populate databases, simulate user behavior, or create fixtures for automated tests. Trigger phrases include "generate test data", "create fake users", "populate database", "generate product data", "create test orders", or "generate data based on schema". This skill is especially useful for populating testing environments or creating sample data for demonstrations.
development
This skill analyzes code coverage metrics to identify untested code and generate comprehensive coverage reports. It is triggered when the user requests analysis of code coverage, identification of coverage gaps, or generation of coverage reports. The skill is best used to improve code quality by ensuring adequate test coverage and identifying areas for improvement. Use trigger terms like "analyze coverage", "code coverage report", "untested code", or the shortcut "cov".