Skip to content

foryourhealth111-pixel/Vibe-Skills / bundled/skills/timesfm-forecasting

timesfm-forecasting

Verified

Zero-shot time series forecasting with Google's TimesFM foundation model. Use this skill when forecasting ANY univariate time series — sales, sensor readings, stock prices, energy demand, patient vitals, weather, or scientific measurements — without training a custom model. Automatically checks system RAM/GPU before loading the model, supports CSV/DataFrame/array inputs, and returns point forecasts with calibrated prediction intervals. Includes a preflight system checker script that MUST be run before first use to verify the machine can load the model. For classical statistical time series models (ARIMA, SARIMAX, VAR) use statsmodels; for time series classification/clustering use aeon.

examples/covariates-forecasting/output/covariates_metadata.json

View on GitHub
{
  "description": "Synthetic retail sales data with covariates for TimesFM XReg demo",
  "note_on_real_data": "For real datasets (e.g., Kaggle Rossmann Store Sales), download to tempfile.mkdtemp() -- do NOT commit to this repo.",
  "stores": {
    "store_A": {
      "type": "premium",
      "region": "urban",
      "base_sales": 1000,
      "mean_sales_context": 1148.7
    },
    "store_B": {
      "type": "standard",
      "region": "suburban",
      "base_sales": 750,
      "mean_sales_context": 907.0
    },
    "store_C": {
      "type": "discount",
      "region": "rural",
      "base_sales": 500,
      "mean_sales_context": 645.3
    }
  },
  "dimensions": {
    "context_length": 24,
    "horizon_length": 12,
    "total_length": 36,
    "num_stores": 3,
    "csv_rows": 108
  },
  "covariates": {
    "dynamic_numerical": [
      "price"
    ],
    "dynamic_categorical": [
      "promotion",
      "holiday",
      "day_of_week"
    ],
    "static_categorical": [
      "store_type",
      "region"
    ]
  },
  "effect_magnitudes": {
    "holiday": "+200 units per holiday week",
    "promotion": "+150 units per promotion week",
    "price": "-20 units per $1 above base price"
  },
  "xreg_modes": {
    "xreg + timesfm": "Regression on TimesFM residuals (default)",
    "timesfm + xreg": "TimesFM on regression residuals"
  },
  "bug_fixes_history": [
    "v1: Variable-shadowing -- all stores had identical covariates",
    "v2: Fixed shadowing; CONTEXT_LEN 48->24",
    "v3: Added component decomposition (base, price/promo/holiday effects); 2x2 sharex viz"
  ]
}
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall