← Back to Skills Marketplace
horsley

CMB HKD-CNY Exchange caculator in REALTIME

by Horsley Lee · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
362
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cmb-fx
Description
查询招商银行外汇牌价(中间价)
README (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 外币 的价格

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cmb-fx
  3. After installation, invoke the skill by name or use /cmb-fx
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug cmb-fx
Version 1.0.0
License
All-time Installs 1
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is CMB HKD-CNY Exchange caculator in REALTIME?

查询招商银行外汇牌价(中间价). It is an AI Agent Skill for Claude Code / OpenClaw, with 362 downloads so far.

How do I install CMB HKD-CNY Exchange caculator in REALTIME?

Run "/install cmb-fx" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is CMB HKD-CNY Exchange caculator in REALTIME free?

Yes, CMB HKD-CNY Exchange caculator in REALTIME is completely free (open-source). You can download, install and use it at no cost.

Which platforms does CMB HKD-CNY Exchange caculator in REALTIME support?

CMB HKD-CNY Exchange caculator in REALTIME is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created CMB HKD-CNY Exchange caculator in REALTIME?

It is built and maintained by Horsley Lee (@horsley); the current version is v1.0.0.

💬 Comments