Skip to content
Back to skills

Anomaly Detection

ASecurity

"Use Darts anomaly scorers, detectors, aggregators, and forecasting

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

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill anomaly-detection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Anomaly Detection?

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

Security grade badge for Anomaly Detection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-anomaly-detection-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-anomaly-detection-arex-skill)

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: anomaly-detection
description: "Use Darts anomaly scorers, detectors, aggregators, and forecasting
  anomaly wrappers with correct score and label semantics."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Anomaly detection

Use this sub-skill when the user needs Darts anomaly scores, binary anomaly detection, anomaly model wrappers around forecasts/filters, score alignment, or anomaly evaluation boundaries.

## Read first

- [`references/workflows.md`](references/workflows.md) for scorer + detector patterns, window effects, and forecasting residual wrappers.
- [`references/api-reference.md`](references/api-reference.md) for key scorer/detector classes and verified constructor notes.
- [`references/troubleshooting.md`](references/troubleshooting.md) for window length, fitting order, score-vs-binary confusion, and label alignment.
- [`scripts/anomaly_smoke.py`](scripts/anomaly_smoke.py) for a tiny KMeansScorer + QuantileDetector smoke.

## Route by task

- **Raw value anomaly scoring**: choose a scorer such as `KMeansScorer` or another Darts scorer, fit on normal training data where required, then score validation/test.
- **Binary anomaly flags**: fit a detector such as `QuantileDetector`, `ThresholdDetector`, or `IQRDetector` on normal score behavior, then detect validation scores.
- **Forecast residual anomalies**: use `ForecastingAnomalyModel` or related wrapper around a Darts forecasting model; route model training to `../forecasting-workflows/` or `../torch-and-foundation-models/`.
- **Evaluate anomaly outputs**: separate continuous score evaluation from binary detector outputs; route metric details to `../evaluation-and-explainability/` when needed.

## Safe check

```bash
python scripts/anomaly_smoke.py --json
```

The smoke uses generated normal/spike series and asserts scorer/detector output types, binary values, and window-shortened score length.

## Boundaries

This sub-skill does not own time-series construction, forecasting model selection, or metric aggregation. It owns Darts anomaly API semantics and alignment. Do not treat anomaly scores as calibrated probabilities unless the chosen scorer/detector explicitly supports that interpretation.

Files in this skill

  • SKILL.md2.2 KB
  • references/api-reference.md2.1 KB
  • references/troubleshooting.md1.5 KB
  • references/workflows.md1.8 KB
  • scripts/anomaly_smoke.py1.6 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.