Skip to content
Back to skills

Exchange Rate 2

ASecurity

Use when users need to query daily currency exchange rates between two currencies.

  • 21 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added September 7, 2026
ai-agentsbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill exchange-rate-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Exchange Rate 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Exchange Rate 2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-exchange-rate-2/badge)](https://www.skillsdirectory.com/skills/modbender-exchange-rate-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: exchange-rate
description: Use when users need to query daily currency exchange rates between two currencies.
---

# Exchange Rate Skill

This skill helps AI agents fetch daily currency exchange rates from the 60s API.

## When to Use This Skill

Use this skill when users:
- Ask for current exchange rates between two currencies.
- Want to know the value of one currency in another.
- Need the latest currency conversion rate.

## How to Use

Execute the associated `scripts/exchange_rate.sh` script to fetch the exchange rate.

```bash
./scripts/exchange_rate.sh [options]
```

### Options

- `--currency, -c <currency>`: Optional. The base currency ISO 4217 code. Defaults to `CNY`.
- `--target, -t <target>`: Optional. The target currency ISO 4217 code. Defaults to `USD`. If set to `AAA`, it returns all available exchange rates for the base currency.

### Return Values

The script outputs the exchange rate value of the `target` currency relative to 1 unit of the `base` currency.
If the `target` is `AAA`, it outputs the full JSON response containing all rates.
If the `target` currency is not found, an error message is returned.

### Usage Examples

```bash
# Get the exchange rate from CNY to USD (default)
./scripts/exchange_rate.sh

# Get the exchange rate from EUR to JPY
./scripts/exchange_rate.sh --currency EUR --target JPY

# Get all exchange rates for GBP
./scripts/exchange_rate.sh -c GBP -t AAA
```

Files in this skill

  • SKILL.md1.4 KB
  • scripts/exchange_rate.sh1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.