Token导航 LogoToken导航

Agent Skill · 开发

multi-currency(多币种)

multi-currency 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

multi-currency 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 16,191。

总安装 524周安装 21GitHub Stars 19下载 170核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:multi-currency(多币种)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/multi-currency
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill multi-currency
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill multi-currency

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

multi-currency 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。

通过 GitHub API 获取仓库元数据、分支信息和协作动态,支持多 Agent 环境下的协同开发场景。安装命令为 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill multi-currency。

使用前需确认权限范围、维护状态,注意可能触发联网、命令执行或文件读写操作。

来源仓库内路径:skills/multi-currency

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill mul…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

multi-currency 怎么安装?

在终端执行 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill multi-currenc…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

multi-currency 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

multi-currency 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

multi-currency 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

multi-currency 用的人多吗?

公开数据是累计安装 524 次,近一周安装 21 次,下载 170 次,GitHub 19 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

multi-currency 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
multi-currency

多币种 · 本页

52419操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Multi-Currency

Overview

Multi-currency support lets international shoppers browse and pay in their local currency instead of your store's base currency. On Shopify, WooCommerce, and BigCommerce, this is a configuration task — each platform has built-in or app-based solutions that handle exchange rates, price display, and payment settlement automatically. Custom code is only required for headless storefronts.

When to Use This Skill

  • When expanding to international markets where shoppers expect prices in their local currency
  • When analytics show significant traffic from non-base-currency countries with low conversion rates
  • When implementing a currency selector in the site header
  • When integrating Stripe or PayPal multi-currency settlement

Core Instructions

Step 1: Determine your platform and multi-currency approach

PlatformRecommended ApproachSettlement Currency
Shopify (Shopify Payments)Enable Markets and multi-currency in Shopify AdminStripe/Shopify settles in your payout currency; conversion is automatic
Shopify + non-Shopify gatewayInstall BEST Currency Converter or MLV Auto Currency Switcher appDisplay-only conversion; payment taken in base currency
WooCommerceInstall WooCommerce Payments (for native multi-currency) or WPML + WooCommerce MultilingualWooCommerce Payments settles in local currency; other gateways may convert
BigCommerceEnable Multi-Currency in Store Settings; use Stripe for multi-currency settlementBigCommerce handles display; Stripe settles in customer's currency
Custom / HeadlessUse Stripe's multi-currency payment intents; fetch exchange rates from OpenExchangeRatesStripe accepts charges in any currency and settles in your configured currency

Step 2: Set up multi-currency on your platform


Shopify

Shopify's Markets feature is the recommended way to implement multi-currency:

  1. Go to Settings → Markets
  2. Click Add market for each region (e.g., Europe, UK, Australia)
  3. Under each market, go to Currencies and enable the local currency (EUR, GBP, AUD)
  4. Shopify automatically converts prices using daily exchange rates
  5. To set manual price overrides for specific currencies (e.g., set EUR price to a fixed €99 instead of converting $99.00), go to the market and click Manage to set currency-specific prices per product

Exchange rate handling:

  • By default, Shopify uses automatic exchange rates that update daily
  • To add a margin to the exchange rate (to cover your FX costs), go to Settings → Markets → [Market] → Currencies and set a currency conversion rate adjustment (e.g., +2%)

Currency selector in storefront: Shopify themes from OS 2.0 (Dawn, Crave, etc.) include a built-in currency/country selector. In Online Store → Themes → Customize, add the Header → Country/Region selector section.

Payment settlement: When using Shopify Payments, charges are made in the customer's currency. The payout to your bank account is in your default payout currency with Shopify handling the conversion. For Shopify Plus, you can configure multi-currency payouts with separate bank accounts per currency.

WooCommerce

Option A: WooCommerce Payments (native multi-currency)

  1. Install and activate WooCommerce Payments (Stripe-powered)
  2. Go to WooCommerce → Settings → WooCommerce Payments → Multi-currency
  3. Click Add currencies and select the currencies you want to offer
  4. For each currency, configure: exchange rate source (automatic from WooCommerce's daily feed or manual), rounding (e.g., round to.99), and whether to charge a conversion rate markup
  5. Enable Currency switcher widget: go to Appearance → Widgets and add the Currency Switcher widget to your header or sidebar

Option B: WooCommerce Multilingual + WPML

  1. Install WPML and WooCommerce Multilingual & Multicurrency
  2. Go to WPML → WooCommerce Multilingual → Currencies and add currencies
  3. For each currency, set the exchange rate (manual or via automatic update) and rounding rules
  4. The product price for each currency can be set manually per product or auto-converted

Option C: Currency Switcher for WooCommerce (free plugin)

For display-only currency switching (payment taken in base currency), install Currency Switcher for WooCommerce by Aelia. This converts displayed prices but settles in your base currency — simpler but requires customers to understand they will be charged in USD (or your base currency).

BigCommerce
  1. Go to Settings → Store Setup → Currencies
  2. Click Add a currency and select from the dropdown
  3. For each currency, configure:

- Exchange rate: manual or auto-updated via BigCommerce's rate feed - Rounding: round to nearest 0.99, 0.95, or whole number - Display settings: where to show the currency selector

  1. Set one currency as Default — this is used in reporting and as the fallback
  2. Enable the currency selector: go to Storefront → My Themes → Customize and add the currency selector component to your header

Payment settlement with BigCommerce: Configure your payment gateway to accept charges in multiple currencies. Stripe (configured under Settings → Payments → Stripe) supports accepting payments in the customer's currency and settling in yours automatically.


Custom / Headless

Exchange rate fetching:

// Fetch and cache daily exchange rates from OpenExchangeRates (free tier available)
async function getExchangeRates() {
  const cached = await redis.get('exchange_rates');
  if (cached) return JSON.parse(cached);

  const res = await fetch(
    `https://openexchangerates.org/api/latest.json?app_id=${process.env.OER_API_KEY}&base=USD&symbols=EUR,GBP,CAD,AUD,JPY`
  );
  const { rates } = await res.json();

  // Cache for 24 hours — daily rates are sufficient for display prices
  await redis.setex('exchange_rates', 86400, JSON.stringify(rates));
  return rates;
}

async function convertPrice(amountUSD, targetCurrency) {
  if (targetCurrency === 'USD') return amountUSD;
  const rates = await getExchangeRates();
  return amountUSD * rates[targetCurrency];
}

Stripe multi-currency charge:

// Charge in customer's currency — Stripe handles conversion and settles in your payout currency
const paymentIntent = await stripe.paymentIntents.create({
  amount: Math.round(displayPrice * 100), // Amount in smallest unit (EUR cents, JPY yen)
  currency: customerCurrency.toLowerCase(), // 'eur', 'gbp', 'jpy'
  automatic_payment_methods: { enabled: true },
  metadata: { order_id: orderId, base_currency_amount: String(basePriceUSD) },
});
// Note: for JPY and other zero-decimal currencies, multiply by 1 (not 100)
const jpy_amount = Math.round(jpyPrice); // ¥3,000 → 3000, not 300000

Currency detection from browser:

// Detect preferred currency from browser language or IP country header
function detectCurrency(req) {
  // Check explicit user preference first
  if (req.cookies.preferred_currency) return req.cookies.preferred_currency;

  // Cloudflare and similar CDNs provide the visitor's country
  const country = req.headers['cf-ipcountry'];
  const countryToCurrency = { US:'USD', GB:'GBP', DE:'EUR', FR:'EUR', AU:'AUD', JP:'JPY', CA:'CAD' };
  return countryToCurrency[country] ?? 'USD';
}

Step 3: Verify correct behavior

Test these scenarios before going live:

  1. Correct price display: visit from a VPN with a UK IP — prices should show in GBP
  2. JPY zero-decimal: Japanese prices should show as whole numbers (¥3,000 not ¥30.00)
  3. Payment amount matches displayed price: the Stripe charge amount must match what was shown
  4. Currency selector persists: switching currency should persist across page navigation
  5. Cart totals in correct currency: cart and checkout should use the selected currency

Best Practices

  • Use platform-native multi-currency — Shopify Markets, WooCommerce Payments, and BigCommerce's built-in feature handle exchange rates, rounding, and display correctly
  • Refresh exchange rates daily — for display prices, daily rates are sufficient; do not fetch rates on every page load
  • Store order amounts in your base currency — always record prices in your base currency in the database for consistent reporting; store the display currency and rate used for reference
  • Apply rounding rules specific to each market — €9.99 looks natural; €9.847 does not; configure rounding in your platform's currency settings
  • Test JPY specifically — JPY has zero decimal places; a common bug is displaying ¥29.99 instead of ¥3,000; verify by setting your test currency to JPY

Common Pitfalls

ProblemSolution
Prices flash to base currency on page loadRead the user's currency preference server-side (from a cookie) and render with the correct currency on first load; avoid client-side-only currency switching
JPY amount passed to Stripe as centsFor zero-decimal currencies (JPY, KRW), pass the whole amount — ¥3,000 → amount: 3000, not amount: 300000
Payment amount does not match displayed priceRecalculate the payment amount server-side using the stored exchange rate at checkout time; never trust client-submitted amounts
Exchange rate missing for a currencyDefault to base currency or show an error; do not silently use a zero rate which would make products free
Shopify currency showing but not accepted at checkoutCurrency must be enabled under Settings → Payments → Supported currencies in addition to Settings → Markets; both settings must be configured

Related Skills

  • @checkout-flow-optimization
  • @tax-calculation
  • @stripe-integration
  • @paypal-integration

平台分布

Codex

36.04%
按下载量换算61

Claude

27.11%
按下载量换算46

Cursor

18.34%
按下载量换算31

Gemini CLI

9.21%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills