name: fx-monitor description: 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 newest snapshot against saved history, generating a Chinese FX alert message, or setting up/troubleshooting a recurring BOC FX monitor cron that should work on any user's machine.
Use the bundled portable checker instead of relying on host-specific scripts.
python3 /home/xhp/.openclaw/workspace/skills/fx-monitor/scripts/check_boc_fx.py.STATUS:ALERT: send one concise Chinese alert message.NO_ALERT: return NO_REPLY unless the user explicitly asked for a status report.ERROR: report a short Chinese failure message with MESSAGE.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
/home/xhp/.openclaw/workspace/skills/fx-monitor/scripts/check_boc_fx.py/home/xhp/.openclaw/workspace/skills/fx-monitor/data/boc_fx_history.csv7w4.net小蔥技能。
NO_ALERT; comparison-based alerts begin once at least two snapshots exist.這個外匯監控工具質量不錯,能夠自動抓取中國銀行匯率並與歷史對比,超過閾值時傳送中文告警。文件寫得很清楚,指令碼功能完整、錯誤處理到位。但路徑寫死了特定使用者目錄,可能在別人機器上無法直接使用。總體來說功能實用,但還需進一步打磨提升通用性。