← 返回 Skills 市场
CMB HKD-CNY Exchange caculator in REALTIME
作者
Horsley Lee
· GitHub ↗
· v1.0.0
362
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cmb-fx
功能描述
查询招商银行外汇牌价(中间价)
使用说明 (SKILL.md)
CMB FX Skill
查询招商银行外汇牌价(中间价)。
API
必须使用官方 API:
https://fx.cmbchina.com/api/v1/fx/rate
查询示例
curl -s "https://fx.cmbchina.com/api/v1/fx/rate" | jq '.body[] | select(.ccyNbrEng | contains("HKD"))'
响应字段说明
| 字段 | 含义 |
|---|---|
| rthBid | 现汇买入价 (每 100 外币) |
| rthOfr | 现汇卖出价 (每 100 外币) |
| rtcBid | 现钞买入价 (每 100 外币) |
| rtcOfr | 现钞卖出价 (每 100 外币) |
| ratTim | 更新时间 |
中间价计算
现汇中间价 = (rthBid + rthOfr) / 2 / 100
注意:API 返回的是 每 100 外币 的价格
安全使用建议
This skill is coherent and appears to do exactly what it says: curl the official CMB FX endpoint and compute the HKD mid-rate. Before installing, confirm your agent environment has curl and jq (the example uses jq but it isn't consistently declared). Also verify you trust the skill source/network policy because the skill will make outbound requests to fx.cmbchina.com. No credentials are requested.
功能分析
Type: OpenClaw Skill
Name: cmb-fx
Version: 1.0.0
The skill bundle is benign. It defines a skill to query foreign exchange rates from China Merchants Bank using their official API. The `SKILL.md` clearly states its purpose, specifies the legitimate API endpoint (https://fx.cmbchina.com/api/v1/fx/rate), and provides a `curl` example that interacts solely with this official API. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts to subvert the agent's behavior.
能力评估
Purpose & Capability
The name/description (query CMB FX middle rate) matches the instructions (curl the official CMB API). Minor inconsistency: the registry metadata lists no required binaries, while the SKILL.md frontmatter indicates 'curl' is required.
Instruction Scope
The SKILL.md explicitly directs the agent to call the official API (https://fx.cmbchina.com/api/v1/fx/rate), filter for HKD, and compute the mid-rate; it does not request unrelated files, credentials, or external endpoints.
Install Mechanism
No install spec (instruction-only) which is low risk. The example uses curl and pipes to jq; jq is used in the example but not declared as a required binary in either the registry metadata or SKILL.md frontmatter, so ensure the runtime has both curl and jq available.
Credentials
No environment variables, credentials, or config paths are requested — proportional to the simple read-only API query the skill performs.
Persistence & Privilege
Skill is not always-enabled and requests no persistent system modifications or cross-skill configuration; autonomous invocation is allowed by default (normal) but does not amplify any other risk here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cmb-fx - 安装完成后,直接呼叫该 Skill 的名称或使用
/cmb-fx触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the cmb-fx skill.
- Enables querying China Merchants Bank (CMB) foreign exchange (mid-rate) data.
- Utilizes the official CMB FX API (https://fx.cmbchina.com/api/v1/fx/rate).
- Requires curl to fetch exchange rates.
- Includes guidance on interpreting API response fields and calculating mid-rates.
元数据
常见问题
CMB HKD-CNY Exchange caculator in REALTIME 是什么?
查询招商银行外汇牌价(中间价). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 362 次。
如何安装 CMB HKD-CNY Exchange caculator in REALTIME?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cmb-fx」即可一键安装,无需额外配置。
CMB HKD-CNY Exchange caculator in REALTIME 是免费的吗?
是的,CMB HKD-CNY Exchange caculator in REALTIME 完全免费(开源免费),可自由下载、安装和使用。
CMB HKD-CNY Exchange caculator in REALTIME 支持哪些平台?
CMB HKD-CNY Exchange caculator in REALTIME 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 CMB HKD-CNY Exchange caculator in REALTIME?
由 Horsley Lee(@horsley)开发并维护,当前版本 v1.0.0。
推荐 Skills