
trading-operations
Lifecycle skills for trading operations spanning order handling, settlement, and operational and counterparty risk.
- version
- 1.0.0
- GitHub stars
- 252
What it does
- Adds skills covering order lifecycle, pre-trade and post-trade compliance, trade execution, and settlement and clearing workflows
- Covers margin operations, exchange connectivity over FIX sessions, and counterparty credit risk for OTC and securities trading
- Guides cancel/replace race handling, trade break reconciliation, and surveillance alerts for churning, spoofing, and wash trading
- Designed for advisor, algorithmic, and client-direct trading contexts that need operational and counterparty risk coverage
Order lifecycle from entry through settlement, plus operational and counterparty risk. Serves advisor, algorithmic, and client-direct trading contexts.
Add marketplace
/plugin marketplace add JoelLewis/finance_skillsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install trading-operations@finance-skillsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceCounterparty Risk
Core Concepts
Workflow A: Assessing a New Counterparty
- Identify the legal entity and verify netting enforceability. Map the exact legal entity (not the corporate group), its jurisdiction, and entity type. Confirm close-out netting enforceability via ISDA netting opinions for that jurisdiction and entity-type combination before counting any netting benefit — where enforceability is uncertain, risk and capital must be measured gross. Apply the sovereign ceiling for counterparties in jurisdictions with material sovereign risk.
- Assess credit quality from three angles. External ratings are a baseline but a lagging indicator — they typically reprice after the market has. Internal scoring: for banks, focus on CET1 (strong banks hold >12%), leverage ratio (well-capitalized banks target 5%+), LCR/NSFR (minimum 100%), and NPL trend; for corporates, debt/EBITDA, interest coverage (below 2x signals stress), free cash flow, and Altman Z-score, plus qualitative factors (management, franchise, regulatory standing). Market-implied: CDS spreads react fastest — annual PD ≈ CDS_spread / (1 − recovery); a 200bp spread at 40% recovery implies roughly 3.3% annual default probability.
- Determine the trading channel: cleared vs. bilateral. Standardized interest rate swaps in major currencies and index CDS must clear under Dodd-Frank Title VII / EMIR (end-user hedging exemptions exist). Non-mandated products stay bilateral under the uncleared margin rules: zero VM threshold, IM threshold up to $50 million per counterparty group, and IM held segregated at a third-party custodian with no rehypothecation. Client clearing adds clearing-member risk: evaluate portability provisions and maintain a backup clearing member.
- Negotiate documentation. ISDA Master Agreement (the 2002 version uses the Close-out Amount methodology; many legacy relationships remain on the 1992 version's Market Quotation/Loss — know which governs each relationship), Schedule elections (governing law, Specified Entities, cross-default thresholds, additional termination events such as NAV triggers), and CSA terms: threshold, minimum transfer amount, independent amount/IM, eligible collateral and haircuts, valuation frequency (daily is standard), and dispute resolution. Link the CSA threshold to ratings so it steps down — ideally to zero — on downgrade.
- Set the credit limit. Tier by credit quality, with sub-limits by product and tenor (long-dated exposure is more uncertain) and a settlement limit separate from the pre-settlement limit. Apply explicit add-ons or reduced limits for wrong-way risk, where exposure and counterparty credit quality are positively correlated (general WWR: PD correlated with market factors; specific WWR: structural, e.g., a put written on the counterparty's own stock).
- Stand up measurement and monitoring. Compute current exposure CE = max(V, 0); PFE at 95-97.5% confidence via Monte Carlo (simulate risk-factor paths, revalue the netting set at each time step, take the percentile of max(value, 0)); EE/EPE as the capital basis; EAD = 1.4 × (RC + PFE add-on) under SA-CCR; CVA = LGD × Σ EE_i × PD_i × DF_i. Aggregate across all desks, products, and legal entities facing the counterparty — a trade missing from the counterparty risk system is unmeasured exposure. Wire pre-deal limit checks into order flow, monitor post-trade for market-driven breaches, alert at ~80% utilization, and hard-block at 100%. Review cadence: annual full review for top-tier names, semi-annual for lower tiers, monthly (or more) for the watch list.
Workflow B: Responding to a Credit-Deterioration Event
Early-warning thresholds that should put a counterparty on the watch list before any downgrade: sustained CDS widening (e.g., 50bp over 30 days, or absolute spread above 300bp), stock price decline >30% over 60 days, negative rating outlook, covenant breaches, regulatory enforcement actions, accounting restatements, or significant client withdrawals.
- Confirm and classify the trigger. Initiate a formal credit review: temporary setback (a bad quarter, a one-time loss) or structural deterioration (capital erosion, rising NPLs, franchise decline)? Review the latest financials, disclosures, and analyst coverage.
- Enforce CSA downgrade provisions. Check for ratings-linked threshold step-downs and additional termination events; call any collateral the CSA now permits (a threshold stepping to zero converts the prior threshold amount into an immediate collateral call).
- Reduce the credit limit. Convene the credit committee and re-tier the counterparty. If current exposure now exceeds the reduced limit, document the breach and a dated remediation plan.
- Reduce exposure. In rough order of cost: let maturing trades roll off without replacement; execute offsetting trades; novate trades to other counterparties (requires consent); unwind by agreement with a close-out payment. Prioritize long-dated, high-PFE trades for novation or unwind; short-dated trades maturing within weeks rarely justify early-termination costs.
- Restrict new trading. Hold on exposure-increasing trades; require credit-officer approval for any new trade, which must be flat or exposure-reducing.
- Escalate monitoring to daily — exposure, CDS, collateral disputes, news — and explicitly stress wrong-way risk by jointly shocking the exposure drivers and the counterparty's default (e.g., a European bank counterparty and euro depreciation that inflates FX-forward exposure simultaneously).
- Pre-position for default. Pre-calculate close-out amounts and collateral adequacy, identify replacement counterparties for critical hedges, and confirm which agreement version and close-out methodology governs.
- Document everything — committee decisions, limit rationale, the reduction plan, and communications — as evidence of prudent risk management for internal audit and examiners.
Workflow C: Default Close-Out Playbook
Maintain this playbook pre-built for every watch-list counterparty: pre-drafted Event of Default and termination notices, pre-identified valuation sources (dealer panels, pricing services, internal marks), pre-computed exposure and collateral figures, and a contact tree (legal, credit, trading, operations). Close-out must execute in days, not weeks — every day of delay is unhedged market risk on the terminated portfolio.
- Confirm the Event of Default under the governing Master Agreement (failure to pay, credit support default, cross-default above the threshold, bankruptcy, merger without assumption). Distinguish from Termination Events (illegality, force majeure, tax events, ATEs), which may permit termination of only the affected transactions.
- Deliver the default notice using the pre-drafted form, observing the agreement's notice mechanics and grace periods.
- Designate the Early Termination Date (same day or a future date, as the agreement permits).
- Value the terminated transactions using commercially reasonable procedures — 2002 ISDA Close-out Amount (flexible but more subjective) or 1992 Market Quotation/Loss — drawing on the pre-identified valuation sources. Document quotes and marks contemporaneously; valuation disputes are the most litigated part of close-outs.
- Net to a single Early Termination Amount. The single-agreement provision defeats cherry-picking by the bankruptcy estate: all transactions terminate together and net to one claim, including unpaid amounts. This is where the netting-enforceability verification from Workflow A pays off.
- Apply collateral held under the CSA against the net amount. Expect exposure drift over the margin period of risk (regulatory MPOR ~10 business days bilateral, ~5 days cleared) between the last margin collection and final close-out — this is the exposure IM was sized to cover.
- Re-hedge the terminated portfolio immediately. The close-out crystallizes the claim, but the market risk of the vanished trades is live until replaced.
- For cleared trades, the CCP runs default management instead. The default waterfall applies resources in order: (1) the defaulter's initial margin, (2) the defaulter's default fund contribution, (3) the CCP's own capital (skin-in-the-game), (4) non-defaulting members' default fund contributions, (5) capped supplemental assessments, (6) recovery tools (variation margin gains haircutting, partial tear-up). CCPs size resources to the Cover 1 / Cover 2 standard — the default of the largest one or two members under extreme but plausible conditions. Clients of a defaulted clearing member should trigger porting of positions and margin to a backup member within one to two days.
Core Reference
Exposure measures (one line each). Current exposure: CE = max(V, 0), where V is the net mark-to-market of the netting set. PFE: the high-percentile (95-97.5%) simulated exposure profile over time — rising with horizon, then rolling off as trades mature. EE/EPE: average exposure at a date / time-averaged EE, the basis for regulatory capital under SA-CCR and IMM. EAD (SA-CCR): 1.4 × (RC + PFE add-on). CVA: the market value of counterparty credit risk — LGD × Σ(EE_i × PD_i × DF_i), where LGD = 1 − recovery rate, EE_i is expected exposure at time i, PD_i the default probability in period i, and DF_i the discount factor — a separate Basel III capital charge that raises the cost of bilateral OTC trades. Market-implied PD can be backed out of CDS spreads as spread / (1 − recovery rate). Limit utilization is monitored as current exposure / credit limit. Wrong-way risk: standard PFE models assume exposure-default independence — add joint stress scenarios where they correlate.
Netting. Payment netting reduces settlement flows; close-out netting is the credit-risk tool. Netting benefit = gross exposure − net exposure; netting ratio = net/gross (a ratio of 0.3 means netting cut exposure 70%). CCP multilateral netting nets across all clearing members and can exceed any bilateral result.
Collateral. VM covers current exposure (daily exchange, typically title transfer and reusable); IM covers close-out-period exposure (posted at inception, segregated, no rehypothecation under the uncleared margin rules). Collateralized exposure = max(V − haircut-adjusted collateral, 0); with a CSA threshold, residual uncollateralized exposure = max(V − threshold, 0) − collateral held. ISDA SIMM (sensitivity-based, recalibrated annually) generally produces lower IM than the regulatory schedule because it recognizes hedging and diversification. Typical haircuts: cash 0%; Treasuries 0.5-4% by maturity; investment-grade corporates 5-10%; equities 15-25%; plus ~8% FX haircut for non-domestic-currency collateral. Valuation disputes are routine — transfer the undisputed amount while escalating per the CSA.
CCP margin methodology. CCPs compute IM with historical-simulation VaR or Expected Shortfall at 99%+ confidence over the MPOR (typically 5 days for cleared swaps, 2 days for listed futures), plus concentration, liquidity, and wrong-way add-ons; VM is exchanged daily or intraday. Clearing concentrates risk in the CCP itself — CCPs are designated SIFMUs with heightened supervision, and members should assess each CCP's default waterfall adequacy.
Settlement risk. Settlement risk mechanics — DVP, PvP/CLS, Herstatt risk — are owned by the settlement-clearing skill (trading-operations); the counterparty-risk implication is that settlement limits must be set separately from pre-settlement limits because the exposure is full notional, not mark-to-market.
Worked Examples
Two worked examples are in references/examples.md — load for an end-to-end scenario: (1) setting up a counterparty credit limit framework with tiering, sub-limits, and governance, (2) designing collateral management for bilateral OTC trades under the uncleared margin rules.
Common Pitfalls
- Relying solely on credit ratings as the primary indicator of counterparty creditworthiness — ratings are lagging indicators that often reflect deterioration only after the market has repriced the risk; CDS spreads and equity-implied metrics provide more timely signals
- Failing to verify netting enforceability in each counterparty's jurisdiction before counting netting benefits in exposure calculations — unenforced netting provides no risk reduction and regulators require gross exposure treatment where enforceability is uncertain
- Neglecting wrong-way risk in exposure measurement — standard PFE models assume independence between exposure and default probability, which can dramatically underestimate risk when the two are positively correlated
- Setting counterparty credit limits at inception but failing to reduce them when credit quality deteriorates — limits must be dynamic, with formal processes for downward revision triggered by early warning indicators
- Using a single aggregate credit limit without sub-limits by product type and tenor — a counterparty with a $200 million limit concentrated entirely in 30-year interest rate swaps presents fundamentally different risk than one with the same limit spread across short-dated FX forwards
- Treating the CSA threshold as a static parameter without linking it to the counterparty's credit rating — thresholds should step down (or reduce to zero) upon rating downgrade to ensure additional collateral is posted as credit quality weakens
- Failing to calculate and maintain pre-computed close-out amounts for counterparties on the watch list — if a counterparty defaults, the firm needs to act within hours, not days, to terminate and hedge
- Ignoring settlement risk for currencies not covered by CLS — the full notional of the first-delivered leg is exposed during the time-zone gap (mechanics in settlement-clearing)
- Assuming that central clearing eliminates counterparty risk entirely — clearing reduces but does not eliminate risk; the firm still faces clearing member default risk (for client clearers) and CCP tail risk, and must contribute to the default fund
- Permitting rehypothecation of initial margin received for uncleared derivatives — this violates uncleared margin rules and, even where not prohibited, introduces a chain of credit risk that defeats the purpose of initial margin
- Not stress testing the collateral portfolio for scenarios where collateral values decline simultaneously with exposure increases — a concentrated collateral portfolio of corporate bonds may lose value in the same market stress that increases derivative exposure
- Maintaining ISDA documentation with outdated Schedules that reference superseded regulations or contain stale credit thresholds, creating legal uncertainty about close-out mechanics and collateral obligations during a default event
Cross-References
- settlement-clearing (trading-operations plugin): Owns settlement risk mechanics — DVP/PvP, CLS, Herstatt risk, and fail management; clearing and settlement infrastructure are the structural mitigants for counterparty exposure.
- margin-operations (trading-operations plugin): Owns Reg T and FINRA Rule 4210 brokerage margin; margin call workflows are the operational implementation of the collateral concepts in this skill.
- trade-execution (trading-operations plugin): Pre-deal credit limit checks must be integrated into the trade execution workflow to prevent trades that would breach counterparty exposure limits.
- order-lifecycle (trading-operations plugin): Counterparty selection and credit validation are pre-execution steps in the order lifecycle.
- operational-risk (trading-operations plugin): Counterparty default events require documented escalation, remediation, and loss attribution processes.
- forward-risk (wealth-management plugin): PFE calculation shares Monte Carlo risk-factor simulation techniques and infrastructure with forward-looking portfolio risk analysis.
- fixed-income-corporate (wealth-management plugin): Credit analysis of corporate bond issuers uses many of the same financial metrics and rating frameworks applied to counterparty credit assessment.
From the JoelLewis/finance_skills README
Finance Skills for Claude Code
A collection of Claude Code skill plugins for financial services. 91 skills across 7 domain plugins teach Claude investment management, regulatory compliance, advisory workflows, trading operations, and more — so it can assist with finance questions, build financial tools, and flag compliance concerns.
Built by Joel Lewis.
Contributions welcome! Found a way to improve a skill or have a new one to add? See CONTRIBUTING.md.
Disclaimer: These skills are provided as-is for educational and informational purposes only. The authors make no representations or warranties regarding the accuracy, completeness, or currentness of this content. Nothing in these skills constitutes financial, legal, tax, or investment advice. Users should independently verify any information before relying on it in a professional or personal context. See LICENSE for full terms.
Plugins
core — Mathematical Foundations
Always installed. Provides the math that every other plugin builds on.
| Skill | What Claude can do |
|---|---|
return-calculations | Compute TWR, MWR/IRR, CAGR, sub-period linking, annualization |
time-value-of-money | PV, FV, NPV, IRR, annuities, amortization schedules |
statistics-fundamentals | Distributions, covariance matrices, regression, bootstrapping |
Python reference scripts included for all three skills.
wealth-management — Investment Knowledge
Investment knowledge for personal and institutional wealth management. Covers the full investment lifecycle from risk measurement through reporting.
Risk measurement: Historical volatility estimators, drawdown analysis, historical VaR, parametric VaR, Monte Carlo VaR, CVaR/Expected Shortfall, GARCH, implied volatility surfaces.
Asset classes: Equities (factors, index construction, earnings), fixed income (sovereign, municipal, corporate, structured), commodities, real assets, alternatives, fund vehicles, currencies and FX, digital assets.
Valuation: Quantitative models (DCF, DDM, comparables, residual income), qualitative assessment (moats, management quality, ESG), and financial-statement analysis (FCF/EBITDA derivation, ROIC, DuPont, earnings quality).
Portfolio construction: Diversification theory, mean-variance optimization, Black-Litterman, risk parity, Kelly criterion, position sizing, calendar- and threshold-based rebalancing, factor investing (Fama-French regressions, smart-beta evaluation).
Policy and planning: IPS construction, tax-aware investing, asset location, tax-loss harvesting (dedicated workflow skill), performance attribution (Brinson, factor-based).
Personal finance: Debt prioritization, mortgage and loan analysis, emergency fund sizing, savings goals, liquidity management, equity compensation (RSU/ISO/NSO, AMT, concentrated stock), retirement decumulation (withdrawal rates, RMDs, Social Security claiming), insurance planning, and estate & gifting.
Behavioral finance: Cognitive biases, nudges, emotional discipline.
Reporting: Risk-adjusted performance ratios, performance reports, benchmark comparison, goal progress tracking.
38 skills. Python scripts for quantitative skills (risk, performance metrics, and core math).
compliance — US Securities Regulatory Guidance
Guidance-only (no Python scripts). Skills teach Claude how to flag problems and share distilled knowledge from public compliance guides, SEC/FINRA enforcement actions, and industry practice. All skills cite specific rule numbers and act sections.
| Skill | Coverage |
|---|---|
investment-suitability | FINRA Rules 2111/2090, reasonable-basis/customer-specific/quantitative suitability |
know-your-customer | CIP, CDD, beneficial ownership, customer profiling, EDD |
anti-money-laundering | BSA/AML, CTRs, SARs, OFAC screening, structuring detection |
reg-bi | SEC Reg BI disclosure, care, conflict of interest, and compliance obligations |
fiduciary-standards | IA Act §206, SEC 2019 Interpretation, ERISA §404, DOL rules |
fee-disclosure | ADV Part 2A Item 5, Reg BI cost disclosure, 12b-1, wrap fees, ERISA 408(b)(2) |
advice-standards | IA Act §202(a)(11), the investment advice vs. education bright line |
sales-practices | Churning, breakpoint abuse, selling away, unauthorized trading, supervision |
advertising-compliance | SEC Marketing Rule (206(4)-1), FINRA Rule 2210, performance advertising |
client-disclosures | Form ADV, Form CRS, Reg S-P, trade confirmations, delivery timing |
conflicts-of-interest | Reg BI COI obligation, fiduciary duty, FINRA compensation rules |
books-and-records | SEC 17a-3/17a-4, Rule 204-2, WORM storage, electronic communications archiving |
regulatory-reporting | Form PF, 13F/13H, Form ADV amendments, FOCUS reports, CAT reporting |
gips-compliance | CFA Institute GIPS: composites, performance presentation, verification |
privacy-data-security | Reg S-P, Reg S-ID, SEC cybersecurity rules (2023), state privacy law |
examination-readiness | SEC/FINRA exam process, document production, deficiency findings, mock exam frameworks |
private-placements | Reg D 506(b)/(c), accredited investor and qualified purchaser tests, Form D, FINRA 5122/5123 |
17 skills.
advisory-practice — Front Office Systems
Teaches Claude how advisor platforms work so it can help design, evaluate, or integrate with them. Covers the full advisor workflow from client onboarding through reporting.
| Skill | Coverage |
|---|---|
client-onboarding | Digital onboarding, document collection, KYC integration, e-signature, NIGO handling |
crm-client-lifecycle | Client segmentation, household management, service tiers, review scheduling |
portfolio-management-systems | Model portfolios, sleeve/UMA/SMA management, drift monitoring, held-away aggregation |
order-management-advisor | Advisor order entry, block trading, allocation, pre-trade compliance |
financial-planning-integration | Planning tool data flows, goal-based plans, Monte Carlo, plan-to-portfolio linkage |
proposal-generation | Risk profiling output, model recommendation, fee illustration, compliance review |
advisor-dashboards | Practice analytics, AUM/revenue/flows, exception and alert dashboards |
next-best-action | Event-driven triggers, prioritization scoring, advisor nudges, automated workflows |
fee-billing | Fee calculation (tiered, flat, breakpoint), billing cycles, revenue recognition |
client-reporting-delivery | Report generation, delivery channels, frequency management, compliance review |
client-review-prep | Pre-meeting review preparation, performance summary, drift analysis, talking points |
financial-planning-workflow | End-to-end financial plan assembly, retirement modeling, scenario analysis |
12 skills.
trading-operations — Order Lifecycle and Execution
Order lifecycle from entry through settlement. Serves advisor, algorithmic, and client-direct trading contexts.
| Skill | Coverage |
|---|---|
order-lifecycle | Order states, FIX protocol basics, order types, time-in-force, cancel/replace |
trade-execution | Best execution, venues, smart order routing, TCA |
pre-trade-compliance | Rule engines, concentration limits, restricted lists, hard/soft blocks |
post-trade-compliance | Trade surveillance, pattern detection, best execution review, allocation fairness |
settlement-clearing | T+1, DTC/NSCC, fails management, corporate actions on settlement, DVP/RVP |
exchange-connectivity | Venue connectivity, market data feeds, FIX sessions, trading halts, circuit breakers |
margin-operations | Reg T, maintenance margin, portfolio margin, margin calls, liquidation waterfall |
operational-risk | Trade breaks, settlement fails, error handling, loss event taxonomy, KRIs |
counterparty-risk | Counterparty exposure, credit risk monitoring, netting, collateral management |
9 skills.
client-operations — Account Lifecycle and Servicing
Back-office account operations and servicing workflows.
| Skill | Coverage |
|---|---|
account-opening-workflow | Account types, required docs, approval workflows, NIGO management, regulatory holds |
account-opening-compliance | CIP/KYC integration, suitability checks, OFAC screening, beneficial ownership |
account-maintenance | Address changes, beneficiary updates, re-registration, cost basis, restrictions |
account-transfers | ACAT, non-ACAT, partial transfers, journal entries, rollovers, estate transfers |
reconciliation | Position/cash/transaction recon, break identification, three-way reconciliation |
corporate-actions | Mandatory/voluntary actions, dividends, splits, M&A, tender offers, record dates |
stp-automation | STP design, exception-based workflow, STP rate metrics, integration patterns |
workflow-automation | BPM concepts, task routing, approval chains, escalation, SLA monitoring |
8 skills.
data-integration — Reference Data and Integration
Data foundations that every financial system depends on.
| Skill | Coverage |
|---|---|
reference-data | Security master, client master, account master, CUSIP/ISIN/SEDOL/FIGI, pricing |
market-data | Real-time vs delayed, Level 1/2/3, data vendors, consolidated tape, licensing |
integration-patterns | API design for financial systems, FIX, ISO 20022, event-driven, idempotency |
data-quality | Golden source, data lineage, validation rules, exception management, governance |
4 skills.
Installation
Option 1: Claude Code Marketplace (Recommended)
Install via Claude Code's built-in plugin system:
/install JoelLewis/finance_skills
Option 2: npx skills
Use npx skills to install skills directly:
# Install all skills
npx skills add JoelLewis/finance_skills
# Install specific plugins
npx skills add JoelLewis/finance_skills --plugin wealth-management
# List available plugins
npx skills add JoelLewis/finance_skills --list
Option 3: install.sh (Symlink)
Clone the repo and use the included installer, which symlinks skills into your project so updates are reflected immediately:
git clone https://github.com/JoelLewis/finance_skills.git
cd finance_skills
# Install a single plugin
./install.sh --plugin wealth-management --target /path/to/your/project
# Install all plugins
./install.sh --plugin all --target /path/to/your/project
# List available plugins
./install.sh --list
The installer always installs core first (implicit dependency), then any declared
plugin dependencies, then symlinks each skill into <target>/.claude/skills/.
Option 4: Clone and Copy
Copy skills directly without symlinks:
git clone https://github.com/JoelLewis/finance_skills.git
mkdir -p /path/to/your/project/.claude/skills
# Copy a single plugin
cp -r finance_skills/plugins/core/skills/* /path/to/your/project/.claude/skills/
cp -r finance_skills/plugins/wealth-management/skills/* /path/to/your/project/.claude/skills/
# Or copy everything
for plugin in finance_skills/plugins/*/; do
cp -r "$plugin"skills/* /path/to/your/project/.claude/skills/
done
What Gets Installed
your-project/
└── .claude/
└── skills/
├── return-calculations/ # from core
├── time-value-of-money/ # from core
├── statistics-fundamentals/ # from core
├── historical-risk/ # from wealth-management
└── ...
After installing, Claude will automatically pick up the skills. Verify with:
ls /path/to/your/project/.claude/skills/
Plugin Dependency Graph
core (implicit — always installed)
├── wealth-management
├── compliance ←── (recommended for all plugins)
├── advisory-practice ←── depends on wealth-management
├── trading-operations
├── client-operations
└── data-integration
Installing advisory-practice automatically installs core and wealth-management.
Installing any plugin automatically installs core.
Repository Structure
finance_skills/
├── README.md
├── CLAUDE.md # Claude Code project instructions
├── .claude-plugin/
│ └── marketplace.json # Plugin catalog (catalog of record)
├── install.sh # Plugin installer (--list, --check)
└── plugins/
├── core/
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin manifest (deps, keywords, scripts flag)
│ └── skills/
│ ├── return-calculations/
│ ├── time-value-of-money/
│ └── statistics-fundamentals/
├── wealth-management/
│ ├── .claude-plugin/plugin.json
│ └── skills/ # ... (38 skills)
├── compliance/
│ ├── .claude-plugin/plugin.json
│ └── skills/ # ... (17 skills)
├── advisory-practice/
│ ├── .claude-plugin/plugin.json
│ └── skills/ # ... (12 skills)
├── trading-operations/
│ ├── .claude-plugin/plugin.json
│ └── skills/ # ... (9 skills)
├── client-operations/
│ ├── .claude-plugin/plugin.json
│ └── skills/ # ... (8 skills)
└── data-integration/
├── .claude-plugin/plugin.json
└── skills/ # ... (4 skills)
Skill Template
Each SKILL.md follows a consistent structure:
- Purpose — what the skill enables Claude to do
- When to Use — trigger phrases and situations
- Core Concepts — the domain knowledge, with formulas where applicable
- Key Formulas — reference table (quantitative skills only)
- Worked Examples — concrete scenarios with step-by-step analysis
- Common Pitfalls — mistakes to watch for
- Cross-References — links to related skills in other plugins
- Reference Implementation — pointer to Python script (quantitative skills only)
Compliance and operations skills use scenario-based examples (Scenario / Compliance Issues / Analysis) and cite specific rule numbers inline. Quantitative skills include worked numerical examples and runnable Python scripts.
What Are Plugins?
Each plugin is a collection of SKILL.md files (and optional Python reference scripts) that teach Claude domain knowledge. When installed, Claude can:
- Answer domain-specific questions with regulatory citations and worked examples
- Flag compliance concerns during design discussions
- Generate and explain financial computations
- Assist with building, evaluating, or integrating with financial systems
Plugins are independently installable — pull only the domains your project needs. The
core plugin is implicit and always included.
Plugin Architecture
Design Principles
coreis implicit — always installed; every plugin depends on it- Plugins are independently installable — a project pulls only the domains it needs
- Cross-plugin references are allowed — skills reference related skills in other plugins via cross-references section
- Skills live in
.claude/skills/— installation symlinks a plugin's skills into the target project's skill directory - No Python scripts for guidance-only skills — compliance/operations plugins are guidance-only; quantitative plugins may have
scripts/subdirectories
Plugin Dependency Graph
core (implicit — always installed)
├── wealth-management
├── compliance ←── (recommended for all plugins)
├── advisory-practice ←── depends on wealth-management
├── trading-operations
├── client-operations
└── data-integration
SKILL.md Template
Each skill follows this structure:
---
name: <skill-name>
description: <one-line description used for skill matching>
allowed-tools: ["Bash", "Read", "Write", "Edit"]
---
# <Skill Title>
## Purpose
What this skill enables Claude to do.
## Layer
N — Layer Name
## Direction
retrospective | prospective | both
## When to Use
- Trigger phrases and situations
## Core Concepts
### <Concept>
Explanation with formulas.
## Key Formulas (optional — omit for non-quantitative skills)
| Formula | Expression | Use Case |
## Worked Examples
### Example 1: <title>
**Given:** ... **Calculate:** ... **Solution:** ...
(Compliance/operations skills use scenario-based examples:
**Scenario:** ... **Compliance Issues:** ... **Analysis:** ...)
## Common Pitfalls
- Things to watch out for
## Cross-References
- Related skills
## Reference Implementation (optional — omit for guidance-only skills)
See `scripts/<name>.py` for computational helpers.
Cross-Plugin Connection Registry
| Connection | Skills Involved | Nature |
|---|---|---|
| Amortization math | time-value-of-money → lending, debt-management | Shared formulas |
| Margin/SBLOC liquidity | lending ↔ liquidity-management | Cross-reference |
| Borrowing vs repayment | lending ↔ debt-management | Cross-reference |
| Behavioral valuation | qualitative-valuation ↔ finance-psychology | Cross-reference |
| Retro/prospective chain | performance-metrics → performance-attribution → performance-reporting | Data flow |
| Prospective → allocation | forward-risk, volatility-modeling → asset-allocation | Input/output |
| Covariance matrix flow | statistics-fundamentals → historical-risk, forward-risk, diversification, asset-allocation | Shared computation |
| Return math flow | return-calculations → nearly every skill | Foundation |
| Suitability → policy | investment-suitability → investment-policy | Suitability obligations inform IPS constraints |
| KYC → suitability | know-your-customer → investment-suitability, reg-bi | Customer profile feeds suitability/BI analysis |
| KYC → AML | know-your-customer → anti-money-laundering | CDD/CIP feeds AML monitoring |
| Fiduciary vs Reg BI | fiduciary-standards ↔ reg-bi | Parallel standards for IAs vs BDs |
| Advice line | advice-standards → fiduciary-standards, reg-bi | Determines which standard applies |
| Fee transparency | fee-disclosure → fund-vehicles, investment-policy | Fee rules constrain product/policy design |
| Sales oversight | sales-practices → investment-suitability, reg-bi | Supervision enforces suitability/BI |
| Marketing rules | advertising-compliance → performance-reporting, performance-metrics | Constrains how performance can be presented |
| Disclosure docs | client-disclosures → fee-disclosure, conflicts-of-interest | Delivery vehicles for fee and COI disclosures |
| COI across layer | conflicts-of-interest → reg-bi, fiduciary-standards, sales-practices | COI obligation embedded in multiple standards |
| Records foundation | books-and-records → client-disclosures, sales-practices, anti-money-laundering | Retention rules underpin all compliance recordkeeping |
| Reporting mechanics | regulatory-reporting → anti-money-laundering, client-disclosures, know-your-customer | Filing obligations tie to KYC, AML, and disclosure data |
| GIPS performance chain | gips-compliance → performance-metrics, performance-attribution, performance-reporting | GIPS constrains calculation, attribution, and presentation |
| Privacy data flows | privacy-data-security → client-disclosures, know-your-customer, books-and-records | NPI protection overlays disclosure, KYC, and retention |
| Exam readiness umbrella | examination-readiness → all compliance skills | Exam preparation draws on every compliance domain |
| Review prep workflow | client-review-prep → performance-reporting, performance-attribution, rebalancing, tax-efficiency, investment-policy | Meeting preparation assembles data from multiple knowledge skills |
| Financial plan orchestration | financial-planning-workflow → savings-goals, debt-management, emergency-fund, liquidity-management, tax-efficiency, investment-policy | Planning workflow references underlying knowledge skills |
| TLH workflow depth | tax-loss-harvesting ↔ tax-efficiency, rebalancing | Dedicated TLH workflow extends broader tax-efficiency coverage and coordinates with rebalancing |
| Plan to review cycle | financial-planning-workflow ↔ client-review-prep | Plan progress is reviewed in client meetings; reviews may trigger plan updates |
Details
- Marketplace
- JoelLewis/finance_skills
- Source
- plugins/trading-operations
- Author
- Joel Lewis
- Category
- Finance
- Keywords
- trading, order-management, settlement, execution, risk
- Listed since
- Apr 6, 2026
More from JoelLewis/finance_skills
All 7Similar to trading-operations
More Finance & Trading
client-operationsPluginJoelLewis/finance_skills252 starsBack-office account operations and servicing workflows. Covers the full account lifecycle from opening through maintenance, transfers, reconciliation, and corpo
operational-riskSkilljoellewis/finance_skills720 installsOperational-risk guide for trade errors, breaks, loss classification, KRIs, outages, and exam readiness in brokerage operations.
quantitative-tradingPluginwshobson/agents42.8K starsQuantitative analysis, algorithmic trading strategies, financial modeling, portfolio risk management, and backtesting
trading-expertSkillpersonamanagmentlayer/pcl969 installsExpert guidance for algorithmic trading systems, market data processing, and execution with pre-trade risk checks.
Trade ItMCP servertrade-it-inc62 starsConnects brokerage accounts for holdings, orders, asset lookup, and approved trading.
trading-skillsPluginagiprolabs/claude-trading-skills559 stars67 trading, DeFi, and quantitative finance Agent Skills. Market data APIs, on-chain analysis, backtesting, risk management, execution, tax compliance, and more.