Time Series Anomaly Detection

Detect anomalies in time series data using Prophet Framework (Meta), which frames the seasonality, trend holiday effect and other needed regressors into its model, to identify unusual surges or slumps in trends. This is a general methodology analyst can use for understanding what changes of their tracking metrics are manifesting anomalies pattern.

49 stars 5 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add UCSB-NLP-Chang/Skill-Usage --skill time_series_anomaly_detection
Manual install
git clone --depth 1 https://github.com/UCSB-NLP-Chang/Skill-Usage.git /tmp/Skill-Usage
mkdir -p ~/.claude/skills
cp -r /tmp/Skill-Usage/tasks/trend-anomaly-causal-inference/environment/skills/time_series_anomaly_detection ~/.claude/skills/time_series_anomaly_detection

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Time Series Anomaly Detection Framework

Comprehensive time series anomaly detection framework leverages Facebook Prophet's time-sereis trend prediction (counterfactural) in the target window and compare it with the actual data. An anomaly index that measures how much deviate the actual number is from the expected trend (counterfactural) for each of the categories or groups within that period. The anomaly index ranking can be used to identify outerstanding groups/categories that manifest unexpected surge and slump with quantitative index ranged -100 to 100.

## Core Components

### TimeSeriesAnomalyDetector
Main class for anomaly detection with configurable parameters.
#### Constructor Parameters
- `min_training_days` (int): Minimum days of the available training data required per category (default: 180). Groups have less than this number of days data would be skipped
- `confidence_interval` (float): Prophet confidence interval width (default: 0.68 = ±1 std) as the starting point to measure the unexpected deviation
- `changepoint_prior_scale` (float): Flexibility of trend changes (default: 0.05) However, if dataset is not in a big size, use 0.1
- `seasonality_prior_scale` (float): Strength of seasonality (default: 10.0)

#### Anomaly Index Calculation (This is CRITICAL and is the key to identify unsual pattern)
- **Within confidence interval**: Index = 0
- **Above upper bound**: Index = (actual - upper) / std
- **Below lower bound**: Index = (actual - lower) / std
Read the full skill on GitHub

Details

Skill name
time_series_anomaly_detection
Path
tasks/trend-anomaly-causal-inference/environment/skills/time_series_anomaly_detection/SKILL.md
Repo updated
8 April 2026

FAQ

What does the Time Series Anomaly Detection skill do?

Detect anomalies in time series data using Prophet Framework (Meta), which frames the seasonality, trend holiday effect and other needed regressors into its model, to identify unusual surges or slumps in trends. This is a general methodology analyst can use for understanding what changes of their tracking metrics are manifesting anomalies pattern.

How do I install the Time Series Anomaly Detection skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add UCSB-NLP-Chang/Skill-Usage --skill time_series_anomaly_detection. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Time Series Anomaly Detection popular?

It lives in UCSB-NLP-Chang/Skill-Usage, which has 49 GitHub stars and 5 forks.

Related skills

Pubchem Database

49

UCSB-NLP-Chang/Skill-Usage

Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.

Databases

Pymatgen

49

UCSB-NLP-Chang/Skill-Usage

Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.

Research & Science

Rdkit

49

UCSB-NLP-Chang/Skill-Usage

Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.

Frontend & Design

AI Prd Builder

10

initmahesh/ai-prd-builder

Interviews you section by section (Discover, Design, Develop, Deploy) and writes a complete PRD.md for a product that uses AI or agents, then checks it against a living checklist that is kept outside the skill and produces a pass/fail report. Also upgrades an existing PRD. Use this skill whenever the user mentions writing a PRD, a product requirements doc, a spec for an AI or agent product, upgrading a PRD for agents, checking a PRD against the checklist, or turning a one-pager or 6-pager into a PRD.md, even if they do not name the skill. Not for engineering design docs, writing code, or PRDs

AI, LLMs & Agents10

Speaker Clustering Methods

49

UCSB-NLP-Chang/Skill-Usage

Choose and implement clustering algorithms for grouping speaker embeddings after VAD and embedding extraction. Compare Hierarchical clustering (auto-tunes speaker count), KMeans (fast, requires known count), and Agglomerative clustering (fixed clusters). Use Hierarchical clustering when speaker count is unknown, KMeans when count is known, and always normalize embeddings before clustering.

AI, LLMs & Agents

Attack Tree Modeling

48

sethdford/claude-skills

Build hierarchical attack trees showing how attackers decompose goals into sub-goals and exploits. Use when analyzing attack paths, prioritizing security investments, or assessing attacker effort and cost.

AI, LLMs & Agents10

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.