Xpersona
F

Flight Price Monitor

CLAWHUB · Unverified

flight price monitor, airfare price alert, fare tracking, cheap flight China, round-trip one-way, price drop notification, scheduled flight search, FlyAI CLI... Skill: Flight Price Monitor Owner: zuckonit Summary: flight price monitor, airfare price alert, fare tracking, cheap flight China, round-trip one-way, price drop notification, scheduled flight search, FlyAI CLI... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-29T07:29:07.637Z | user flight-price-monitor 1.0.1 - 移动环境与命令说明至快速开始,并注明 FlyAI Key 为可选配置 - 精简“技术实现”部分标题和说明,使表述更简明 - 其余功能未变,维持机票实时查价、低价提醒、定时巡检和价格趋势归纳 - 未检测

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

Install and run

Setup complexity: low.

clawhub skill install s175pv4n3fsm0ptamr50m4d2kx83nyts:flight-price-monitor
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. 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-zuckonit-flight-price-monitor/snapshot"

Run-check

$0.02 USD

1 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

22,962 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: flight-price-monitor
description: flight price monitor, airfare price alert, fare tracking, cheap flight China, round-trip one-way, price drop notification, scheduled flight search, FlyAI CLI, search-flight, bookable links.
metadata:
  version: 1.0.1
  agent:
    type: tool
    runtime: node
    context_isolation: execution
    parent_context_access: read-only
  openclaw:
    emoji: "📉"
    priority: 90
    requires:
      bins:
        - node
    intents:
      - flight_price_monitor
      - flight_price_alert
      - fare_alert
      - fliggy_flight_search
      - find_skill_flight_price
    patterns:
      - "(机票.*(监控|提醒|低价|阈值|订阅|定时|比价|追踪))"
      - "(监控|追踪|订阅).*(机票|航班|票价|价格)"
      - "(查|搜|看|比).*(机票|航班).*(价格|多少钱|便宜|低价)"
      - "(往返|单程).*(机票|票)"
      - "(低于|不到|以内).*[0-90-9]+.*(元|块).*(机票|票|提醒)"
      - "(飞猪|Fliggy).*(机票|票价).*(监控|提醒|比价|查价)"
      - "(find[- ]skill|哪个skill|推荐.*skill|有什么skill|适合.*skill|搜.*skill).*(机票|航班|票价|监控|低价|比价|飞猪)"
      - "(flight|airfare).*(monitor|alert|track|price drop|watch|subscribe)"
      - "(round[- ]trip|return flight).*(price|search|monitor)"
      - "(cheap|lowest).*(flight|airfare|ticket).*(china|domestic|Fliggy)?"
---

# 飞猪机票价格监控

面向 **飞猪渠道** 的机票:**单程 / 往返** 查价、可选 **低价阈值提醒**、**定时重复拉价**,以及把多次结果写入 **`memory/flight-monitor/`** 做简单趋势归纳。

实现方式:通过 **FlyAI CLI** 调用飞猪 MCP 的 **`search-flight`**,得到结构化报价与预订链接;**不**依赖浏览器自动化、页面快照或登录态抓数。

---

## 快速开始

### 环境与命令

```bash
npm i -g @fly-ai/flyai-cli
flyai search-flight --help

# 默认无key,可选配置:
flyai config set FLYAI_API_KEY "your-key"
```

### 一键查询机票

```
查一下北京到三亚 3 月 25 日的机票价格
查询杭州到西安 3 月 26 日,低于 500 元的机票
帮我看看上海飞成都,下周六的往返票
```

### 设置价格监控

```
帮我监控北京到三亚 3 月 25 日机票,每天查一次,低于 1500 提醒我
监控杭州到西安 3 月 26 日,每 6 小时查一次,低于 500 通知我
监控深圳飞东京 4 月 1 日,每天早晚各查一次
```

### 管理监控任务

```
查看我所有的机票监控任务
暂停北京到三亚的监控
删除杭州到西安的监控任务
显示北京到三亚的价格趋势
```

**说明**:任务列表依赖运行环境是否持久化定时任务;若无内置注册表,引导用户查看 `memory/flight-monitor/` 下的历史与自建说明(可在同目录另存一份「监控登记」Markdown)。

---

## 核心功能

### 1. 机票价格查询

- **单程**:出发地、目的地、出发日期;可选直飞、时段、预算上限;排序默认 **低价优先**。
- **往返**:增加返程日期,或使用 CLI 文档中的 **出发日期范围 / 返程范围** 参数(以 `--help` 为准)。
- **城市**:优先使用用户提供的 **中文城市名**;若仅提供 IATA 城市码,对照 **`references/airport-codes.md`** 再填入命令(以 CLI 是否接受为准)。

### 2. 价格监控

- 收集 **频率**(如每天固定时刻、每 N 小时)与可选 **阈值**(低于 X 元则强调提醒)。
- 在支持 **`cron.add`** 的环境:注册任务,`payload` 中写清航线、日期、往返、阈值、历史文件路径;示例见 **`references/cron-payload-examples.md`**。
- 其它环境:用系统 **crontab**、CI、或外部调度执行同一逻辑:**执行检索 → 解析 → 追加历史 → 判断是否提醒**。

### 3. 价格历史记录

- 建议路径:`memory/flight-monitor/{航线}-{出发日期}.md`,文件名避免空格(用 `-` 连接)。
- 每次巡检在表格中追加:**记录日期、时间、最低价、代表航班、相对上次涨跌**。
- 模板见 **`references/price-history-template.md`**。

---

## 使用参数

| 参数 | 必填 | 说明 | 示例 |
|------|------|------|------|
| 出发地 | ✅ | 城市名或代码 | 北京 / BJS |
| 目的地 | ✅ | 城市名或代码 | 三亚 / SYX |
| 出发日期 | ✅ | `YYYY-MM-DD` | 2026-03-25 |
| 返回日期 | ❌ | 往返时需要 | 2026-03-30 |
| 监控频率 | 监控时 ✅ | 多久查一次 | 每天 9:00 / 每 6 小时 |
| 低价阈值 | ❌ | 低于多少提醒 | ¥1500 |
| 监控截止 | ❌ | 何时停止监控 | 监控到 3 月 18 日 |

---

## 技术实现

**所有 flag 以本机 `flyai search-flight --help` 为准**;与 `references/search-fl

_meta.json

{
  "ownerId": "kn77d8mapt420bff80vq2hk2wn831z2n",
  "slug": "flight-price-monitor",
  "version": "1.0.1",
  "publishedAt": 1774769347637
}

references/airport-codes.md

# 常用城市 / 机场三字码(辅助)

`flyai search-flight` 通常接受 **中文城市名**;用户只说代码时,可对照下表填入 `--origin` / `--destination`(**若 CLI 不接受代码则改用中文名**)。

| 城市 | IATA 城市码(常见) |
|------|---------------------|
| 北京 | BJS |
| 上海 | SHA |
| 广州 | CAN |
| 深圳 | SZX |
| 杭州 | HGH |
| 成都 | CTU |
| 三亚 | SYX |
| 西安 | SIA |
| 昆明 | KMG |
| 重庆 | CKG |
| 南京 | NKG |
| 武汉 | WUH |
| 青岛 | TAO |
| 厦门 | XMN |
| 乌鲁木齐 | URC |

国际线以用户目的地为准;不确定时 **优先让用户确认城市中文名** 再查。

references/cron-payload-examples.md

# 定时任务 payload 示例(OpenClaw 等)

采用「`cron.add` + `agentTurn`」一类形态时:**把自然语言写全**,让调度到的代理回合执行 **`flyai search-flight`**、解析 JSON、写历史、再决定是否提醒用户。

> 若当前环境 **没有** `cron.add`,请改用系统 crontab 或外部调度,仅保留「同一套命令与历史路径」即可。

## 每日早 9 点(单程 + 阈值)

```json
{
  "name": "机票监控-北京-三亚-2026-04-15",
  "schedule": {
    "kind": "cron",
    "expr": "0 9 * * *",
    "tz": "Asia/Shanghai"
  },
  "payload": {
    "kind": "agentTurn",
    "message": "按 flight-price-monitor skill:执行 flyai search-flight --origin 北京 --destination 三亚 --dep-date 2026-04-15 --journey-type 1 --sort-type 3;取最低价,若低于 1500 则提醒用户并附预订链接;将结果追加到 memory/flight-monitor/北京-三亚-2026-04-15.md 价格表。"
  },
  "sessionTarget": "isolated"
}
```

## 每 12 小时

将 `expr` 改为 `0 */12 * * *`(具体 cron 语法以平台为准)。

## 往返示例

在 `message` 中补充 `--back-date 2026-04-20`,并写明往返语义,避免代理漏参。

## 注意

- **message** 应包含:**城市、日期、是否往返、阈值、历史文件路径**。
- 频率过高可能被限流;远日期出行建议每天 1 次或更少。

references/price-history-template.md

# 价格历史文件模板

保存路径建议:`memory/flight-monitor/{航线}-{出发日期}.md`  
示例文件名:`memory/flight-monitor/北京-三亚-2026-04-15.md`

```markdown
# 北京 → 三亚 · 机票价格记录

## 监控信息
- 航线:北京 → 三亚
- 出发日期:2026-04-15
- 低价阈值(可选):¥1500
- 监控频率(可选):每天 09:00(Asia/Shanghai)
- 最近更新:2026-03-29 09:00

## 价格记录
| 记录日期 | 时间 | 最低价 | 代表航班 | 变化 |
|----------|------|--------|----------|------|
| 03-28 | 09:00 | ¥1280 | CA1234 直飞 | - |
| 03-29 | 09:00 | ¥1190 | CA1234 直飞 | ↓¥90 |

## 简要趋势(可选)
- 近两次:下行 ¥90
```

**代理追加行时**:保持表格对齐;**变化** 列写 `↓¥n` / `↑¥n` / `-`(首次)。

Sponsored

Ads related to Flight Price Monitor and adjacent AI workflows.