Aloudata CAN SKILLS - forecast-simulation
CLAWHUB · Unverified
基于已有数据进行趋势预测、目标缺口分析、What-if 模拟和耗尽/饱和预测。当用户希望了解指标的未来走势、评估目标是否可达、模拟假设场景的影响时,必须使用此 Skill。 触发场景包括但不限于:用户提到"预测""预估""月底能到多少""能不能完成目标""还差多少""如果XX会怎样""提升10%会怎样""库存还能... Skill: Aloudata CAN SKILLS - forecast-simulation Owner: jackyujun Summary: 基于已有数据进行趋势预测、目标缺口分析、What-if 模拟和耗尽/饱和预测。当用户希望了解指标的未来走势、评估目标是否可达、模拟假设场景的影响时,必须使用此 Skill。 触发场景包括但不限于:用户提到"预测""预估""月底能到多少""能不能完成目标""还差多少""如果XX会怎样""提升10%会怎样""库存还能... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-31T14:18:30.893Z | user Initial release — introduces skill for simple, math-based forecasting, gap analysis, what-if simulation, an
- 62
- Rank
- 84
- Safety
- 1.1k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · Oct 11, 2026
- Latest release
- 1.0.0release · Mar 31, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.0release
Initial release — introduces skill for simple, math-based forecasting, gap analysis, what-if simulation, and depletion/saturation prediction based on existing data. - Supports four scenarios: trend extrapolation, target gap analysis, what-if simulation, and depletion/saturation prediction. - Automatically triggers when user intentions relate to "future" or "what-if," even if not explicitly stated. - Delegates all data queries to the metric-query skill; this skill only handles forecasting logic on returned data. - Includes standard Python code for local linear regression, moving average, and related calculations. - Emphasizes necessary caveats: all forecasts depend on recent trends and are not machine learning predictions. Results include uncertainty and assumption notes. - Provides clear guidelines distinguishing from metric-query, anomaly-detection, and metric-attribution skills.
Observed Mar 31, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s172qm3yezbbjev7q8rsxxbd1s83he2f:forecast-simulation- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jackyujun-forecast-simulation/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
15,045 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: forecast-simulation
description: |
基于已有数据进行趋势预测、目标缺口分析、What-if 模拟和耗尽/饱和预测。当用户希望了解指标的未来走势、评估目标是否可达、模拟假设场景的影响时,必须使用此 Skill。
触发场景包括但不限于:用户提到"预测""预估""月底能到多少""能不能完成目标""还差多少""如果XX会怎样""提升10%会怎样""库存还能撑多久""按这个趋势""达标需要多少""推演""模拟""What-if""情景分析""按目前的速度""还需要多久""够不够""能不能达成""离目标还有多远""日均需要多少""按目前进度""趋势外推""预计""估算",或用户对未来走势、目标可行性、假设场景表达了疑问时,都应使用此 Skill。
即使用户没有直接说"预测",只要其意图是了解"未来会怎样"或"如果改变某个条件结果会怎样",都应触发此 Skill。例如用户说"这个月能卖到 1000 万吗""如果投放加倍呢""照这样下去年底会怎样",都应触发。
**触发判定关键**:用户的意图是了解**未来**的事,或模拟**假设**场景。区分方式:
- "上月销售额多少" → metric-query(看过去)
- "月底销售额能到多少" → forecast-simulation(看未来)
- "销售额正常吗" → anomaly-detection(判断现在)
- "销售额为什么跌了" → metric-attribution(解释过去)
**与相邻 Skill 的区分**:
- metric-query / anomaly-detection / metric-attribution 都是看过去和现在
- forecast-simulation(本 Skill)是看未来
**重要:本 Skill 基于历史数据做简单数学推算(趋势拟合、公式模拟),不是机器学习预测模型。推算结果应附带前提假设和不确定性说明。**
---
# 预测推演 Skill
## 执行模式
- **强模型**(Claude Opus/Sonnet, GPT-4o/5):遵循"原则"段落,自行决定实现细节
- **标准模型**(Qwen, DeepSeek, Llama):严格按"模板"段落执行,使用提供的代码块,不要自行改写
> 如果你不确定自己属于哪个类别,请按"标准模型"模式执行。
## 定位
本 Skill 回答的核心问题是:**"接下来会怎样?"**
它是分析链条中面向未来的一环:
```
metric-query(过去发生了什么)
anomaly-detection(现在正不正常)
metric-attribution(为什么会这样)
forecast-simulation(接下来会怎样)← 本 Skill
```
---
## 四种推演能力
| 类型 | 核心问题 | 典型场景 |
|------|---------|---------|
| **趋势外推** | 按目前趋势,未来值是多少? | "月底销售额能到多少" |
| **目标缺口** | 能不能完成目标?差多少? | "离 KPI 还差多远""日均需要多少" |
| **What-if 模拟** | 如果改变某个条件,结果会怎样? | "客单价提升 10% GMV 会变多少" |
| **耗尽/饱和预测** | 按当前消耗/增长速度,还能撑/到多久? | "库存还能卖几天""多久能回本" |
---
## 数据获取方式
本 Skill 的所有数据查询均**委派 metric-query Skill 执行**,不直接调用 Gateway API。
需要数据时,向 metric-query Skill 提供查询意图即可,例如:
- "搜索与销售额相关的指标"
- "查询 retail_amt 近30天按天展开的数据"
- "查询本月至今的累计销售额"
- "查询当前库存量"
metric-query Skill 负责 API 认证、请求构建等所有细节。本 Skill 聚焦于拿到数据后的**预测推演逻辑**。
---
## 推演类型一:趋势外推
### 适用场景
用户关心"按目前趋势往后走会怎样":
- "这个月底销售额能到多少"
- "按这个速度年底库存周转率能改善到多少"
- "照这个趋势下个月会怎样"
### 执行步骤
**Step 1:拉历史数据**
根据预测时间跨度选择合适的历史窗口和粒度:
| 预测目标 | 历史窗口 | 时间粒度 |
|---------|---------|---------|
| 月底(剩余数天) | 近 30 天 | 按天 |
| 下个月 | 近 3-6 个月 | 按月 |
| 季度/年度 | 近 6-12 个月 | 按月 |
**委派 metric-query 查询**:查询 retail_amt 近30天按天展开的数据。
参考查询参数:
```json
{
"metrics": ["retail_amt"],
"dimensions": ["metric_time__day"],
"timeConstraint": "DateTrunc(['metric_time'], \"DAY\") >= DATEADD(DateTrunc(NOW(), \"DAY\"), -30, \"DAY\") AND ['metric_time__day'] < DateTrunc(NOW(), \"DAY\")",
"orders": [{"metric_time__day": "asc"}]
}
```
**Step 2:拟合趋势**
在本地用 Python 进行趋势拟合:
选择拟合方法:
- **线性回归**:适用于稳定增长/下降趋势,最常用
- **移动平均**:适用于波动较大的数据,用近 N 天均值作为未来预估
- **加权移动平均**:近期数据权重更高,适合趋势有变化的场景
**完整 Python 代码(标准模型直接复制执行):**
```python
import numpy as np
def forecast_trend(values, remaining_days, method="linear"):
"""
输入:
values: list, 历史每日指标值(按时间升序)
remaining_days: int, 需要预测的天数
method: str, "linear"(线性回归)/ "moving_avg"(移动平均)/ "weighted_avg"(加权移动平均)
输出:
forecast: dict, 包含预测值和置信区间
"""
n = len(values)
days = np.arange(1, n + 1)
if method == "linear":
# 线性回归
slo_meta.json
{
"ownerId": "kn7a65qw8tzzh15x5fhs1yx85n835khy",
"slug": "forecast-simulation",
"version": "1.0.0",
"publishedAt": 1774966710893
}skill-card.md
## Description: Forecast-simulation guides agents through simple math-based trend forecasts, target gap analysis, what-if scenarios, and depletion or saturation predictions using existing metric data. This skill is ready for commercial/non-commercial use. ## Publisher: [jackyujun](https://clawhub.ai/user/jackyujun) ### License/Terms of Use: MIT-0 ## Use Case: Developers and business analysts use this skill to help an agent answer future-looking metric questions, evaluate target gaps, model what-if assumptions, and estimate depletion or saturation timing from existing data. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill may activate on broad future-looking business questions and cause metric-query to retrieve relevant business metrics. Mitigation: Review activation behavior and data-access expectations before deployment, and ensure metric-query access is appropriate for the intended users. Risk: Forecasts and simulations are simple estimates that may be mistaken for authoritative predictions. Mitigation: Require outputs to state assumptions, uncertainty, and review needs before business decisions are made from the results. ## Reference(s): - [ClawHub skill release](https://clawhub.ai/jackyujun/skills/forecast-simulation) ## Skill Output: **Output Type(s):** [text, markdown, code, guidance] **Output Format:** [Markdown-style analytical guidance with assumptions, uncertainty notes, and optional Python calculation snippets] **Output Parameters:** [1D] **Other Properties Related to Output:** [Forecast outputs should be treated as simple estimates based on recent trends, not authoritative predictions.] ## Skill Version(s): 1.0.0 (source: server release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-jackyujun-forecast-simulation. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Aloudata CAN SKILLS - forecast-simulation. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-jackyujun-forecast-simulation, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/jackyujun/skills/forecast-simulation",
"sourceUrl": "https://clawhub.ai/jackyujun/skills/forecast-simulation",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:54:22.428Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jackyujun-forecast-simulation/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jackyujun-forecast-simulation/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T12:54:22.428Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/jackyujun/forecast-simulation",
"sourceUrl": "https://clawhub.ai/jackyujun/forecast-simulation",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:54:22.428Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/jackyujun/forecast-simulation",
"sourceUrl": "https://clawhub.ai/jackyujun/forecast-simulation",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-31T14:18:30.893Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jackyujun-forecast-simulation/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jackyujun-forecast-simulation/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "Initial release — introduces skill for simple, math-based forecasting, gap analysis, what-if simulation, and depletion/saturation prediction based on existing data. - Supports four scenarios: trend extrapolation, target gap analysis, what-if simulation, and depletion/saturation prediction. - Automatically triggers when user intentions relate to \"future\" or \"what-if,\" even if not explicitly stated. - Delegates all data queries to the metric-query skill; this skill only handles forecasting logic on returned data. - Includes standard Python code for local linear regression, moving average, and related calculations. - Emphasizes necessary caveats: all forecasts depend on recent trends and are not machine learning predictions. Results include uncertainty and assumption notes. - Provides clear guidelines distinguishing from metric-query, anomaly-detection, and metric-attribution skills.",
"href": "https://clawhub.ai/jackyujun/forecast-simulation",
"sourceUrl": "https://clawhub.ai/jackyujun/forecast-simulation",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-31T14:18:30.893Z",
"isPublic": true
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-jackyujun-forecast-simulation/run-check
