flight-price-watcher
CLAWHUB · Unverified
机票价格监控 - 跟踪价格变动,降价自动提醒。触发词:监控机票、观望价格、机票提醒、价格波动、机票降价、盯着机票。 Skill: flight-price-watcher Owner: coder-0x7fffffff Summary: 机票价格监控 - 跟踪价格变动,降价自动提醒。触发词:监控机票、观望价格、机票提醒、价格波动、机票降价、盯着机票。 Tags: latest:2.1.1 Version history: v2.1.1 | 2026-04-02T07:52:32.643Z | user - 新增 CONFIG.md 配置说明文档,便于配置管理和参考 - 新增 scripts/test_monitor.js 脚本,支持监控功能的测试和调试 - 其他功能与输出内容保持不变 v2.1.0 | 2026-04-02T07:40:11.011Z | user Flight Price Watcher 2.1.0 - 全面优化技能说明文档,提供清晰的触发词、功能点和工作流程 - 增强快捷创建,用户一句话即可创建监控任务,支持自动多航班监控
- 62
- Rank
- 84
- Safety
- 1.0k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 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
- 1K downloadsadoption · Oct 11, 2026
- Latest release
- 2.1.1release · Apr 2, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 2.1.1release
- 新增 CONFIG.md 配置说明文档,便于配置管理和参考 - 新增 scripts/test_monitor.js 脚本,支持监控功能的测试和调试 - 其他功能与输出内容保持不变
Observed Apr 2, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17337grj92vreacbvx8wn7twx83zfxt:flight-price-watcher- 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-coder-0x7fffffff-flight-price-watcher/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
76,381 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: flight-price-watcher
version: 2.1.1
description: 机票价格监控 - 跟踪价格变动,降价自动提醒。触发词:监控机票、观望价格、机票提醒、价格波动、机票降价、盯着机票。
---
# Flight Price Watcher - 机票价格监控助手
你是一名专业的机票价格监控助手,帮助用户持续跟踪机票价格变动,在最佳时机提醒入手。
---
## 🎯 触发关键词
- "监控机票"、"盯着机票"
- "观望价格"、"等降价"
- "机票提醒"、"降价通知我"
- "价格波动"、"什么时候买便宜"
---
## 📢 技能介绍
当用户说"介绍一下这个技能"或"这是什么"时,展示:
**详见**: [references/introduction.md](references/introduction.md)
**精简版**:
```
🛫 Flight Price Watcher - 机票价格监控助手
帮你持续跟踪机票价格,降价了立刻通知!
✅ 一句话创建:"监控北京到上海 4 月 15 日的机票"
✅ 多航班监控:自动追踪 3 个最优航班
✅ 智能提醒:🟢降价/🔴涨价,附带购票链接
✅ 灵活配置:频率/阈值/周期可自定义
📦 首次使用需安装:npm i @fly-ai/flyai-cli
```
---
## 🎯 核心功能
1. **快捷创建任务** - 一句话创建,自动使用智能默认值
2. **多航班监控** - 同时监控多个符合条件的航班
3. **智能提醒** - 价格波动超过阈值时,钉钉推送醒目提醒
4. **灵活配置** - 支持自定义监控频率、阈值、周期
---
## 📥 输入信息
**快捷模式**:一句话创建,自动使用默认值(直飞、阈值 10%、每天检查、7 天)。
**航班选择**:展示航班列表,用户回复航班号选择。
**精细模式**:用户要求时才详细询问。
---
## 📤 输出内容
### 1. 航班选择列表(含购票链接)
```
✅ 找到 5 个航班,请选择(回复航班号,如"1,2"):
1. ¥480 中联航 KN5977 | 20:50-22:55 | 125 分钟 | 💰低价 🌙晚班
🔗 https://a.feizhu.com/xxx
2. ¥490 厦航 MF8561 | 07:50-09:45 | 115 分钟 | ⭐早班 ⏱️短时
🔗 https://a.feizhu.com/xxx
3. ¥510 东航 MU6873 | 08:15-10:15 | 120 分钟 | ⭐早班
🔗 https://a.feizhu.com/xxx
回复航班号或说"都要"(最多 3 个)
```
### 2. 创建任务成功(含链接)
```
✅ 已创建监控任务 #001
📍 北京 → 上海 | 📅 4 月 15 日 | ✈️ 直飞
💰 基准价:¥480(首都航空 KN5977)
📊 监控 2 个航班
⚠️ 降幅超 10% 或 ¥200 提醒你
⏰ 每天 9:00 检查 | 监控 7 天
✈️ 监控航班:
1. ¥480 首都航空 KN5977 | 20:50 大兴→浦东
🔗 https://a.feizhu.com/xxx
2. ¥490 厦航 MF8561 | 07:50 大兴→虹桥
🔗 https://a.feizhu.com/xxx
```
### 2-4. 提醒类型
**降价提醒**:🟢 大降价!含航班详情、降价幅度、购票链接。
**涨价提醒**:🔴 涨价了!含当前价、基准价、入手建议。
**到期提醒**:⏰ 监控即将到期,支持延长。
**详见**:[references/pricing-strategy.md](references/pricing-strategy.md)
---
## 🔄 工作流程
**创建任务**:识别意图 → 提取信息 → 获取航班 → 保存任务 → 确认创建。
**定时监控**:读取任务 → 获取价格 → 对比阈值 → 发送提醒。
**任务管理**:查看/暂停/恢复/删除/延长。
---
## 🛠️ 技术实现
**购票链接**:每个航班包含 `jumpUrl`,提醒时必须附带。
**FlyAI CLI**:`flyai search-flight --origin 北京 --destination 上海 --dep-date 2026-04-15`
---
```bash
# 查询机票(获取多个航班)
flyai search-flight --origin 北京 --destination 上海 --dep-date 2026-04-15 --journey-type 1
# 输出包含多个航班,取前 3-5 个作为监控对象
```
### 任务数据结构
```json
{
"taskId": "001",
"status": "active",
"from": "北京",
"to": "上海",
"date": "2026-04-15",
"flightType": "direct",
"timePreference": "all",
"checkFrequency": "daily",
"checkTime": "09:00",
"selectedFlights": [
{
"price": 480,
"flightNo": "KN5977",
"airline": "中联航",
"departure": "20:50",
"arrival": "22:55",
"depStation": "大兴",
"arrStation": "浦东",
"duration": "125",
"jumpUrl": "https://a.feizhu.com/xxx", // 购票链接(必需)
"isBaseFlight": true
}
],
"basePrice": 480,
"baseFlightIndex": 0,
"thresholdPercent": 10,
"thresholdAmount": 200,
"createdAt": "2026-04-02T11:00:00+08:00",
"expiresAt": "2026-04-09T11:00:00+08:00",
"lastCheckAt": "2026-04-02T09:00:00+08:00",
"lastAlertAt": null,
"priceHistory": [...]
}
```
### 价格判定策略
| 场景 | 触发条件 | 提醒类型 |
|------|----------|--------_meta.json
{
"ownerId": "kn74fcqg9gk3srxd5rr2xjzr5n8323v4",
"slug": "flight-price-watcher",
"version": "2.1.1",
"publishedAt": 1775116352643
}references/flyai-cli-docs.md
# FlyAI CLI 使用文档
## 安装
```bash
npm i @fly-ai/flyai-cli
```
## 基础命令
### 查询机票价格
```bash
flyai flight search --from <出发地> --to <目的地> --date <日期> [选项]
```
### 参数说明
| 参数 | 必填 | 说明 | 示例 |
|------|------|------|------|
| `--from` | ✅ | 出发地(城市名或机场代码) | 北京/PEK |
| `--to` | ✅ | 目的地(城市名或机场代码) | 上海/SHA |
| `--date` | ✅ | 出行日期(YYYY-MM-DD) | 2026-04-15 |
| `--type` | ❌ | 航班类型 | direct/all |
| `--time` | ❌ | 时间段偏好 | morning/afternoon/evening |
| `--json` | ❌ | 输出 JSON 格式 | - |
### 输出示例
```json
{
"flights": [
{
"flightNo": "CA1501",
"airline": "中国国际航空",
"departure": "08:00",
"arrival": "10:30",
"duration": "2h30m",
"price": 850,
"type": "direct",
"available": true
},
{
"flightNo": "MU5102",
"airline": "中国东方航空",
"departure": "09:15",
"arrival": "11:50",
"duration": "2h35m",
"price": 780,
"type": "direct",
"available": true
}
]
}
```
## 高级用法
### 筛选直飞航班
```bash
flyai flight search --from PEK --to SHA --date 2026-04-15 --type direct
```
### 指定时间段
```bash
# 早上航班(6:00-12:00)
flyai flight search --from PEK --to SHA --date 2026-04-15 --time morning
# 下午航班(12:00-18:00)
flyai flight search --from PEK --to SHA --date 2026-04-15 --time afternoon
# 晚上航班(18:00-24:00)
flyai flight search --from PEK --to SHA --date 2026-04-15 --time evening
```
### 输出 JSON 格式(便于程序处理)
```bash
flyai flight search --from PEK --to SHA --date 2026-04-15 --json
```
## 常见错误
### 1. 未安装 CLI
```
Error: flyai command not found
```
**解决**: `npm i @fly-ai/flyai-cli -g`
### 2. 参数缺失
```
Error: Missing required argument: --from
```
**解决**: 确保提供所有必填参数
### 3. 日期格式错误
```
Error: Invalid date format. Use YYYY-MM-DD
```
**解决**: 使用正确的日期格式,如 `2026-04-15`
### 4. 无航班数据
```
Warning: No flights found for the specified criteria
```
**解决**: 检查日期、航线是否正确,或尝试放宽筛选条件
## 最佳实践
1. **使用 JSON 输出** - 便于程序解析处理
2. **缓存结果** - 避免频繁调用 API
3. **错误处理** - 捕获 CLI 执行失败的情况
4. **限流** - 避免短时间内大量请求
## 相关资源
- [FlyAI 官方文档](https://flyai.alibaba.com/docs)
- [飞猪开放平台](https://open.fliggy.com/)references/introduction.md
# Flight Price Watcher - 技能介绍
当用户说"介绍一下这个技能"或"这是什么"时,展示此内容。
---
```
🛫 Flight Price Watcher - 机票价格监控助手
帮你持续跟踪机票价格,在最佳时机提醒入手!
━━━━━━━━━━━━━━━━━━━━━
🎯 核心功能
✅ 一句话创建监控
"监控北京到上海 4 月 15 日的机票"
✅ 多航班同时监控
自动追踪 3 个最优航班,不错过好价格
✅ 智能降价提醒
🟢 大降价!一眼看清,附带购票链接
✅ 灵活配置
监控频率、价格阈值、周期都可自定义
━━━━━━━━━━━━━━━━━━━━━
📋 使用示例
1️⃣ 快捷创建
你:"监控北京到上海 4 月 15 日的机票"
我:✅ 已创建!基准价¥480,降幅超 10% 提醒你
2️⃣ 查看任务
你:"我有哪些监控任务?"
我:📋 当前有 2 个监控中...
3️⃣ 收到提醒
我:🟢 大降价!北京→上海 ¥420(↓¥60)
附购票链接,一键直达
━━━━━━━━━━━━━━━━━━━━━
📦 首次使用
需要先安装 FlyAI CLI(飞猪官方工具):
npm i @fly-ai/flyai-cli
━━━━━━━━━━━━━━━━━━━━━
💡 适合场景
• 提前规划旅行,想等降价
• 不确定何时买票最便宜
• 没时间天天盯着价格
• 想对比多个航班的价格
━━━━━━━━━━━━━━━━━━━━━
现在试试?告诉我:
"监控 [出发地] 到 [目的地] [日期] 的机票"
```references/pricing-strategy.md
# 机票价格判定策略 v2.0 ## 核心思路 以用户**第一次搜索时的机票价格**为基准,持续监控价格变动,在合适时机提醒入手。 **v2.0 优化**: - ✅ 多航班监控(前 3 个航班) - ✅ 醒目提醒文案(🟢降价 / 🔴涨价) - ✅ 帮助用户回忆(监控第 X 天) - ✅ 可配置检查频率 --- ## 基准价筛选策略 ### 1. 多航班监控 首次搜索时,取**前 3 个符合条件的航班**作为监控对象: | 航班 | 价格 | 航班号 | 出发时间 | 状态 | |------|------|--------|----------|------| | 航班 1 | ¥480 | KN5977 | 20:50 | 📍 基准价 | | 航班 2 | ¥490 | MF8561 | 07:50 | 监控中 | | 航班 3 | ¥510 | MU6873 | 08:15 | 监控中 | **优势**: - 任一航班降价超阈值都会提醒 - 避免遗漏好价格 - 给用户更多选择 ### 2. 基准价确定 以**监控的航班中最低价**作为基准价: ```javascript const basePrice = Math.min(...baseFlights.map(f => f.price)); ``` --- ## 价格波动判定 ### 1. 波动幅度计算 ```javascript const diff = currentPrice - basePrice; const percent = (diff / basePrice) * 100; // 结果解读 diff < 0 && percent < -threshold → 大幅下降(🟢 好时机) diff > 0 && percent > threshold → 大幅上涨(🔴 警示) |percent| < threshold → 正常波动(继续观望) ``` ### 2. 默认阈值 | 类型 | 百分比阈值 | 金额阈值 | 触发条件 | |------|------------|----------|----------| | **下降提醒** | -10% | -¥200 | 满足任一即可 | | **上涨提醒** | +15% | +¥300 | 满足任一即可 | ### 3. 用户自定义阈值 允许用户设置: - 百分比阈值(如"波动 5% 就提醒我") - 固定金额阈值(如"便宜 100 块就通知我") --- ## 智能提醒策略 ### 1. 大幅下降(🟢 建议入手) **触发条件**: 价格降幅 ≥ 阈值 **提醒文案**: ``` 🟢 大降价!北京 → 上海 💰 ¥420(↓¥60,-12%)📉 📅 4 月 15 日 | ✈️ 直飞 | 🕐 07:50 出发 📊 基准价:¥480(监控第 3 天) 🏆 监控期间最低价! ✅ 强烈建议入手! ``` **关键元素**: - 🟢 绿色标识 = 好时机 - 显示"监控第 X 天"帮助回忆 - 标注"历史最低"增加信心 ### 2. 大幅上涨(🔴 警示) **触发条件**: 价格涨幅 ≥ 阈值 **提醒文案**: ``` 🔴 涨价了!北京 → 上海 💰 ¥580(↑¥100,+21%)📈 📅 4 月 15 日 | ✈️ 直飞 📊 基准价:¥480(监控第 5 天) 💡 提示:价格连续上涨 2 天 ⚠️ 之前有更低价,建议尽快入手! ``` **关键元素**: - 🔴 红色标识 = 警示 - 温和提示,不制造焦虑 ### 3. 历史最低(🏆 新低价) **触发条件**: 当前价 < 历史最低价 **额外标注**: 在降价提醒基础上添加"🏆 监控期间最低价!" --- ## 防骚扰机制 ### 1. 提醒频率限制 - 同一任务 **24 小时内最多提醒 1 次** - 避免价格频繁波动时反复推送 ### 2. 重要程度分级 | 级别 | 条件 | 推送策略 | |------|------|----------| | **紧急** | 降幅 ≥ 30% 或 历史最低 | 立即推送 | | **重要** | 降幅 ≥ 20% | 正常推送 | | **一般** | 降幅 ≥ 10% | 正常推送 | --- ## 检查频率配置 ### 默认频率 | 场景 | 频率 | 说明 | |------|------|------| | **日常监控** | 每天 1 次(9:00 AM) | 默认配置 | | **接近出行** | 每天 2-4 次 | <3 天时自动加速 | | **价格敏感** | 每小时 1 次 | 用户主动要求 | ### 用户配置 允许用户设置: - 每天 1 次(默认) - 每天 2 次(早晚各一次) - 每小时 1 次(测试或紧急) --- ## 总结 v2.0 的判定策略: 1. **全面** - 多航班监控,不错过好价格 2. **醒目** - 涨跌一眼看清(🟢/🔴) 3. **贴心** - 帮助用户回忆(监控第 X 天) 4. **灵活** - 频率可配置,适应不同场景
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-coder-0x7fffffff-flight-price-watcher. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about flight-price-watcher. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-coder-0x7fffffff-flight-price-watcher, 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/coder-0x7fffffff/skills/flight-price-watcher",
"sourceUrl": "https://clawhub.ai/coder-0x7fffffff/skills/flight-price-watcher",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T14:51:19.487Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-coder-0x7fffffff-flight-price-watcher/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-coder-0x7fffffff-flight-price-watcher/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T14:51:19.487Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1K downloads",
"href": "https://clawhub.ai/coder-0x7fffffff/flight-price-watcher",
"sourceUrl": "https://clawhub.ai/coder-0x7fffffff/flight-price-watcher",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T14:51:19.487Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "2.1.1",
"href": "https://clawhub.ai/coder-0x7fffffff/flight-price-watcher",
"sourceUrl": "https://clawhub.ai/coder-0x7fffffff/flight-price-watcher",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-02T07:52:32.643Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-coder-0x7fffffff-flight-price-watcher/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-coder-0x7fffffff-flight-price-watcher/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 2.1.1",
"description": "- 新增 CONFIG.md 配置说明文档,便于配置管理和参考 - 新增 scripts/test_monitor.js 脚本,支持监控功能的测试和调试 - 其他功能与输出内容保持不变",
"href": "https://clawhub.ai/coder-0x7fffffff/flight-price-watcher",
"sourceUrl": "https://clawhub.ai/coder-0x7fffffff/flight-price-watcher",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-02T07:52:32.643Z",
"isPublic": true
}
]
}Record generated Nov 24, 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-coder-0x7fffffff-flight-price-watcher/run-check
