managing-cash-flow-modeling
Models portfolio cash flows for liability-driven and income-oriented investment strategies. Use when modeling portfolio cash flows, planning income distributions, or managing liability matching.
Best use case
managing-cash-flow-modeling is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Models portfolio cash flows for liability-driven and income-oriented investment strategies. Use when modeling portfolio cash flows, planning income distributions, or managing liability matching.
Teams using managing-cash-flow-modeling 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-cash-flow-modeling/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How managing-cash-flow-modeling Compares
| Feature / Agent | managing-cash-flow-modeling | 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?
Models portfolio cash flows for liability-driven and income-oriented investment strategies. Use when modeling portfolio cash flows, planning income distributions, or managing liability matching.
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 Cash Flow Modeling Models portfolio cash flows for liability-driven and income-oriented investment strategies. ## When To Use - Building or updating a liability-driven investment (LDI) cash flow schedule - Planning periodic income distributions (retirement drawdown, endowment spending, trust distributions) - Stress-testing a portfolio's ability to meet known future obligations (pension payments, insurance reserves, debt service) - Evaluating reinvestment risk when bonds mature or coupons reset - Comparing candidate portfolio allocations on a cash-flow-sufficiency basis ## Inputs To Gather - **Liability schedule**: Dates, amounts, and confidence level (contractual vs. actuarial estimate) for each future obligation - **Current holdings**: Position-level detail — instrument type, par/notional, coupon/dividend rate, payment frequency, maturity/call dates, amortization terms - **Yield/spread assumptions**: Current curve (Treasury, swap, or relevant benchmark), credit spreads, prepayment speed assumptions (CPR/PSA for MBS) [VERIFY against current market data] - **Reinvestment assumptions**: Rate at which interim cash flows are assumed to be redeployed; specify flat rate, forward curve, or custom schedule - **Distribution policy**: Spending rate, smoothing rules, floor/ceiling constraints, timing (monthly, quarterly, annual) - **Tax treatment**: Taxable vs. tax-exempt status; applicable rate for coupon income vs. capital gains [VERIFY jurisdiction-specific rates] - **Modeling horizon**: Start date, end date, and granularity (monthly, quarterly, annual buckets) ## Workflow 1. **Map the liability stream** — Lay out each obligation by period. For actuarial liabilities (pensions, insurance), note the discount rate used and flag sensitivity to rate changes. Separate hard (contractual) from soft (discretionary) liabilities. 2. **Project asset cash flows** — For each holding, generate the expected cash flow timeline: - Fixed-rate bonds: coupon payments + principal at maturity/call date - Floating-rate instruments: project coupons using forward curve or stated spread + index - MBS/ABS: apply prepayment model (CPR/PSA) to project principal return schedule [VERIFY prepayment speed assumption is current] - Equities/alternatives: apply dividend yield or distribution rate assumption; note higher uncertainty - Maturing principal: slot into reinvestment pool at assumed reinvestment rate 3. **Aggregate by period** — Sum inflows (coupons, dividends, principal returns, reinvestment income) and outflows (liability payments, management fees, taxes) per period. Compute net cash flow per bucket. 4. **Run surplus/deficit analysis** — For each period, calculate cumulative surplus or shortfall. Identify the first period of deficit (if any) and the magnitude. Flag periods where surplus is thin relative to liability volatility. 5. **Stress-test key assumptions**: - **Interest rate shift**: parallel +/- 100 bps; steepener/flattener scenarios - **Prepayment shock**: for MBS-heavy portfolios, test fast (2x baseline) and slow (0.5x baseline) CPR - **Credit event**: model default/downgrade on largest credit exposures and impact on expected cash flows - **Longevity/inflation**: for pension/retirement portfolios, extend liability horizon or inflate future payments [VERIFY actuarial assumptions with plan actuary] 6. **Evaluate reinvestment risk** — Quantify how much of the portfolio matures within the next 1, 3, and 5 years. Model the impact of reinvesting at current forwards vs. stressed rate scenarios on future income. 7. **Summarize and recommend** — Present the cash flow model results with a clear recommendation on portfolio adequacy, timing of any shortfalls, and suggested adjustments (extend duration, add higher-coupon assets, build cash reserve buffer). ## Output The deliverable should include: - **Cash flow schedule table**: Period-by-period inflows, outflows, net cash flow, and cumulative surplus/deficit - **Surplus/deficit chart**: Visual timeline showing cumulative position relative to zero - **Sensitivity summary**: Table showing net surplus under each stress scenario (rate shift, prepayment, credit, inflation) - **Reinvestment risk profile**: Maturity runoff schedule with income-at-risk under adverse reinvestment rates - **Key assumptions register**: Every assumption used (reinvestment rate, prepayment speed, discount rate, tax rate, distribution policy) listed with source and date - **Action items**: Specific portfolio adjustments recommended to close any identified gaps ## Quality Checks - Verify that total projected asset cash flows reconcile to current portfolio market value plus expected income (no double-counting or omissions) - Confirm liability amounts and timing match the most recent actuarial valuation or contractual schedule [VERIFY with plan sponsor or trustee] - Ensure reinvestment rate assumptions are internally consistent with the yield curve used for discounting - Check that stress scenarios cover the primary risk factors for the specific portfolio composition (e.g., don't omit prepayment stress for an MBS-heavy book) - Validate that the model horizon extends at least to the longest-dated liability - Confirm tax treatment is applied correctly — gross vs. net cash flows must be clearly labeled - Flag any holdings with missing data (e.g., no call schedule, no prepayment model) with [VERIFY] rather than silently assuming defaults
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.