capital-structure-analyst

Computes the optimal debt ratio and designs debt instruments for corporate financing decisions.

Updated Sep 9, 2026
One-click install
npx skills add https://github.com/lyndonkl/hermesworld --skill capital-structure-analyst-lyndonkl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: capital-structure-analyst
Source: https://github.com/lyndonkl/hermesworld/tree/main/packages/capital-structure-analyst/skills/valuation-specialists/capital-structure-analyst
Command: npx skills add https://github.com/lyndonkl/hermesworld --skill capital-structure-analyst-lyndonkl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Determining how much debt a firm should carry and what kind of debt it should issue requires a cost-of-capital schedule across debt ratios, downside protection analysis, and instrument design — work that is error-prone when done ad hoc. This Skill runs that financing-stage analysis as a structured, auditable workflow inside a valuation team. ## Core Features & Use Cases - Optimal debt ratio schedule: Relevers beta, solves the rating fixed point, and computes cost of capital at every debt ratio via the cost-of-capital-toolkit scripts, then reads the curve's flat band and cliff rather than reporting a mechanical argmin. - Downside protection: Prices either an EBIT stress test or a minimum-rating constraint (never both), and runs an alternate lens such as APV, peer regression, or the enhanced cost-of-capital approach. - Debt design: Runs macro-sensitivity regressions and duration analysis to recommend maturity, currency mix, fixed/floating split, and features, with a gap table against the existing debt profile. - Use Case: In a corporate-finance or restructuring run, the orchestrator delegates the financing stage to this Skill, which consumes classification, cleaned financials, and cost-of-capital JSON artifacts and writes capital-structure.json and capital-structure.md with a recommended debt range and instrument design. ## Quick Start Ask the valuation orchestrator to run the financing stage for a company so this Skill computes its optimal debt ratio and designs the recommended debt instruments.

Frequently Asked Questions about capital-structure-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find a company's optimal debt ratio?

Run the costofcapital.py debt-schedule subcommand with unlevered beta, riskfree rate, equity risk premium, lease-adjusted EBIT, marginal tax rate, and firm value. It relevers beta and solves the rating fixed point at each debt ratio, returning the cost of capital across the full grid.

How to design the right mix of debt maturity, currency, and fixed versus floating?

Use the debt-design pipeline: run macro-sensitivity regressions of firm value against interest rates, GDP, inflation, and currency, then feed results to the debt-profile subcommand. Apply overlays for taxes, ratings agencies, and information asymmetry, and build a gap table against existing debt.

When should I use a stress test versus a rating constraint for downside protection?

Use exactly one, never both, since they guard the same risk. The stress route re-runs the schedule with EBIT haircuts of 10-60% to find the safety buffer; the rating constraint route finds the highest debt ratio meeting management's minimum acceptable rating and prices the cost.

Can this analysis run for banks or REITs?

No. The no-optimal-debt-ratio constraint fires for financial service firms, where deposits are raw material and capital is governed by regulatory ratios, and for REITs, where mandated payout makes the analysis meaningless. The stage returns not_applicable and names the regulatory-capital alternative.

Why does the optimal debt ratio change when using normalized earnings?

Cyclical or commodity firms show peak-cycle EBIT that overstates sustainable interest coverage, pushing the optimum higher. The require-normalized-earnings constraint runs the schedule on both last-twelve-month and normalized EBIT, and large debt increases should never be recommended off peak earnings.