Build demand forecasts using time series, causal models, and expert judgment for planning, inventory, and capacity decisions with scenario analysis.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install afrexai-demand-forecasting或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install afrexai-demand-forecasting⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/afrexai-demand-forecasting/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
Build accurate demand forecasts using multiple methodologies. Combines statistical models with market intelligence for actionable predictions.
Best for: Established products with 24+ months of history.
Decompose into: Trend + Seasonality + Cyclical + Residual
Moving Average (3-month):
Forecast = (Month_n + Month_n-1 + Month_n-2) / 3
Weighted Moving Average:
Forecast = (0.5 × Month_n) + (0.3 × Month_n-1) + (0.2 × Month_n-2)
Exponential Smoothing (α = 0.3):
Forecast_t+1 = α × Actual_t + (1-α) × Forecast_t
Best for: Products where external factors drive demand.
Key drivers to model:
Demand = β₀ + β₁(Price) + β₂(Marketing) + β₃(Season) + β₄(Economic) + ε
Best for: New products, market disruptions, limited data.
Methods:
Combine methods using confidence-weighted average:
| Method | Weight (Mature Product) | Weight (New Product) | |--------|------------------------|---------------------| | Time Series | 50% | 10% | | Causal | 30% | 20% | | Judgmental | 20% | 70% |
| Metric | Formula | Target | |--------|---------|--------| | MAPE | Avg(|Actual - Forecast| / Actual) × 100 | <15% | | Bias | Σ(Forecast - Actual) / n | Near 0 | | Tracking Signal | Cumulative Error / MAD | -4 to +4 | | Weighted MAPE | Revenue-weighted MAPE | <10% for top SKUs |
| Segment | Volume | Variability | Approach | |---------|--------|-------------|----------| | AX | High | Low | Auto-replenish, tight safety stock | | AY | High | Medium | Statistical + review quarterly | | AZ | High | High | Collaborative planning, buffer stock | | BX | Medium | Low | Statistical, periodic review | | BY | Medium | Medium | Hybrid model | | BZ | Medium | High | Judgmental + safety stock | | CX | Low | Low | Min/max rules | | CY | Low | Medium | Periodic review | | CZ | Low | High | Make-to-order where possible |
Safety Stock = Z × σ_demand × √(Lead Time)
Where:
Z = Service level factor (95% = 1.65, 98% = 2.05, 99% = 2.33)
σ_demand = Standard deviation of demand
Lead Time = In same units as demand period
For each forecast, generate three scenarios:
| Scenario | Probability | Assumptions | |----------|-------------|-------------| | Bear | 20% | -15% to -25% vs base. Recession, market contraction, competitor disruption | | Base | 60% | Historical trends + known pipeline. Most likely outcome | | Bull | 20% | +15% to +25% vs base. Market expansion, product virality, competitor exit |
| Industry | Typical MAPE | Forecast Horizon | Key Driver | |----------|-------------|-----------------|------------| | CPG/FMCG | 20-30% | 3-6 months | Promotions, seasonality | | Retail | 15-25% | 1-3 months | Trends, weather, events | | Manufacturing | 10-20% | 6-12 months | Orders, lead times | | SaaS | 10-15% | 12 months | Pipeline, churn, expansion | | Healthcare | 15-25% | 3-6 months | Regulation, demographics | | Construction | 20-35% | 12-24 months | Permits, economic cycle |
For a company doing $10M revenue:
Total impact: $450K-$1.15M annually from a 5-point MAPE improvement.
---
These frameworks scratch the surface. For complete, deployment-ready agent configurations tailored to your industry:
AfrexAI Context Packs — $47 each
AI Revenue Calculator — Find your automation ROI in 2 minutes
Agent Setup Wizard — Configure your AI agent stack
安装 Demand Forecasting Framework 后,可以对 AI 说这些话来触发它
Help me get started with Demand Forecasting Framework
Explains what Demand Forecasting Framework does, walks through the setup, and runs a quick demo based on your current project
Use Demand Forecasting Framework to build demand forecasts using time series, causal models, and expert...
Invokes Demand Forecasting Framework with the right parameters and returns the result directly in the conversation
What can I do with Demand Forecasting Framework in my data & analytics workflow?
Lists the top use cases for Demand Forecasting Framework, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/afrexai-demand-forecasting/ 目录(个人级,所有项目可用),或 .claude/skills/afrexai-demand-forecasting/(项目级)。重启 AI 客户端后,用 /afrexai-demand-forecasting 主动调用,或让 AI 根据上下文自动发现并使用。
Demand Forecasting Framework 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Demand Forecasting Framework 可免费安装使用。请查阅仓库了解许可证信息。
Build demand forecasts using time series, causal models, and expert judgment for planning, inventory, and capacity decisions with scenario analysis.
Demand Forecasting Framework 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Demand Forecasting Framework
Identifies repetitive steps in your workflow and sets up Demand Forecasting Framework to handle them automatically