# Commerce Currency

> Manage currency settings and exchange rates. Use when running `stateset-currency` or converting amounts.

- Skill: `majiayu000/commerce-currency` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/commerce-currency`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/commerce-currency/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/commerce-currency

---


# Commerce Currency

Handle exchange rates and currency settings for global commerce.

## How It Works

1. Fetch current exchange rates.
2. Convert amounts between currencies.
3. Update rates or base currency as needed.
4. Format and report currency values.

## Usage

- CLI: `stateset-currency ...`
- MCP tools: `get_exchange_rate`, `list_exchange_rates`, `convert_currency`, `set_exchange_rate`, `set_base_currency`, `enable_currencies`, `format_currency`.

## Output

```json
{"amount":100,"from":"USD","to":"EUR","converted":92.0}
```

## Present Results to User

- Rate used and timestamp.
- Converted totals and formatting.
- Any base currency changes.

## Troubleshooting

- Rate missing: set a rate or enable the currency.
- Precision issues: use correct decimal places per currency.

## References
- references/currency-commands.md
- /home/dom/stateset-icommerce/cli/.claude/agents/currency.md

