Skip to content
Back to skills

Unit8co Darts

ASecurity

"Use Darts for Python time-series construction, preprocessing,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
devopspythonbashdockerbackend

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill unit8co-darts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unit8co Darts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unit8co Darts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-unit8co-darts/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-unit8co-darts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unit8co-darts
description: "Use Darts for Python time-series construction, preprocessing,
  forecasting, PyTorch/foundation models, anomaly detection, metrics, and
  explainability."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Darts

Use this skill when a task names Darts, `darts`, `u8darts`, Unit8 Darts, or asks for Darts-specific time-series forecasting, anomaly detection, preprocessing/covariate, metric, or explainability workflows.

## Install and import check

Darts 0.46.1 supports Python 3.10+. Choose the smallest install that matches the user's workflow:

```bash
pip install darts                    # core TimeSeries, preprocessing, statistical/regression models, anomaly, metrics
pip install "darts[torch]"           # add PyTorch neural/foundation wrapper infrastructure
pip install "darts[notorch]"         # add Prophet/LightGBM/XGBoost/CatBoost/StatsForecast families
pip install "darts[all]"             # broad install only when the user truly needs both torch and notorch extras
python - <<'PY'
import darts
from darts import TimeSeries
print(darts.__version__)
print(TimeSeries)
PY
```

For a quick environment diagnosis, run [`scripts/darts_doctor.py`](scripts/darts_doctor.py). For a tiny core forecast check without external data, run [`scripts/core_forecasting_smoke.py`](scripts/core_forecasting_smoke.py).

## Route by task

- **Build or inspect time-series data**: use [`time-series-and-data`](sub-skills/time-series-and-data/SKILL.md) for `TimeSeries.from_dataframe()`, `from_group_dataframe()`, date/frequency gaps, multivariate/stochastic shape `(time, component, sample)`, static covariates, slicing, stacking, and export checks.
- **Clean, scale, transform, or build covariates**: use [`data-processing-and-covariates`](sub-skills/data-processing-and-covariates/SKILL.md) for `MissingValuesFiller`, `Scaler`, `Pipeline`, train-only fitting, inverse transforms, generated calendar covariates, and past/future covariate span validation.
- **Choose and run non-neural forecasting models**: use [`forecasting-workflows`](sub-skills/forecasting-workflows/SKILL.md) for naive/statistical/regression/global models, `fit()`/`predict()`, covariate-capable core models, probabilistic prediction, historical forecasts, and model-selection troubleshooting.
- **Use PyTorch or foundation wrappers**: use [`torch-and-foundation-models`](sub-skills/torch-and-foundation-models/SKILL.md) for `darts[torch]`, `TCNModel`/N-BEATS/TFT-style models, chunk lengths, trainer kwargs, checkpoint directories, CPU/GPU verification, and foundation wrapper cache/download planning.
- **Score or detect anomalies**: use [`anomaly-detection`](sub-skills/anomaly-detection/SKILL.md) for `KMeansScorer`, PyOD scorers, `QuantileDetector`, threshold/IQR detectors, aggregators, `ForecastingAnomalyModel`, and score-vs-binary-output semantics.
- **Evaluate forecasts or explain models**: use [`evaluation-and-explainability`](sub-skills/evaluation-and-explainability/SKILL.md) for deterministic metrics, probabilistic quantile/interval metrics, reductions, anomaly/classification metrics, `ShapExplainer`, and headless plotting boundaries.

## Common starting routes

- New pandas data → `time-series-and-data`, then `data-processing-and-covariates` if values must be filled/scaled or covariates generated.
- Baseline forecast → `forecasting-workflows` first; add `evaluation-and-explainability` for metric/reporting details.
- Neural forecast request → verify `darts[torch]` with `torch-and-foundation-models`; do not claim CUDA/foundation execution without explicit backend/cache evidence.
- Anomaly detection request → `anomaly-detection`; route any residual forecasting model setup back to forecasting or torch.
- Installation/import or optional dependency errors → root [`references/installation-and-optional-dependencies.md`](references/installation-and-optional-dependencies.md) and [`references/troubleshooting.md`](references/troubleshooting.md).

## Shared references

- [`references/model-catalog.md`](references/model-catalog.md) maps model families to install extras and sub-skill owners.
- [`references/installation-and-optional-dependencies.md`](references/installation-and-optional-dependencies.md) records install variants, optional dependency boundaries, and backend evidence.
- [`references/troubleshooting.md`](references/troubleshooting.md) covers cross-cutting install/import, optional dependency, data, plotting, and backend failures.
- [`references/repo-provenance.md`](references/repo-provenance.md) records the source commit and evidence baseline for refresh decisions.

## Boundaries

This is a runtime package-use skill, not a Darts maintainer/release workflow. It does not cover publishing packages, building Docker images, editing CI, running long benchmarks, downloading private datasets, or executing large notebooks. Optional CUDA/GPU/TPU, foundation weight downloads, and heavy model-family extras are documented but not verified by the baseline CPU skill unless a later task proves them in the target environment.

Files in this skill

  • SKILL.md5 KB
  • references/installation-and-optional-dependencies.md3 KB
  • references/model-catalog.md3.7 KB
  • references/repo-provenance.md3.3 KB
  • references/repo-routing-metadata.json495 B
  • references/troubleshooting.md6.1 KB
  • scripts/core_forecasting_smoke.py1.4 KB
  • scripts/darts_doctor.py1.8 KB
  • sub-skills/anomaly-detection/SKILL.md2.2 KB
  • sub-skills/anomaly-detection/references/api-reference.md2.1 KB
  • sub-skills/anomaly-detection/references/troubleshooting.md1.5 KB
  • sub-skills/anomaly-detection/references/workflows.md1.8 KB
  • sub-skills/anomaly-detection/scripts/anomaly_smoke.py1.6 KB
  • sub-skills/data-processing-and-covariates/SKILL.md2.4 KB
  • sub-skills/data-processing-and-covariates/references/api-reference.md3.2 KB
  • sub-skills/data-processing-and-covariates/references/troubleshooting.md2.4 KB
  • sub-skills/data-processing-and-covariates/references/workflows.md3.4 KB
  • sub-skills/data-processing-and-covariates/scripts/transform_pipeline_smoke.py2.8 KB
  • sub-skills/evaluation-and-explainability/SKILL.md2.3 KB
  • sub-skills/evaluation-and-explainability/references/api-reference.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.