Modeling debt capacity analysis is an AI agent skill from the GitHub repository CaseMark/skills. Calculates borrower debt capacity with cash flow coverage, leverage multiples, and stress-tested servicing ability. Use when sizing debt facilities, analyzing leverage capacity, or determining optimal capital structure.
Claude Code: save it as .claude/skills/modeling-debt-capacity-analysis/SKILL.md
Cursor: save it as .cursor/rules/modeling-debt-capacity-analysis.md
Codex: save it as .agents/skills/modeling-debt-capacity-analysis/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Modeling Debt Capacity Analysis
When To Use
Sizing a new term loan, revolver, or bond issuance for a corporate or sponsor-backed borrower
Evaluating how much incremental leverage a borrower can support for an acquisition or recapitalization
Stress-testing an existing capital structure ahead of a refinancing or covenant amendment
Providing lender-side analysis of maximum supportable debt in a credit approval process
Comparing debt capacity across capital structure alternatives (senior secured vs. unsecured, fixed vs. floating)
Inputs To Gather
Historical financials — 3 years minimum of income statement, balance sheet, and cash flow statement
Management projections — Base-case revenue, EBITDA, and capex forecasts for the projection period (typically 5–7 years)
Existing debt schedule — All outstanding obligations with maturity dates, interest rates, amortization terms, and covenant packages
Industry comps — Leverage multiples (Total Debt / EBITDA, Senior Debt / EBITDA) and coverage ratios for comparable credits [VERIFY: confirm peer set and data source recency]
Coverage-based: Set minimum DSCR (typically 1.20–1.50x for investment grade; 1.00–1.20x for leveraged) and solve for maximum debt service, then back into principal
Multiple-based: Apply market-clearing leverage multiples (e.g., 4.0–6.0x Total Debt / EBITDA for leveraged credits) to normalized EBITDA [VERIFY: current market leverage multiples for the relevant sector and rating tier]
Amortization-based: Model mandatory amortization (typically 1–5% p.a. for term loans) and ensure cash flow covers scheduled principal plus interest
Take the minimum of the three approaches as the binding constraint
Covenant compliance matrix: Projected leverage and coverage ratios vs. covenant thresholds across base and stress cases
Sensitivity grids: Debt capacity under varying EBITDA, rate, and margin assumptions
Key assumptions register: Documented inputs, sources, and any items marked [VERIFY]
Quality Checks
Confirm EBITDA adjustments reconcile to audited financials or management bridge — no unexplained gaps
Verify interest expense is calculated on average debt balances (not period-end) with correct day-count convention
Ensure amortization schedules sum to stated maturity amounts and cash sweep mechanics are modeled if applicable
Check that downside stress scenarios produce DSCR below base case — if not, the stress is too mild
Cross-check leverage multiples against recent comparable transactions and rating agency benchmarks [VERIFY: source and date of comp data]
Validate that the binding constraint is clearly identified and that no tranche exceeds its individual sizing cap
Confirm all circular references (interest ↔ debt balance ↔ cash sweep) are resolved via iteration or macro
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.