From altertable
Analyzes time series data for trends, anomalies, spikes, drops, and forecasts using Python tools like Chronos, statsforecast, and statsmodels. Use for metrics over hourly/daily/weekly/monthly periods.
npx claudepluginhub altertable-ai/skills --plugin altertableThis skill uses the workspace's default tool permissions.
1. Query time series data with the lakehouse (daily granularity, 30-90 days covers both tools well)
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Builds production-ready Apache Airflow DAGs with patterns for operators, sensors, testing, and deployment. For data pipelines, workflow orchestration, and batch jobs.
Share bugs, ideas, or general feedback.
Analyze Time Series Insight to detect anomalies and get a statistical forecastForecast with Chronos (needs 14+ days, best with 30+)This skill vs. forecast tasks: This skill runs on-demand, local analysis using Python tools (Chronos, statsmodels). For recurring, automated forecasting on a schedule, use the configuring-tasks skill to create a forecast task instead.
There are two complementary time series tools. Use one or both depending on the question.
| Analyze Time Series Insight | Forecast with Chronos | |
|---|---|---|
| Best for | "What happened?" | "What will happen?" |
| Anomaly detection | Yes (Z-score + IQR) | No |
| Forecasting method | Exponential smoothing | Chronos-2 ML model |
| Uncertainty bands | No | Yes (10th/90th percentile) |
| Minimum data | 3 days | 14 days |
| Recommended data | 14-90 days | 30-365 days |
| Default horizon | 7 days | 14 days |
| Max input size | 2000 chars | 3000 chars |
User question about a metric over time
│
├─ "Is this value normal?" / "Why did X spike?"
│ → Analyze Time Series Insight (anomaly detection)
│
├─ "What will happen next week?" / "Forecast revenue"
│ → Forecast with Chronos (ML forecast with uncertainty)
│
└─ "Analyze this trend and predict what's next"
→ Both: Analyze first, then Chronos for deeper forecast
Use query_lakehouse to get daily time series data. Format the result as:
[{"date": "2024-01-01", "value": 100}, {"date": "2024-01-02", "value": 105}]
Keep the data compact. Aggregate to weekly if the date range exceeds 90 days. The tools have strict character limits on input.
Start with Analyze Time Series Insight for a statistical overview:
If the user needs a more accurate forecast or wants confidence intervals, run Forecast with Chronos:
The analysis tool flags anomalies using two combined methods:
A value flagged by either method is reported. If the latest value is anomalous, it requires attention.
| Forecast Change | Interpretation |
|---|---|
| > +5% | Increasing trend |
| -5% to +5% | Stable |
| < -5% | Decreasing trend |
| Uncertainty Band Width | Confidence |
|---|---|
| < 20% of forecast mean | High — narrow band, reliable |
| 20-50% | Medium |
| > 50% | Low — wide band, treat with caution |