deusyu/rainman-skills · Archived

exchange-rate

汇率换算 — 查询实时汇率、历史汇率、汇率趋势。数据源为欧洲央行 (ECB)。 触发词: 汇率, 换算, exchange rate, convert currency, 多少钱, 美? 或任何 "[金额] [货币A] 转/换/to [货币B]" 格式的输?

First seen Mar 10, 2026

Installation

$ npx skills add deusyu/rainman-skills --skill exchange-rate

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from deusyu/rainman-skills.

npx skills add deusyu/rainman-skills

Browse all from deusyu/rainman-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 10
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,647 B
  • docs SUMMARY.md 316 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

exchange-rate — Currency Exchange Rate Skill

Query real-time and historical exchange rates via the Frankfurter API (ECB data source).

Quick Start

  1. No API key needed.
  2. Run bun scripts/exchange.ts --help in this skill directory.
  3. Pick the matching command from references/command-map.md.

Workflow

  1. Parse user intent — identify source currency, target currency, amount, and date (if any).
  2. Select the right command: convert, latest, history, or currencies.
  3. Run the script and return the result.
  4. When the user provides a natural language query like "100 美元换人民币", use the convert command with --amount 100 --from USD --to CNY.

Commands

  • Full command mapping: references/command-map.md

Common Currency Aliases

When the user uses Chinese names, map them:

  • 美元/美金 → USD
  • 人民币/元 → CNY
  • 欧元 → EUR
  • 英镑 → GBP
  • 日元/日币 → JPY
  • 韩元/韩币 → KRW
  • 港币/港元 → HKD
  • 新加坡元/新币 → SGD
  • 澳元/澳币 → AUD
  • 加元/加币 → CAD
  • 泰铢 → THB
  • 瑞士法郎/瑞郎 → CHF

Notes

  • This skill is script-first and does not run an MCP server.
  • Data source is ECB (European Central Bank), updated once per working day.
  • Supports 30 major currencies.
  • No API key required.