Agent skill

time-series-decomposer

Decompose time series into trend, seasonal, and residual components. Use for forecasting, pattern analysis, and seasonality detection.

majiayu000534★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill time-series-decomposer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/time-series-decomposer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Time Series Decomposer Extract trend, seasonal, and residual components from time series data with visualization and basic forecasting. ## Features - **Decomposition**: Additive and multiplicative models - **Trend Extraction**: Moving averages, polynomial fitting - **Seasonality Detection**: Auto-detect and extract periodic patterns - **Residual Analysis**: Identify anomalies in residuals - **Visualization**: Component plots, ACF/PACF - **Basic Forecasting**: Trend extrapolation, seasonal naive ## Quick Start ```python from ts_decomposer import TimeSeriesDecomposer decomposer = TimeSeriesDecomposer() decomposer.load_csv("sales.csv", date_col="date", value_col="revenue") # Decompose result = decomposer.decompose(period=12) # Monthly seasonality print(f"Trend strength: {result['trend_strength']:.2f}") print(f"Seasonal strength: {result['seasonal_strength']:.2f}") # Plot components decomposer.plot_components("decomposition.png") ``` ## CLI Usage ```bash # Basic decomposition python ts_decomposer.py --input data.csv --date date --value sales --period 12 # Multiplicative model python ts_decomposer.py --input data.csv --date date --value sales --period 12 --model multiplicative # With

What's inside
Steps it walks through
  1. Features
  2. Quick Start
  3. CLI Usage
  4. API Reference
  5. TimeSeriesDecomposer Class
  6. Decomposition Models
  7. Additive Model
  8. Multiplicative Model
  9. Output Format
  10. Decomposition Result
  11. Trend Analysis
  12. Seasonality Analysis
  13. Period Detection
  14. Anomaly Detection
Ships with 1 file
  • metadata.json
Commands it runs
Basic decomposition
python ts_decomposer.py --input data.csv --date date --value sales --period 12
Multiplicative model
python ts_decomposer.py --input data.csv --date date --value sales --period 12 --model multiplicative
With forecast
python ts_decomposer.py --input data.csv --date date --value sales --period 12 --forecast 6
Auto-detect period
python ts_decomposer.py --input data.csv --date date --value sales --auto-period
Generate plots
python ts_decomposer.py --input data.csv --date date --value sales --period 12 --plot components.png
More from claude-skill-registry
All skills →
About this skill
What does the time-series-decomposer skill do?

Decompose time series into trend, seasonal, and residual components. Use for forecasting, pattern analysis, and seasonality detection.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill time-series-decomposer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going