anofox-forecast

Run 32 time series forecasting models with pure SQL in DuckDB.

37|3|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/DataZooDE/anofox-forecast --skill anofox-forecast
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anofox-forecast
Source: https://github.com/DataZooDE/anofox-forecast/tree/main/.claude/skills/anofox-forecast
Command: npx skills add https://github.com/DataZooDE/anofox-forecast --skill anofox-forecast

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of tools for time series forecasting directly within DuckDB, eliminating the need to move data to external Python environments for analysis.

Core Features & Use Cases

  • 32 Forecasting Models: Supports a wide range of models from simple baselines to advanced methods like AutoARIMA, MSTL, and TBATS.
  • Full Workflow Support: Includes data preparation, feature calculation, cross-validation, backtesting, and evaluation metrics.
  • Use Case: Forecast daily sales for thousands of products by running pure SQL queries within DuckDB, leveraging the extension's optimized performance.

Quick Start

Use the anofox-forecast skill to forecast 14 days ahead using the AutoETS model on your 'sales' table, grouping by 'product_id' with 'date' as the time column and 'revenue' as the value.

Frequently Asked Questions about anofox-forecast

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run time series forecasting in SQL without moving data to Python?

Time series forecasting in SQL is achievable directly within DuckDB using pure SQL queries. This approach eliminates the need to export data to external Python environments, supporting 32 forecasting models, feature extraction, and cross-validation natively.

Can I forecast multiple time series at once in DuckDB?

Yes, you can forecast multiple time series simultaneously in DuckDB. The workflow supports multi-series forecasting, allowing you to group data by identifiers like 'product_id' to efficiently generate predictions for thousands of items in a single query.

What forecasting models are available for SQL time series analysis?

SQL time series analysis supports 32 forecasting models, ranging from simple baselines to advanced methods. Available models include AutoARIMA, MSTL, TBATS, and AutoETS, providing options for various time series patterns and forecasting requirements.

Does DuckDB support cross-validation and backtesting for time series?

DuckDB supports comprehensive time series validation through cross-validation and backtesting. The workflow includes data preparation, feature calculation, and evaluation metrics, ensuring robust model assessment and conformal prediction directly within the database environment.

What is the best way to forecast daily sales for thousands of products in SQL?

The best way to forecast daily sales for thousands of products in SQL is by leveraging DuckDB's optimized analytical capabilities. You can run pure SQL queries to forecast ahead, grouping by product ID and using your date and revenue columns for accurate multi-series predictions.

Do I need Python to use ML models like AutoARIMA with my database data?

You do not need Python to use ML models like AutoARIMA with your database data. Advanced forecasting models, including MSTL and TBATS, can be applied directly within DuckDB using pure SQL, keeping the entire machine learning workflow inside the database.