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.
npx skills add vivy-yi/finance-skills --skill fx-deal-executiongit clone --depth 1 https://github.com/vivy-yi/finance-skillsWrote 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.
[](https://agentmods.dev/skills/vivy-yi/finance-skills/fx-deal-execution)<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/fx-deal-execution"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/fx-deal-execution/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.
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/fx-deal-execution"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/fx-deal-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.01988 |
| Opus 5 | $0.00045 | $0.00994 |
| Sonnet 5 | $0.00018 | $0.00398 |
| Haiku 4.5 | $0.00009 | $0.00199 |
Grade A, and why
fx-deal-execution 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.
How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
加载上下文
首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(授权交易对手/交易限额/审批流程)。
/fx-deal-execution — 外汇交易执行
Examples
→ 示例:用户说"有一笔 500 万美元的远期合约要到期了,需要决定是否展期",系统应调用本技能,分析远期合约展期决策。
→ 示例:用户说"今天 EUR/USD 波动很大,要不要趁机锁一个价格",系统应调用本技能,评估即期锁汇机会。
→ 示例:用户说"帮我们执行一笔交叉货币互换,将浮动利率美元债务换成固定利率欧元",系统应调用本技能,制定交叉货币互换执行方案。
第一步:交易授权确认
交易基本信息:
□ 交易方向:[买入 USD / 卖出 USD / 买入 EUR / 卖出 EUR]
□ 交易金额:[X] 万(币种)
□ 交易工具:[即期 / 远期外汇合约 / 外汇期权]
□ 参考汇率:[X.XXXX](市场报价)
□ 敞口对冲目的:[对冲交易敞口 / 对冲会计敞口 / 对冲经济敞口]
授权确认:
□ 交易授权级别(根据金额):
→ [X] 万以下:外汇交易员自主决定
→ [X]-[X] 万:须 Treasury Manager 审批
→ [X] 万以上:须 CFO 审批
□ 当前交易授权:[✅ 已授权 / ⚠️ 需审批 / 🔴 超出权限]
□ 审批人(如需):[姓名]
□ 授权时间:[YYYY-MM-DD HH:MM]
第二步:银行询价
授权交易对手名单:
□ 主账户银行:[银行A]、[银行B]([X] 家)
□ 询价银行数量:[X] 家(不少于 [X] 家)
□ 询价截止时间:获取 [X] 个报价
询价执行:
□ 询价时间:[YYYY-MM-DD HH:MM]
□ 询价有效期:[X] 分钟
□ 询价记录:
| 银行 | 即期报价 | 远期报价(3M) | 点差 | 备注 |
|------|---------|--------------|------|------|
| [银行A] | [X.XXXX] | [X.XXXX] | [X] pips | — |
| [银行B] | [X.XXXX] | [X.XXXX] | [X] pips | — |
| [银行C] | [X.XXXX] | [X.XXXX] | [X] pips | — |
□ 最佳报价:[银行A] — 即期 [X.XXXX],远期 [X.XXXX]
□ 最差报价:[银行C] — 即期 [X.XXXX]
询价结果评估:
□ 报价价差合理性:[✅ 合理 / ⚠️ 偏宽]
□ 是否存在明显异常:[是/否]
□ 建议选择:[银行A/B/C]
第三步:交易执行
最优报价确认:
□ 执行银行:[银行名称]
□ 执行汇率:[X.XXXX]([优于/等于] 参考汇率 [X.XXXX],[+/-X] pips)
□ 执行时间:[YYYY-MM-DD HH:MM]
□ 交易确认:
→ 银行交易确认书编号:[编号]
→ 确认条款:[摘要]
→ 交易员:[银行交易员姓名]
→ 确认方式:[电话/彭博/邮件]
交易条款记录:
□ 交易细节:
→ 买入/卖出:[买入 USD]
→ 金额:[X] 万 USD
→ 汇率:[X.XXXX]
→ 到期日:[YYYY-MM-DD](如为远期/期权)
→ 交易对手:[银行名称]
□ 即期 vs 远期:
→ 即期(Spot):T+2 结算
→ 远期(Forward):[日期] 结算
→ 期权(Option):[美式/欧式,到期日]
第四步:结算确认
结算执行:
□ 结算日期:T+[X]([YYYY-MM-DD])
□ 结算币种及金额:
→ 我方付出:[X] 万 [币种]
→ 我方收入:[X] 万 [币种]
□ 结算状态:[✅ 已完成 / ⚠️ 进行中 / 🔴 未完成]
□ 结算银行流水确认:[✅ 已到账 / ⚠️ 待确认]
□ 到账时间:[YYYY-MM-DD HH:MM]
结算异常处理(如有):
□ 异常情况:[描述]
□ 银行反馈:[描述]
□ 处理措施:[描述]
□ 处理结果:[✅ 已解决 / ⏳ 处理中]
第五步:交易记录归档
交易档案:
□ 交易记录编号:[编号]
□ 归档内容:
→ 交易确认书(扫描件)
→ 询价记录
→ 审批记录(如有)
→ 结算确认
□ 归档位置:[路径]
□ 归档时间:[YYYY-MM-DD]
□ 保存期限:[X] 年(符合监管要求)
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.
- 9d ago First seen · 230 lines · 90 tokens per session scan A 14e3453b43c9
fx-deal-execution is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 90 tokens to every session and 1,988 once invoked, about $0.0005 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.
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.
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…
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…
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…
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.
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…