special-situation-models

Values distressed, financial-service, private, cyclical, and young firms that break standard DCF assumptions.

Updated Sep 9, 2026
One-click install
npx skills add https://github.com/lyndonkl/hermesworld --skill special-situation-models-lyndonkl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: special-situation-models
Source: https://github.com/lyndonkl/hermesworld/tree/main/packages/special-situations-analyst/skills/corporate-finance/special-situation-models
Command: npx skills add https://github.com/lyndonkl/hermesworld --skill special-situation-models-lyndonkl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Standard discounted cash flow models assume the firm survives, that debt is a financing choice, that the owner is diversified, and that current earnings are meaningful. Banks, distressed firms, private businesses, cyclical companies, and young startups each break one of those assumptions, and applying a plain DCF to them produces wrong answers. This skill repairs the specific break with the correct model for each case. ## Core Features & Use Cases - Distress adjustment: Derives annual and cumulative failure probabilities from a traded bond price, credit rating, or sector survival data, then blends going-concern and distress-sale values, including partial equity wipeouts. - Financial service firms: Values bank and insurer equity directly via excess return on equity or FCFE against regulatory capital, reporting both residual-income and cash-flow routes so inconsistencies surface. - Private company adjustments: Computes total beta for undiversified owners and three illiquidity discounts (flat, Silber restricted-stock, bid-ask spread regression). - Cyclical and commodity normalization: Regresses revenues on commodity prices or normalizes mid-cycle earnings three ways, emitting DCF-ready drivers. - Young companies and IPOs: Builds a complete dcf-valuation-engine payload from revenue and margin targets with survival odds, and walks a private value to an IPO offer price step by step. - Use Case: Valuing a bank in crisis — feed book equity, risk-adjusted assets, the capital ratio path, and a return-on-equity path into the excess-return subcommand to get equity value per share with a wipeout-probability overlay. ## Quick Start Ask the agent to value a distressed company by running the distress subcommand with its bond price, coupon, and maturity to get the implied failure probability and blended equity value.

Frequently Asked Questions about special-situation-models

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

FAQPage Schema
How do I value a distressed company with a traded bond price?

Run the distress subcommand with the bond's coupon rate, maturity, riskfree rate, and market price. The script solves for the implied annual failure probability by weighting promised payments by survival probability and discounting at the riskfree rate, then blends going-concern and distress-sale values.

How do I value a bank or insurance company?

Use the excess-return subcommand, which values equity directly as book equity plus the present value of returns above the cost of equity. Do not run a standard FCFF DCF on a bank, because debt is raw material rather than a financing choice, making firm value and WACC meaningless.

What is total beta and when should I use it for a private company?

Total beta is the market beta divided by the correlation (square root of R-squared), charging an undiversified owner for all risk rather than just market risk. Use it only when the buyer cannot diversify; applying it to a diversified public buyer systematically undervalues the business.

Does the script require any Python packages to be installed?

No. The script is pure standard library Python with no third-party dependencies, so it runs anywhere Python 3 is available. Every subcommand reads JSON from stdin or a file and prints JSON to stdout.

Why does the illiquidity discount not apply when selling to a public company?

An illiquidity discount compensates a buyer who cannot resell quickly. A listed acquirer's own shareholders can sell their shares freely, so no discount applies, and the script zeroes it when the buyer is public or the firm is going through an IPO.

How do I value a young startup with negative earnings?

Use the young-company subcommand with a target revenue, target margin, and survival probability. It generates a complete dcf-valuation-engine payload with per-year growth and margin paths, and a failure probability is required because roughly two-thirds of startups fail within seven years.