360 Secure SkillHub
360 安全技能中心

Open Exchange Rate

该 Skill 通过公共 ExchangeRate-API 获取实时汇率,提供基础货币汇率查询、两种货币间的金额换算和可用货币代码列表三项功能,无需 API Key,通过 Python 脚本在命令行调用。

alone86136
alone86136
热度 45.99
最近更新 2026-05-11 17:35:43
分类:效率依赖:代码执行 / 第三方 API应用场景:个人理财 / 财务

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add open-exchange-rate
Metadata
name
open-exchange-rate
description
Get real-time exchange rates and currency conversion using free public ExchangeRate-API. No API key required. Use when users ask for current exchange rates, currency conversion calculations, or need to check currency prices.

open-exchange-rate

Overview

A simple skill for getting real-time exchange rate information and performing currency conversion using the public ExchangeRate-API. No API key required for requests.

Features

  • Get latest exchange rates: Retrieve up-to-date exchange rates for all currencies
  • Currency conversion: Convert an amount from one currency to another
  • List all available currencies: Show a complete list of supported currency codes

Usage

Get latest rates for base currency

python3 scripts/get_rates.py --base USD

Convert currency

python3 scripts/convert.py --from USD --to EUR --amount 100

List all available currencies

python3 scripts/list_currencies.py

Resources

scripts/

  • get_rates.py - Get latest exchange rates with optional base currency
  • convert.py - Convert amount between two currencies
  • list_currencies.py - List all available currency codes and names