fx-risk-master

fx-risk-master is a skill for Claude Code from vivy-yi/finance-skills. It costs 142 tokens per session (1,512 once invoked), scanned A, original, MIT.

A foreign-exchange risk-management workflow that combines exposure measurement, hedging decisions, trade execution, limit checks, and responses when forecasts or hedges go wrong.

In plain words
What is it for?
It is for monitoring foreign-currency exposure, choosing and executing hedges, handling limit breaches or hedge losses, and adjusting the policy when a model fails.
Why use it?
It gives treasury teams one process for handling currency risk instead of managing exposure, hedges, warnings, and follow-up separately.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It is for monitoring foreign-currency exposure, choosing and executing hedges, handling limit breaches or hedge losses, and adjusting the policy when a model fails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/finance-skills/fx-risk-master
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vivy-yi/finance-skills --skill fx-risk-master
Clone the repo
git clone --depth 1 https://github.com/vivy-yi/finance-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fx-risk-master

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/finance-skills/fx-risk-master/github.svg)](https://agentmods.dev/skills/vivy-yi/finance-skills/fx-risk-master)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/fx-risk-master"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/fx-risk-master/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fx-risk-master

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/fx-risk-master"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/fx-risk-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00142 $0.01512
Opus 5 $0.00071 $0.00756
Sonnet 5 $0.00028 $0.00302
Haiku 4.5 $0.00014 $0.00151

Measured 9d ago against content hash 0ecb1db95544, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

fx-risk-master scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

finance-skills/skills/fx-risk/skills/fx-risk-master/SKILL.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

外汇风险 Master Skill

能力描述

这是什么: 外汇风险场景的主技能,整合外汇敞口管理、对冲策略执行、敞口超限处理与模型失效应对,为司库团队提供完整的外汇风险管理能力。

解决什么问题: 当用户需要管理外汇敞口、执行对冲策略、处理敞口超限、或应对汇率预测失效时,调用本技能获取完整的外汇风险管理方案。

边界: 不涉及具体进出口业务执行,专注于外汇风险的对冲与管理。


触发条件

满足以下任一场景时调用本技能:

  • 用户提到"外汇敞口"、"对冲策略"、"远期外汇"、"汇率风险"
  • 用户提到"敞口超限"、"对冲亏损"、"外汇预警"
  • 用户要求"管理外汇风险"、"执行对冲"、"分析敞口"

Examples

→ 示例:用户说"人民币近期波动很大,需要评估一下我们的外汇敞口和对冲方案",系统应调用本技能,进入敞口管理路径。

→ 示例:用户说"欧元收款对冲合约快到期了,需要决策是否展期",系统应调用本技能,进入对冲执行路径。

→ 示例:用户说"对冲亏损超过了预警线,需要向CFO解释原因并提出调整建议",系统应调用本技能,进入超限处理路径。

输入

□ 场景类型:[敞口管理/对冲执行/超限处理/模型失效]
□ 涉及币种:[USD/EUR/其他]
□ 敞口金额:[X] 万美元等值
□ 当前汇率:[X.XX]
□ 已获取信息:[描述]

原子能力调用顺序

路径一:日常敞口管理
Step 1 → [外汇敞口计算](fx-exposure-calculation)
  → 输出:敞口报告

Step 2 → [对冲比例建议](hedge-ratio-advice)
  → 输出:对冲建议

Step 3 → [对冲工具选择](hedge-instrument-selection)
  → 输出:工具建议

Step 4 → [对冲执行](hedge-execution)
  → 输出:执行确认

路径二:敞口超限处理
Step 1 → [外汇敞口计算](fx-exposure-calculation)
  → 输出:超限确认

Step 2 → [超限应急处理](exposure-exceed-handling)
  → 输出:应急方案

Step 3 → [对冲执行](hedge-execution)
  → 输出:新增对冲

Step 4 → [政策调整建议](policy-adjustment-advice)
  → 输出:限额调整建议

路径三:模型失效应对
Step 1 → [模型失效识别](model-failure-identification)
  → 输出:失效确认

Step 2 → [对冲策略临时调整](hedge-temp-adjustment)
  → 输出:临时策略

Step 3 → [模型改进](model-improvement)
  → 输出:改进方案

Step 4 → 汇总输出模型失效应对报告

输出格式

外汇风险管理报告
====================

【敞口概览】
□ 币种:[USD/EUR/其他]
□ 总敞口:[X] 万美元等值
□ 已对冲:[X] 万美元等值
□ 未对冲:[X] 万美元等值
□ 对冲比例:[X%]

【敞口明细】
| 敞口类型 | 金额 | 对冲金额 | 未对冲 |
|---|---|---|---|
| 贸易敞口 | [X]万 | [X]万 | [X]万 |
| 金融敞口 | [X]万 | [X]万 | [X]万 |

【对冲现状】
□ 工具类型:[远期/期权/掉期]
□ 在手合约:[X] 份
□ 合约金额:[X] 万
□ 平均汇率:[X.XX]
□ 账面盈亏:[±XXX万]

【VaR 分析】
□ 置信水平:[95%/99%]
□ VaR:[XXX万]
□ 压力测试损失:[XXX万](汇率±10%)

【超限处理】(如有)
□ 超限金额:[X] 万
□ 超限原因:[描述]
□ 应急措施:[描述]
□ 执行时间:[YYYY-MM-DD]

【对冲建议】
□ 建议对冲量:[X] 万
□ 建议工具:[描述]
□ 预计成本:[X] 万

升级条件

满足以下任一条件须立即升级:

  • 敞口超限 → 立即升级 CFO
  • 对冲亏损 > [X] 万 → CFO + CEO 审批
  • 模型连续失效 → CFO 审批更换

原子 Skill 清单

原子 Skill 用途
fx-exposure-calculation 外汇敞口计算
hedge-ratio-advice 对冲比例建议
hedge-instrument-selection 对冲工具选择
hedge-execution 对冲执行
exposure-exceed-handling 敞口超限应急处理
policy-adjustment-advice 政策调整建议
model-failure-identification 模型失效识别
hedge-temp-adjustment 对冲策略临时调整
model-improvement 模型改进

Read the full file on GitHub · 173 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 173 lines · 142 tokens per session scan A 0ecb1db95544

Subscribe to this mod's changes

fx-risk-master is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 142 tokens to every session and 1,512 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

wealth-structure

A framework for thinking about wealth through ownership, responsibility, leverage, and avoiding risks that could end your progress.

kangarooking/cangjie-skill · 141 tokens

alpha-vantage

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

hedgefundmonitor

Query the OFR (Office of Financial Research) Hedge Fund Monitor API for hedge fund data including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes, and FRB SCOOS dealer financing terms. Access time series data on hedge fund size, leverage, counterparties, liquidity…

foryourhealth111-pixel/Vibe-Skills · 123 tokens

edgartools

Python library for accessing, analyzing, and extracting data from SEC EDGAR filings. Use when working with SEC filings, financial statements (income statement, balance sheet, cash flow), XBRL financial data, insider trading (Form 4), institutional holdings (13F), company financials, annual/quarterly reports (10-K…

foryourhealth111-pixel/Vibe-Skills · 110 tokens

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

fred-economic-data

Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources. Access GDP, unemployment, inflation, interest rates, exchange rates, housing, and regional data. Use for macroeconomic analysis, financial research, policy studies, economic forecasting, and academic research requiring…

foryourhealth111-pixel/Vibe-Skills · 75 tokens