FX Monitor
/install fx-monitor
Fx Monitor
Use the bundled portable checker instead of relying on host-specific scripts.
Workflow
- Run
python3 /home/xhp/.openclaw/workspace/skills/fx-monitor/scripts/check_boc_fx.py. - Parse the key-value output.
- Handle results by
STATUS:ALERT: send one concise Chinese alert message.NO_ALERT: returnNO_REPLYunless the user explicitly asked for a status report.ERROR: report a short Chinese failure message withMESSAGE.
Output rules
For alert messages:
- Start with
【汇率告警】. - Include the Bank of China page publish time.
- Mention all triggered conditions naturally in one sentence.
- Prefer the wording pattern
英镑现汇卖出价下跌 .../港币现汇买入价上涨 .../日元现汇卖出价下跌 .... - Include comparison values when available.
If the user asks for a normal status report instead of an alert-only run, include:
- whether an alert triggered
- current GBP spot sell
- current HKD spot buy
- current JPY spot sell
- page publish time
- whether this run wrote a new history snapshot implicitly from the returned data when relevant
Bundled files
- Checker script:
/home/xhp/.openclaw/workspace/skills/fx-monitor/scripts/check_boc_fx.py - Default history CSV:
/home/xhp/.openclaw/workspace/skills/fx-monitor/data/boc_fx_history.csv
Notes
- The checker fetches the public Bank of China FX page directly and stores snapshots locally.
- The first successful run usually creates the baseline history row and returns
NO_ALERT; comparison-based alerts begin once at least two snapshots exist. - If the task is about cron management, keep only the FX monitor cron enabled unless the user asks otherwise.
- If a user wants custom thresholds or another history file path, pass CLI flags instead of editing the script first.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fx-monitor - After installation, invoke the skill by name or use
/fx-monitor - Provide required inputs per the skill's parameter spec and get structured output
What is FX Monitor?
Monitor Bank of China FX rates and manage reusable GBP/HKD/JPY alert workflows. Use when the task involves checking current BOC exchange rates, comparing the... It is an AI Agent Skill for Claude Code / OpenClaw, with 205 downloads so far.
How do I install FX Monitor?
Run "/install fx-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is FX Monitor free?
Yes, FX Monitor is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does FX Monitor support?
FX Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created FX Monitor?
It is built and maintained by xiehuapeng (@xiehuapeng); the current version is v0.1.1.