Skip to content
Development
Skill

/domain-time-series

Use for time-series tasks: forecasting (demand, sales, energy, finance), time-series classification, and anomaly detection over time (sensors, logs, monitoring). Picks classical vs ML vs deep forecasters, enforces temporal splits (no future leakage), and uses proper time-series

From plugin
mlcraft
823 skills1 agent1 command

Claude Code

$ npx -y skills add mxslr/mlcraft --skill domain-time-series --agent claude-code

SKILL.md

domain-time-series.SKILL.md
name: domain-time-series
description: "Use for time-series tasks: forecasting (demand, sales, energy, finance), time-series classification, and anomaly detection over time (sensors, logs, monitoring). Picks classical vs ML vs deep forecasters, enforces temporal splits (no future leakage), and uses proper time-series metrics/backtesting. Triggers on 'forecast', 'predict next/future', 'time series', 'demand/sales/energy prediction', 'anomaly detection over time', 'seasonality'."

Time-Series - Method Selection

Temporal order is sacred: **the future must never leak into training.**

Decision table

| Sub-task | Recommended (simple to advanced) | Notes | |---|---|---| | Univariate / few series forecasting | **ETS / ARIMA / Theta / Prophet** | Strong, interpretable baselines. Often beat deep on small data. | | Many related series | **LightGBM on lag/calendar features** then **N-BEATS/NHITS, TFT** | GBT-on-lags is a very strong, cheap default. | | Long-horizon / rich covariates | **TFT / PatchTST / DeepAR** | Deep only when data volume justifies it. | | Foundation / zero-shot | **TimesFM / Chronos / Moirai** | Good for cold-start / many series with little history. | | TS classification | **ROCKET/MiniROCKET, InceptionTime, HIVE-COTE** | ROCKET = fast strong baseline. | | Anomaly detection | **STL/residual + threshold, Isolation Forest, autoencoder/LSTM** | Start simple; label scarcity is the norm. |

Temporal rigor (non-negotiable)

  • **Split by time**: train strictly before validation before test. Use **rolling/expanding-window backtesting**, not random K-fold (`data-rigor-and-leakage`).
  • **No future leakage in features**: lags/rolling stats use only past data; align target horizon carefully; no target-derived or post-hoc features.
  • **Fit scalers/encoders on the training window only**, refit as the window rolls.
  • **Respect gaps/frequency**: handle missing timestamps, irregular sampling, and known future covariates (holidays) vs unknown.

Evaluation

  • Metrics: **MAE / RMSE / MAPE / sMAPE / MASE** (MASE compares to a naive baseline - always include a naive/seasonal-naive baseline).
  • Report per-horizon error and prediction intervals (coverage), not just a point metric.
  • Backtest across multiple origins; a single split is not enough.
  • Improve: use `accuracy-improvement-loop` (better features/lags, hierarchical reconciliation, ensembling classical+ML, then deep).
Read more
@mxslr
Ships withmlcraft

A research-first AI/ML research-engineer workflow for Claude Code

823 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of mxslr/mlcraft on GitHub, a chart by star-history.com

Other skills on mlcraft.

accuracy-improvement-loop

accuracy-improvement-l…

Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low',…

@mxslr@mxslrInstall Skill
data-rigor-and-leakage

data-rigor-and-leakage

Use BEFORE training any model, to build correct train/val/test splits and hunt data leakage - the #1 cause of fake-high accuracy.…

@mxslr@mxslrInstall Skill
dataset-profiling

dataset-profiling

Use as the FIRST step of any ML task, before choosing a model, to inspect and understand the actual dataset. Works for a LOCAL…

@mxslr@mxslrInstall Skill
deployment-explainability

deployment-explainabil…

Use when turning a trained model into something usable (an app, an inference function, a demo) or adding explainability. Selects…

@mxslr@mxslrInstall Skill
domain-3d

domain-3d

Use for 3D and point cloud tasks: point cloud classification, 3D semantic or instance segmentation, 3D object detection from…

@mxslr@mxslrInstall Skill
domain-anomaly-detection

domain-anomaly-detecti…

Use for anomaly, outlier, and novelty detection across data types: industrial or visual defect detection, time-series or sensor…

@mxslr@mxslrInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about domain-time-series.

Which coding agents can use domain-time-series?
domain-time-series installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.