What is the Analyzing Time Series skill?
Analyzing Time Series is a coding skill by datawhalechina for Claude Code, Cursor, Codex and other AI coding agents. Comprehensive diagnostic analysis of time series data. Use when users provide CSV time series data and want to understand its characteristics before forecasting - stationarity, seasonality, trend, forecastability, and transform recommendations.
Comprehensive diagnostic toolkit to analyze time series data characteristics before forecasting.
When to use it
Use when users provide CSV time series data and want to understand its characteristics before forecasting - stationarity, seasonality, trend, forecastability, and transform recommendations.
What the SKILL.md covers
- Input Format
- Workflow
- Script Options
- Output Files
- References
- Dependencies
- Author
- datawhalechina
- Pack
- datawhalechina/agent-skills-with-anthropic (3 skills)
- Category
- Coding, #1505 of 1743
- Alyn Score
- 52 / 99
- Files
- 5, includes scripts, includes references
- License
- Not stated
- Last updated
- 3 months ago
- Works with
- Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot
Analyzing Time Series compared to similar skills
| Skill | Alyn Score | GitHub stars | Updated |
|---|---|---|---|
| Analyzing Time Series · datawhalechina | 52 | 1.6k | 3 months ago |
| Discernment Nudge · Anthropic | 84 | 193k | 5 days ago |
| Astropy · foryourhealth111-pixel | 69 | 3.8k | 3 days ago |
| Doubt Driven Development · Addy Osmani | 86 | 116k | 10 days ago |
Install Analyzing Time Series
Pick your agent. Every command is ready to paste.
npx alyn-cli add analyzing-time-seriesDetects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
npx skills add datawhalechina/agent-skills-with-anthropic --skill analyzing-time-seriesOr use the open skills CLI directly.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads analyzing-time-series when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the analyzing-time-series skill”. In Codex, type $analyzing-time-series.
Time Series Diagnostics
Comprehensive diagnostic toolkit to analyze time series data characteristics before forecasting.
Input Format
The input CSV file should have two columns:
- Date column - Timestamps or dates (e.g.,
date,timestamp,time) - Value column - Numeric values to analyze (e.g.,
value,sales,temperature)
Workflow
Step 1: Run diagnostics
python scripts/diagnose.py data.csv --output-dir results/
This runs all statistical tests and analyses. Outputs diagnostics.json with all metrics and summary.txt with human-readable findings. Column names are auto-detected, or can be specified with --date-col and --value-col options.
Step 2: Generate plots (optional)
python scripts/visualize.py data.csv --output-dir results/
Creates diagnostic plots in results/plots/ for visual inspection. Run after diagnose.py to ensure ACF/PACF plots are synchronized with stationarity results. Column names are auto-detected, or can be specified with --date-col and --value-col options.
Step 3: Report to user
Summarize findings from summary.txt and present relevant plots. See references/interpretation.md for guidance on:
- Is the data forecastable?
- Is it stationary? How much differencing is needed?
- Is there seasonality? What period?
- Is there a trend? What direction?
- Is a transform needed?
Script Options
Both scripts accept:
--date-col NAME- Date column (auto-detected if omitted)--value-col NAME- Value column (auto-detected if omitted)--output-dir PATH- Output directory (default:diagnostics/)--seasonal-period N- Seasonal period (auto-detected if omitted)
Output Files
results/
├── diagnostics.json # All test results and statistics
├── summary.txt # Human-readable findings
├── diagnostics_state.json # Internal state for plot synchronization
└── plots/
├── timeseries.png
├── histogram.png
├── rolling_stats.png
├── box_by_dayofweek.png # By day of week (if applicable)
├── box_by_month.png # By month (if applicable)
├── box_by_quarter.png # By quarter (if applicable)
├── acf_pacf.png
├── decomposition.png
└── lag_scatter.png
References
See references/interpretation.md for:
- Statistical test thresholds and interpretation
- Seasonal period guidelines by data frequency
- Transform recommendations
Dependencies
pandas, numpy, matplotlib, statsmodels, scipy
Tips for Analyzing Time Series
- • Start a fresh session after installing so your agent picks up the new skill.
- • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
- • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
- • It is part of a pack with 3 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Analyzing Time Series
What does the Analyzing Time Series skill do?
Comprehensive diagnostic analysis of time series data. Use when users provide CSV time series data and want to understand its characteristics before forecasting - stationarity, seasonality, trend, forecastability, and transform recommendations.
How do I install Analyzing Time Series?
Run "npx alyn-cli add analyzing-time-series" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Analyzing Time Series work in Cursor and Codex?
Yes. Analyzing Time Series uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
When should I use the Analyzing Time Series skill?
Use when users provide CSV time series data and want to understand its characteristics before forecasting - stationarity, seasonality, trend, forecastability, and transform recommendations.
What is inside the Analyzing Time Series skill?
The SKILL.md covers Input Format, Workflow, Script Options, Output Files, References, Dependencies, and the skill folder has 5 files including scripts.
What is a good alternative to Analyzing Time Series?
Discernment Nudge by Anthropic is the highest-ranked similar skill from another creator, with an Alyn Score of 84 compared to 52 for Analyzing Time Series.
Is Analyzing Time Series free?
Analyzing Time Series is open source on GitHub. It is free to install; check the license before commercial use.
Who made Analyzing Time Series?
Analyzing Time Series is published by datawhalechina in the datawhalechina/agent-skills-with-anthropic repository, together with 2 other skills.




