Agent skill

demand-forecasting-engine

AI-powered demand prediction skill using historical data, market signals, and external factors for improved forecast accuracy

Stars 514
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/domains/business/logistics/skills/demand-forecasting-engine

Metadata

Additional technical details for this skill

domain
business
category
inventory
priority
high
specialization
logistics
shared candidate
YES

SKILL.md

Demand Forecasting Engine

Overview

The Demand Forecasting Engine is an AI-powered skill that generates accurate demand predictions using historical data, market signals, and external factors. It employs multiple forecasting methods including time series analysis and machine learning models to improve forecast accuracy and support inventory planning decisions.

Capabilities

  • Time Series Forecasting (ARIMA, Prophet, etc.): Apply classical and modern time series methods for demand prediction
  • Machine Learning Demand Models: Use ML algorithms to capture complex demand patterns and relationships
  • Promotional Lift Modeling: Incorporate promotional calendar and estimate promotional demand lift
  • External Factor Integration (Weather, Events): Include weather, events, and economic indicators in forecasts
  • Forecast Accuracy Measurement: Track and report forecast accuracy using standard metrics (MAPE, bias, etc.)
  • Demand Sensing with POS Data: Incorporate point-of-sale data for short-term demand adjustments
  • New Product Forecasting: Generate forecasts for new products using analogous items or market research

Tools and Libraries

  • Prophet
  • statsmodels
  • scikit-learn
  • TensorFlow/PyTorch
  • Demand Planning Platforms

Used By Processes

  • Demand Forecasting
  • Reorder Point Calculation
  • ABC-XYZ Analysis

Usage

yaml
skill: demand-forecasting-engine
inputs:
  item:
    sku: "SKU001"
    category: "Consumer Electronics"
    lifecycle_stage: "mature"
  historical_data:
    frequency: "weekly"
    periods: 104  # 2 years
    data: [...]  # Weekly demand values
  external_factors:
    include_seasonality: true
    include_promotions: true
    promotion_calendar:
      - date: "2026-02-14"
        type: "price_reduction"
        expected_lift: 1.5
    include_weather: false
  forecast_parameters:
    horizon_periods: 12
    confidence_level: 95
    methods: ["prophet", "arima", "ml_ensemble"]
outputs:
  forecasts:
    method: "ml_ensemble"  # Best performing method
    predictions:
      - period: "2026-W05"
        forecast: 1250
        lower_bound: 1125
        upper_bound: 1375
      - period: "2026-W06"
        forecast: 1180
        lower_bound: 1062
        upper_bound: 1298
  accuracy_metrics:
    historical_mape: 8.5
    historical_bias: -2.1
    tracking_signal: 0.3
  method_comparison:
    prophet: { mape: 9.2, bias: -1.5 }
    arima: { mape: 10.1, bias: 2.3 }
    ml_ensemble: { mape: 8.5, bias: -2.1 }
  recommendations:
    best_method: "ml_ensemble"
    forecast_review_flag: false
    anomalies_detected: []

Integration Points

  • Enterprise Resource Planning (ERP) Systems
  • Demand Planning Systems
  • Inventory Management Systems
  • Point of Sale (POS) Systems
  • External Data Providers

Performance Metrics

  • Forecast accuracy (MAPE)
  • Forecast bias
  • Tracking signal
  • Value-added improvement
  • Forecast coverage

Expand your agent's capabilities with these related and highly-rated skills.

a5c-ai/babysitter

gsd-tools

Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).

514 31
Explore
a5c-ai/babysitter

model-profile-resolution

Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.

514 31
Explore
a5c-ai/babysitter

verification-suite

Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.

514 31
Explore
a5c-ai/babysitter

state-management

STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.

514 31
Explore
a5c-ai/babysitter

git-integration

Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.

514 31
Explore
a5c-ai/babysitter

frontmatter-parsing

YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.

514 31
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results