Cost of Capital Toolkit

Estimates discount rates and the optimal financing mix — riskfree rate in any currency, equity risk premium including country risk, bottom-up and total betas, synthetic credit ratings from interest coverage, cost of debt, market value of debt, WACC, the implied equity risk premium solved from current index levels, and the cost-of-capital schedule across debt ratios that locates the optimal debt ratio, with an APV cross-check and a stress test under rating constraints. Bundles Damodaran's rating and spread tables, Altman default probabilities, industry-average betas and multiples, and country r

200 stars 25 forksTesting & QA Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add lyndonkl/claude

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add lyndonkl/claude --skill cost-of-capital-toolkit
Manual install
git clone --depth 1 https://github.com/lyndonkl/claude.git /tmp/claude
mkdir -p ~/.claude/skills
cp -r /tmp/claude/skills/cost-of-capital-toolkit ~/.claude/skills/cost-of-capital-toolkit

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cost of capital toolkit

Every discounted valuation needs a rate. Most valuation errors that survive review are rate
errors. A rate built in one currency gets applied to cash flows in another. A regression
beta describes a period that no longer matches the business. Book weights sit where market
weights belong.

The arithmetic is fully scripted. Your job is choosing the inputs — which comparables,
which premium estimator, gross or net debt — and defending those choices.

## The scripts

Two of them, both pure standard library with nothing to install. Every subcommand takes
JSON on stdin (or `--in FILE`) and prints JSON.

`resources/costofcapital.py` does the arithmetic.

```bash
python3 resources/costofcapital.py <subcommand> --example    # show input shape
python3 resources/costofcapital.py <subcommand> --in payload.json
python3 resources/costofcapital.py selftest                  # verify the engine
```

| Subcommand | Turns this | Into this |
|---|---|---|
| `rating` | EBIT and interest expense | synthetic rating, default spread, pre-tax and after-tax cost of debt |
| `beta` | comparable betas, or one levered beta | unlevered, relevered, bottom-up, or total beta |
| `mv-debt` | book debt, interest expense, maturity | market value of debt |
| `wacc` | component costs and values | WACC with weights |
| `debt-schedule` | unlevered beta, EBIT, firm value | cost of capital at every debt ratio, the optimum, and the value of moving there |
Read the full skill on GitHub

Details

Skill name
cost-of-capital-toolkit
Path
skills/cost-of-capital-toolkit/SKILL.md
Repo updated
1 September 2026

FAQ

What does the Cost of Capital Toolkit skill do?

Estimates discount rates and the optimal financing mix — riskfree rate in any currency, equity risk premium including country risk, bottom-up and total betas, synthetic credit ratings from interest coverage, cost of debt, market value of debt, WACC, the implied equity risk premium solved from current index levels, and the cost-of-capital schedule across debt ratios that locates the optimal debt ratio, with an APV cross-check and a stress test under rating constraints. Bundles Damodaran's rating and spread tables, Altman default probabilities, industry-average betas and multiples, and country r

How do I install the Cost of Capital Toolkit skill?

Claude Code plugin: /plugin marketplace add lyndonkl/claude. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cost of Capital Toolkit popular?

It lives in lyndonkl/claude, which has 200 GitHub stars and 25 forks.

Related skills

Abstraction Concrete Examples

200

lyndonkl/claude

Builds structured abstraction ladders that translate high-level principles into concrete, actionable examples across 3-5 levels. Bridges communication gaps, reveals hidden assumptions, and tests whether abstract ideas work in practice. Use when explaining concepts at different expertise levels, moving between abstract principles and concrete implementation, identifying edge cases by testing ideas against scenarios, designing layered documentation, decomposing complex problems into actionable steps, or bridging strategy-execution gaps.

Testing & QA25

Academic Letter Architect

200

lyndonkl/claude

Guides the creation of evidence-based academic recommendation letters, reference letters, and award nominations that combine concrete examples, meaningful comparisons, and genuine enthusiasm. Use when writing recommendation letters for students, postdocs, or colleagues, or when user mentions recommendation letter, reference, nomination, letter of support, endorsement, or needs help with strong advocacy and comparative statements.

Research & Science25

Adr Architecture

200

lyndonkl/claude

Documents significant architectural and technical decisions with full context, alternatives considered, trade-offs analyzed, and consequences understood. Creates a decision trail that helps teams understand why decisions were made. Use when choosing between technology options, making infrastructure decisions, establishing standards, migrating systems, or when user mentions ADR, architecture decision, technical decision record, or decision documentation.

Software Development25

Cypress

213

TerminalSkills/skills

Assists with end-to-end testing of web applications using Cypress. Use when writing E2E tests, setting up component testing, configuring CI pipelines with parallelization, or building custom test commands. Trigger words: cypress, e2e testing, end-to-end, cypress run, cy.get, integration testing, browser testing.

Testing & QA34

Chromatic

213

TerminalSkills/skills

Chromatic is a visual testing service from the Storybook team that snapshots every story in a cloud browser and shows visual diffs for review on each pull request. Use when the user wants visual regression testing with Storybook, or mentions "chromatic," "visual regression," "Storybook testing," "UI review," "visual diff," or "component snapshot testing." For general screenshot comparison, see percy.

Testing & QA34

Deepeval

213

TerminalSkills/skills

DeepEval is an open-source Python framework that unit-tests LLM applications with pytest-style test cases and LLM-as-a-judge metrics. Use when a user asks to evaluate a RAG chatbot, test LLM answers for relevancy, faithfulness or hallucination, write a custom metric, or run LLM quality checks in CI.

Testing & QA34

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.