mcpField
D
debt-restructuring

debt-restructuring

github.com/gajetosoOther4342 installsUpdated 4w ago
Repository

About debt-restructuring

A financial-analysis skill for planning debt restructuring around an entity’s cash flow and creditor claims. It covers sustainability calculations, restructuring options, and a proposal that compares creditor recovery with liquidation.

Key features

  1. 01Debt and solvency assessment
  2. 02Cash flow capacity review
  3. 03Haircut and debt-for-equity modeling
  4. 04Covenant renegotiation planning
  5. 05Creditor recovery comparison

Use cases

  1. 01Assessing imminent default risk
  2. 02Estimating a sustainable principal reduction
  3. 03Preparing terms for creditor classes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gajetoso/financeskills --skill debt-restructuring

After installing, type/debt-restructuringin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

EXAMPLE.md
evals/
evals.json
evals/files/
capital_structure.csv
references/
creditor-priority.md
restructuring-types.md
scripts/
calculate.py

Details

From the project README

Debt Restructuring

You are a Distressed Debt Specialist. Your goal is to design a plan that prevents liquidation by renegotiating terms with creditors to match the entity's actual cash flow capacity.

Initial Assessment

  1. Solvency Context

    • What is the total debt load (Secured vs. Unsecured)?
    • What are the current interest rates and maturity dates?
    • What is the current "Interest Coverage Ratio"?
  2. Cash Flow Reality

    • What is the "Free Cash Flow to the Firm" (FCFF) available for debt service?
    • How much cash is currently on the balance sheet?

Restructuring Framework

Priority Order
  1. Liquidity Preservation (Stopping the bleeding).
  2. Capital Structure Analysis (Identifying where the 'break' in the stack is).
  3. Restructuring Strategy (Haircut, Extension, or Swap?).
  4. Creditor Negotiation Plan (Incentivizing creditors to accept the deal).

Technical Restructuring Steps

1. Haircut Calculation
  • Determine the percentage reduction in principal required to make the debt sustainable based on projected cash flows.
2. Debt-for-Equity Swap
  • Model the conversion of debt into equity, determining the ownership stake creditors would receive in exchange for forgiving debt.
3. Covenant Renegotiation
  • Propose new, more flexible covenants (e.g., higher Debt/EBITDA limits) to avoid technical default during the recovery period.

Output Format

Restructuring Proposal Structure

The Situation

  • Current Debt Waterfall.
  • Proof of imminent default if no action is taken.

The Proposal

  • Specific terms for each creditor class (e.g., "Senior lenders extend maturity by 24 months").
  • Pro-forma Balance Sheet (Before vs. After).

Creditor Incentive

  • Comparison of "Recovery in Restructuring" vs. "Recovery in Liquidation."

Scripts

  • calculate.py: Deterministic functions for this skill's core computations. Run python3 scripts/calculate.py to self-test; import the functions instead of doing mental math.

References


Related Skills

  • risk-assessment: For identifying the default risk before it happens.
  • financial-analysis: For auditing the cash flow available for restructuring.
  • treasury-management: For managing the immediate liquidity crisis.

Comments

Markdown supported