special-situation-models
БесплатноЗапускает вложенные скриптыНе проверенValues companies the standard DCF cannot handle, across five branches — distress (failure probability from a bond price or rating, blended with the…
от lyndonkl★ 208 звёзд на GitHubОб этом скилле
Special situation models
A standard discounted cash flow model assumes a lot. It assumes the firm survives to reach stable growth, that its debt is a financing choice, that its owner is diversified, that this year's earnings say something about a normal year, and that there are earnings at all.
Five kinds of company break one of those assumptions. This skill repairs the specific
break. It does not replace the DCF, and for four of the five branches the answer still runs
through dcf-valuation-engine.
Which branch applies
Answer this before running anything. The branch is a judgment about the company, and the script does not guess it for you.
| The company is | Branch | Subcommand |
|---|---|---|
| At real risk of not surviving — high leverage, marginal operating income, a declining business | 1. Distress | distress |
| A bank, an insurer, or any firm whose raw material is money | 2. Financial service | excess-return |
| Not publicly traded, and the buyer cannot diversify | 3. Private company | private |
| At a point in a cycle, or driven by a commodity price | 4. Cyclical or commodity | cyclical |
| Young, growing fast, and losing money | 5. Young company | young-company |
More than one can apply. A young company usually needs branch 5 and branch 1 together. A private cyclical needs 3 and 4. Run them in the order above, because each later branch consumes the output of the earlier one.
One transition sits alongside the five: a private company on its way to a public listing,
or to a sale to a listed buyer. That is the ipo subcommand, and it consumes branch 3.
What each branch forbids
This is the part that gets skipped, and it is where the damage happens.
A bank gets no FCFF valuation and no optimal-debt-ratio analysis. For an industrial
firm, debt is a source of capital, so you can separate operating from financing decisions.
For a bank, debt is raw material. Deposits are the input the business transforms into
loans. There is no meaningful firm value and no meaningful cost of capital, so do not run
dcf-valuation-engine value on a bank, and do not run
cost-of-capital-toolkit debt-schedule on one. Regulatory capital governs the financing
mix, not a tax-shield calculation. A bank that breaches its capital ratio can be taken over
and closed however good its earnings look.
Distress risk does not belong in the discount rate. Raise the rate and probability-weight the value and you have counted the same risk twice. Pick the probability weight.
A total beta does not belong in a valuation for a diversified buyer. It systematically undervalues the business and hands the surplus to the buyer. The same applies to the illiquidity discount: a listed acquirer's own shareholders can sell, so no discount applies.
A trailing return on equity does not survive re-regulation. If the regulator is about to demand more capital, the return earned on the old base is not the sustainable one.
Normalized earnings and a recovery in growth are the same recovery. Normalize the base year or forecast the recovery, not both.
A young company with no failure branch is not a valuation. Roughly two-thirds of startups are gone within seven years, and the value of the survivors is not the value of the population.
The script
resources/special.py — pure standard library, no installation needed. Every subcommand
takes JSON on stdin (or --in FILE) and prints JSON.
python3 resources/special.py <subcommand> --example # show the input shape
python3 resources/special.py <subcommand> --in payload.json
python3 resources/special.py selftest # verify the engine
| Subcommand | Turns this | Into this |
|---|---|---|
distress |
a traded bond price, or a rating | annual and cumulative probability of failure, and the two-branch blend |
excess-return |
book equity, a return-on-equity path, a capital path | bank equity value, per share, both by residual income and by FCFE |
private |
a market beta with its R-squared, revenues, profitability | total beta, cost of equity, three illiquidity discounts |
ipo |
a private value, the offering terms and the cap table | the bridge from private value to offer price, step by step |
cyclical |
an earnings history, or a commodity price link | mid-cycle operating income, revenues at today's price |
young-company |
a revenue target and a margin target | a full dcf.py value payload plus survival odds |
Run selftest after editing anything. It reproduces the source models to nine decimals
and checks identities that a wrong port would break. Every case it runs is written up in
resources/worked-examples.md, with the payload alongside
the answer.
1. Distress adjustment
A going-concern model prices only the branch where the firm lives. The repair is an explicit probability-weighted blend of two outcomes.
value = going-concern value × (1 − p) + distress-sale value ×
Установить special-situation-models в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл special-situation-models?
Values companies the standard DCF cannot handle, across five branches — distress (failure probability from a bond price or rating, blended with the distress-sale outcome), financial service firms (equity excess return and FCFE against regulatory capital, since a bank gets no FCFF and no optimal debt ratio), private companies (total beta for an undiversified owner, Silber and bid-ask illiquidity discounts), cyclical and commodity firms (mid-cycle normalized earnings), and young negative-earnings firms (a revenue and margin path plus survival odds, emitted as a dcf-valuation-engine payload). Also walks a private owner's value to an IPO offer price line by line. Use when valuing a bank, insurer, startup, distressed firm, private business, miner or deep cyclical, when pricing an IPO or a sale to a public buyer, or when asked about probability of distress, total beta, illiquidity discount, excess return models, normalized earnings, or negative-earnings valuation.
Как установить скилл special-situation-models?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл special-situation-models запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
gtm-enterprise-account-planning
Strategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
от GitHubgtm-partnership-architecture
Build and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
от GitHublanding-page-conversion-audit
Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
от GitHubpower-platform-architect
Use this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…
от GitHub