
Aeon
Choose and apply Aeon time-series anomaly detectors (collection- or point-level) when solo builders need to flag unusual metrics or series in production or analysis pipelines.
Overview
Aeon is an agent skill most often used in Operate (also Grow, Build) that maps time-series anomaly-detection methods in Aeon to the right collection- or series-level monitoring task.
Install
npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill aeonWhat is this skill?
- Collection detectors: ClassificationAdapter and OutlierDetectionAdapter (IsolationForest, LOF, OneClassSVM)
- Series distance methods: CBLOF, KMeansAD, LeftSTAMPi, STOMP, MERLIN for subsequence and discord anomalies
- Guidance pairs each method with a 'Use when' heuristic (labeled normal data, streaming, motif vs discord)
- Separates collection-level anomalous series vs point/subsequence anomalies within one series
- Sklearn-compatible outlier wrapping for collection workflows
- 2 collection-level adapter patterns documented
- 5+ named series distance/matrix-profile methods listed (CBLOF, KMeansAD, LeftSTAMPi, STOMP, MERLIN)
Adoption & trust: 558 installs on skills.sh; 27.6k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
Your metrics or experiment streams show sporadic weird spikes and you do not know which anomaly algorithm fits labeled normals, streaming data, or discord search.
Who is it for?
Indie builders and small teams analyzing time series in Python who need method selection coaching for Aeon/sklearn hybrid workflows.
Skip if: Builders without time-series data, purely categorical fraud rules, or teams wanting a hosted monitoring SaaS instead of library integration.
When should I use this skill?
Identifying unusual patterns in time series at series or collection level using Aeon anomaly detectors.
What do I get? / Deliverables
You select a documented Aeon detector (adapter or matrix-profile method) aligned to your data shape and deploy it in notebooks or pipelines with clearer false-positive trade-offs.
- Chosen detector mapping with use-when rationale
- Notebook or pipeline code sketch for collection or series anomalies
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Canonical shelf is Operate/monitoring because anomaly detection is primarily about spotting abnormal behavior in live or recent time series, not greenfield UI work. Monitoring subphase matches series- and collection-level outlier detection, discord discovery, and streaming adapters for operational signals.
Where it fits
Pick STOMP or MERLIN to find discord segments in API latency after deploy.
Flag abnormal cohort metric series in weekly retention charts before lifecycle campaigns.
Wrap OutlierDetectionAdapter around sklearn estimators in a batch scoring job.
How it compares
Method-selection skill for the Aeon Python library—not a turnkey MCP metrics server or dashboard product.
Common Questions / FAQ
Who is aeon for?
Developers and solo data practitioners using coding agents to implement anomaly detection on scientific or operational time series with Aeon.
When should I use aeon?
In Operate/monitoring when alerting on abnormal series; in Grow/analytics when auditing funnel or revenue series; in Build/backend when embedding detectors in batch jobs—whenever TIME SERIES anomalies need algorithm pick-list guidance.
Is aeon safe to install?
It references ML code paths that may use network-installed deps in your environment; review the Security Audits panel on this Prism page and pin versions in your own project.
SKILL.md
READMESKILL.md - Aeon
# Anomaly Detection Aeon provides anomaly detection methods for identifying unusual patterns in time series at both series and collection levels. ## Collection Anomaly Detectors Detect anomalous time series within a collection: - `ClassificationAdapter` - Adapts classifiers for anomaly detection - Train on normal data, flag outliers during prediction - **Use when**: Have labeled normal data, want classification-based approach - `OutlierDetectionAdapter` - Wraps sklearn outlier detectors - Works with IsolationForest, LOF, OneClassSVM - **Use when**: Want to use sklearn anomaly detectors on collections ## Series Anomaly Detectors Detect anomalous points or subsequences within a single time series. ### Distance-Based Methods Use similarity metrics to identify anomalies: - `CBLOF` - Cluster-Based Local Outlier Factor - Clusters data, identifies outliers based on cluster properties - **Use when**: Anomalies form sparse clusters - `KMeansAD` - K-means based anomaly detection - Distance to nearest cluster center indicates anomaly - **Use when**: Normal patterns cluster well - `LeftSTAMPi` - Left STAMP incremental - Matrix profile for online anomaly detection - **Use when**: Streaming data, need online detection - `STOMP` - Scalable Time series Ordered-search Matrix Profile - Computes matrix profile for subsequence anomalies - **Use when**: Discord discovery, motif detection - `MERLIN` - Matrix profile-based method - Efficient matrix profile computation - **Use when**: Large time series, need scalability - `LOF` - Local Outlier Factor adapted for time series - Density-based outlier detection - **Use when**: Anomalies in low-density regions - `ROCKAD` - ROCKET-based semi-supervised detection - Uses ROCKET features for anomaly identification - **Use when**: Have some labeled data, want feature-based approach ### Distribution-Based Methods Analyze statistical distributions: - `COPOD` - Copula-Based Outlier Detection - Models marginal and joint distributions - **Use when**: Multi-dimensional time series, complex dependencies - `DWT_MLEAD` - Discrete Wavelet Transform Multi-Level Anomaly Detection - Decomposes series into frequency bands - **Use when**: Anomalies at specific frequencies ### Isolation-Based Methods Use isolation principles: - `IsolationForest` - Random forest-based isolation - Anomalies easier to isolate than normal points - **Use when**: High-dimensional data, no assumptions about distribution - `OneClassSVM` - Support vector machine for novelty detection - Learns boundary around normal data - **Use when**: Well-defined normal region, need robust boundary - `STRAY` - Streaming Robust Anomaly Detection - Robust to data distribution changes - **Use when**: Streaming data, distribution shifts ### External Library Integration - `PyODAdapter` - Bridges PyOD library to aeon - Access 40+ PyOD anomaly detectors - **Use when**: Need specific PyOD algorithm ## Quick Start ```python from aeon.anomaly_detection import STOMP import numpy as np # Create time series with anomaly y = np.concatenate([ np.sin(np.linspace(0, 10, 100)), [5.0], # Anomaly spike np.sin(np.linspace(10, 20, 100)) ]) # Detect anomalies detector = STOMP(window_size=10) anomaly_scores = detector.fit_predict(y) # Higher scores indicate more anomalous points threshold = np.percentile(anomaly_scores, 95) anomalies = anomaly_scores > threshold ``` ## Point vs Subsequence Anomalies - **Point anomalies**: Single unusual values - Use: COPOD, DWT_MLEAD, IsolationForest - **Subsequence anomalies** (discords): Unusual patterns - Use: STOMP, LeftSTAMPi, MERLIN - **Collective anomalies**: Groups of points forming unusual pattern - Use: Matrix profile methods, clustering-based ## Evaluation Metrics Specialized metrics for anomaly detection: ```python from aeon.benchmarking.metrics.anomaly_detection import ( range_precision, range_recall, range_f_score,