From longbridge
Foreign-exchange rates for all currencies supported by Longbridge Securities — HKD / USD / CNY / SGD / EUR / GBP / JPY / etc. Use to convert multi-currency holdings, normalise account values, or quote a cross-rate. Light-touch utility skill, no login required. Triggers: "汇率", "美元兑港币", "人民币兑美元", "港币换美金", "今天汇率", "USD HKD", "CNY USD", "外汇", "匯率", "美元兌港幣", "人民幣兌美元", "港幣換美金", "今天匯率", "外匯", "exchange rate", "fx rate", "currency conversion", "USD to HKD", "HKD to USD", "CNY to USD", "JPY to USD", "convert HKD to USD", "1 USD in HKD".
npx claudepluginhub longbridge/skills --plugin longbridgeThis skill uses the workspace's default tool permissions.
Foreign-exchange rates for all currencies Longbridge supports.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Foreign-exchange rates for all currencies Longbridge supports.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
USD/HKD row.100 / (USD/HKD) (or 100 * (HKD/USD), depending on the row's quote convention).CNY/USD or CNH/USD; surface the symbol verbatim.For cross-rates not directly listed, derive from two USD-quoted rows (e.g. EUR/JPY = (EUR/USD) / (JPY/USD)).
Single CLI command, no arguments beyond format. Run
longbridge exchange-rate --helpif unsure of current flags.
longbridge exchange-rate --format json
There are no per-currency filters — the command returns the full table; pick the row(s) you need from the JSON.
longbridge exchange-rate --format json.BASE/QUOTE is "1 BASE = N QUOTE").A/B = (A/USD) / (B/USD).# Full rate table
longbridge exchange-rate --format json
That's it — there's no symbol argument. Filter on the JSON client-side.
JSON array, one row per supported pair. Typical fields:
| Field | Meaning |
|---|---|
symbol / pair | e.g. USD/HKD, CNY/USD |
rate | numeric exchange rate |
timestamp | as-of time |
Render the relevant row(s) only; don't dump the full table unless the user asked for it.
| Situation | LLM response |
|---|---|
Shell command not found: longbridge | Fall back to MCP if configured; otherwise tell the user to install longbridge-terminal. |
| Empty array | Unusual — relay verbatim and tell the user to retry shortly. |
| Pair not in response | "Longbridge doesn't quote <X/Y> directly — derive from X/USD and Y/USD." |
| Other stderr | Surface verbatim. |
| CLI subcommand | MCP tool |
|---|---|
exchange-rate | mcp__longbridge__exchange_rate (or fall back via the equivalent MCP tool) |
| User asks | Route to |
|---|---|
| Multi-currency holdings normalised to one base | longbridge-positions then convert with this skill |
| Account-level performance with currency exposure | longbridge-portfolio |
| Statement export with FX legs | longbridge-statement |
| Stock quote in native currency | longbridge-quote |
longbridge-fx/
└── SKILL.md # prompt-only, no scripts/