managing-margin-and-collateral-requirements
Tracks margin requirements with initial/variation margin, portfolio margin optimization, and collateral eligibility analysis. Use when managing margin, optimizing collateral, or analyzing portfolio margin impact.
Best use case
managing-margin-and-collateral-requirements is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Tracks margin requirements with initial/variation margin, portfolio margin optimization, and collateral eligibility analysis. Use when managing margin, optimizing collateral, or analyzing portfolio margin impact.
Teams using managing-margin-and-collateral-requirements should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/managing-margin-and-collateral-requirements/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How managing-margin-and-collateral-requirements Compares
| Feature / Agent | managing-margin-and-collateral-requirements | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Tracks margin requirements with initial/variation margin, portfolio margin optimization, and collateral eligibility analysis. Use when managing margin, optimizing collateral, or analyzing portfolio margin impact.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Managing Margin And Collateral Requirements ## When To Use - Calculating or reconciling initial margin (IM) and variation margin (VM) across cleared and bilateral OTC positions - Evaluating portfolio margin benefits versus Reg-T margin for equity/options books - Assessing collateral eligibility, haircuts, and substitution options for posted margin - Responding to margin calls — determining optimal assets to pledge or liquidate - Analyzing the margin impact of a proposed trade or portfolio rebalance before execution - Preparing margin utilization reports for risk committees or prime broker reviews ## Inputs To Gather - **Position data**: Current holdings by asset class, notional, instrument identifiers (CUSIP/ISIN/ticker), and clearing venue - **Margin schedules**: Exchange/CCP margin rate tables, prime broker house requirements, ISDA SIMM parameters [VERIFY against current CCP/broker schedules] - **Collateral inventory**: Assets available for pledging — cash balances by currency, government bonds, corporate bonds, equities, money market funds — with current market values - **Haircut tables**: CCP and counterparty-specific haircut schedules by asset type, credit rating, tenor, and currency [VERIFY with each counterparty's current CSA/collateral annex] - **Margin call details**: Call amounts, settlement deadlines (T+0/T+1), disputed amounts, and counterparty contact information - **Regulatory thresholds**: Applicable IM thresholds under UMR phases, minimum transfer amounts (MTAs), and rounding conventions [VERIFY phase-in applicability for entity size] ## Workflow 1. **Aggregate positions and current margin requirements** - Pull positions across all clearing venues, prime brokers, and bilateral counterparties - Map each position to the applicable margin methodology (SPAN, TIMS, VaR-based, SIMM, Reg-T, portfolio margin) - Calculate gross IM and VM obligations per account/counterparty 2. **Reconcile posted collateral against requirements** - Compare margin required vs. margin posted per account - Apply correct haircuts to non-cash collateral — distinguish between CCP haircuts, bilateral CSA haircuts, and internal risk haircuts - Identify surplus and deficit positions; flag any accounts approaching margin call triggers 3. **Optimize collateral allocation** - Rank available collateral by cost: funding cost, opportunity cost of pledging, haircut drag, and concentration limits - Prioritize pledging lowest-cost eligible collateral (e.g., T-bills before equities) - Check concentration limits — many CCPs cap non-cash or single-issuer collateral at a percentage of total margin [VERIFY specific CCP concentration rules] - Evaluate cross-margining or netting opportunities across correlated positions at the same CCP 4. **Analyze portfolio margin optimization** - Compare Reg-T margin to portfolio margin (PM) requirements for options/equity strategies - Quantify margin savings from PM approval — model stress scenarios (typically ±6% to ±15% moves) used by OCC/exchange PM calculations [VERIFY current PM stress parameters] - Identify positions that increase margin disproportionately under PM (e.g., concentrated single-name risk, illiquid underlyings) - Flag eligibility requirements: account minimums, product restrictions, and broker-specific PM rules 5. **Process margin calls and substitutions** - For inbound margin calls: verify call accuracy against independent calculations, note dispute window deadlines - Select assets to pledge based on optimization ranking from Step 3 - For collateral substitutions: confirm counterparty accepts replacement asset, coordinate settlement timing to avoid uncollateralized gaps - Document all margin movements with timestamps, counterparty confirmations, and settlement references 6. **Report and escalate** - Produce margin utilization summary: total IM/VM posted, surplus/deficit by counterparty, cost of collateral deployed - Highlight approaching thresholds — accounts within 10–20% of margin call triggers - Escalate breaches, disputed calls, or collateral shortfalls to risk management and treasury ## Output The final margin and collateral report should include: - **Margin summary table**: Counterparty/CCP, margin methodology, IM required, VM required, collateral posted (cash vs. non-cash), surplus/deficit - **Collateral allocation detail**: Assets pledged by counterparty, haircut applied, eligible value credited, funding cost estimate - **Portfolio margin analysis** (if applicable): Reg-T vs. PM comparison, margin savings quantified, stress-test results under PM methodology - **Margin call log**: Open calls with amounts, deadlines, resolution status, and any disputed items - **Optimization recommendations**: Collateral substitutions that would reduce funding cost, cross-margining opportunities, positions to restructure for margin efficiency - **Risk flags**: Concentrated collateral exposure, upcoming large expirations affecting margin, counterparties with deteriorating collateral quality ## Quality Checks - Verify margin calculations against at least one independent source (CCP margin calculator, broker portal, or internal risk system) - Confirm haircut schedules match the governing CSA, clearing agreement, or exchange rulebook — do not assume standard haircuts [VERIFY] - Validate that collateral eligibility reflects current counterparty schedules, not stale lists - Check settlement timing — ensure collateral delivery meets margin call deadlines accounting for settlement lag (same-day for cash, T+1/T+2 for securities) - Confirm no double-counting of collateral pledged to multiple counterparties - Cross-check that portfolio margin stress scenarios use current exchange-published parameters, not historical defaults [VERIFY] - Flag any regulatory threshold changes (UMR phase-in, updated SIMM calibration) that affect margin calculations
Related Skills
managing-wound-care
Guides wound assessment, classification, and treatment selection with documentation requirements. Use when managing surgical wounds, classifying wound types, or selecting wound care protocols.
managing-wound-assessment-nursing
Structures wound assessment with measurement, staging, and treatment plan documentation. Use when assessing wounds, staging pressure injuries, or documenting wound care.
managing-workplace-safety-healthcare
Tracks OSHA healthcare requirements including bloodborne pathogen, TB, and violence prevention programs. Use when managing OSHA compliance, implementing safety programs, or documenting exposure incidents.
managing-workers-compensation-rehabilitation
Structures workers comp rehab documentation with functional capacity evaluation and return-to-work planning. Use when managing work injury rehab, performing FCEs, or documenting return-to-work status.
managing-vestibular-rehabilitation
Structures vestibular assessment with positional testing and customized exercise programs. Use when evaluating vestibular disorders, performing Dix-Hallpike testing, or designing vestibular exercise programs.
managing-venous-thromboembolism-prophylaxis
Applies VTE risk assessment (Padua, Caprini) with appropriate prophylaxis selection. Use when assessing VTE risk, selecting prophylaxis regimens, or documenting DVT prevention.
managing-valvular-heart-disease
Guides valve disease severity assessment with intervention criteria and surveillance schedules. Use when evaluating valve disease, assessing surgical/interventional timing, or monitoring valve function.
managing-vaccine-schedules
Applies CDC immunization schedules with catch-up protocols and contraindication screening. Use when managing vaccinations, creating catch-up schedules, or documenting immunization decisions.
managing-vaccination-campaigns
Plans mass vaccination campaigns with logistics, cold chain management, and adverse event monitoring. Use when planning vaccination drives, managing immunization logistics, or monitoring VAERS.
managing-traumatic-brain-injury-rehabilitation
Structures TBI rehab with Rancho Los Amigos scoring and cognitive rehabilitation protocols. Use when managing TBI rehab, tracking Rancho levels, or implementing cognitive therapy.
managing-trauma-assessments
Conducts structured primary and secondary trauma surveys following ATLS methodology. Use when assessing trauma patients, documenting trauma workups, or coordinating trauma team activations.
managing-transplant-evaluations
Guides transplant candidacy evaluation with organ-specific criteria and listing documentation. Use when evaluating transplant candidates, documenting listing criteria, or coordinating transplant workups.