wacc — Claude Code skill: what it does, how to install
wacc is a Claude Code skill that calculates WACC step by step and cites each input. It runs for company cost-of-capital requests.
MIT ★ 86 updated 2026-11-16
/plugin marketplace add joaquimmj/deskstack
/plugin install deskstack@deskstackWhat wacc does
wacc builds a table of WACC inputs, names the source for each figure, then fills in the formula. It gathers the risk-free rate, equity and country risk premiums, beta, debt cost, tax rate, and capital weights. The calculation uses deskstack tools and a share price supplied by the user.
Debt in the weights comes from book value, used as a proxy for market value and identified as such. The result also describes how a ±1 point WACC change affects a DCF, and ends with a human-review and not-investment-advice notice.
What it helps with
- calculate a company's WACC from its component inputs
- trace sources for the risk-free rate, beta, and risk premiums
- describe how a WACC change affects a DCF
Example prompts for the agent
- Calculate WACC for Acme.
- Work out the cost of capital for the company in
company.xlsx. - Show the source for each input in Acme's WACC calculation.
How to install wacc
1Plugin marketplace
/plugin marketplace add joaquimmj/deskstack/plugin install deskstack@deskstackThis installs the whole deskstack plugin with all its skills
2Skills CLI (Vercel)
npx skills add joaquimmj/deskstack --skill wacc -a claude-code3Manually: put the files in place
~/.claude/skills/wacc/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/wacc/
1Skills CLI (Vercel)
npx skills add joaquimmj/deskstack --skill wacc -a codex2Manually: put the files in place
.agents/skills/wacc/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add joaquimmj/deskstack --skill wacc -a cursor2Manually: put the files in place
.cursor/skills/wacc/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install joaquimmj/deskstack plugins/deskstack/skills/wacc2Manually: put the files in place
.github/skills/wacc/SKILL.md1Skills CLI (Vercel)
npx skills add joaquimmj/deskstack --skill wacc -a gemini-cli2Platform CLI
gemini skills install https://github.com/joaquimmj/deskstack --path plugins/deskstack/skills/waccManually: put the files in place
.devin/skills/wacc/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about wacc
How do I install wacc in Claude Code?
Run /plugin marketplace add joaquimmj/deskstack, then run /plugin install deskstack@deskstack.
What does wacc do?
It calculates WACC from its component inputs, cites each source, and shows the formula with the figures substituted. It also describes the effect of a ±1 point change on a DCF.
What does wacc need to run?
It uses deskstack tools and a share price provided by the user.
Source text
SKILL.md · MIT
--- name: wacc description: Computes a cited WACC step by step: risk-free rate, ERP, country risk, beta, cost of debt, market-value weights, from deskstack tools plus the user's price. Shows each source. argument-hint: "<company>" --- # WACC Build it in a table where every input has a source, then show the formula with the numbers. | Input | Where it comes from | |---|---| | Risk-free rate | `risk_free_rate`: 10-year in the company's currency (US Treasury for USD, ECB AAA par yields for EUR), with its date. Use `rate_decimal` | | Equity risk premium (+ country risk premium) | `valuation_inputs` by the country of operations; say which dataset year | | Beta | `valuation_inputs` industry beta: levered, or unlevered then relevered at the company's D/E. Say which | | Cost of equity | rf + beta × (ERP + CRP if used) | | Pre-tax cost of debt | Interest expense / average total debt from `financial_statements`, or the industry pre-tax cost of debt from `valuation_inputs` (state which), checked for sense | | Tax rate | Effective rate from history, or the statutory rate (state which) | | Weights | Market cap (price from the user × diluted shares from the filing) and debt (book value from the filing as a proxy for market value; say so) | **WACC** = E/(D+E) × Ke + D/(D+E) × Kd × (1 − t). Then give a ±1 point sensitivity in words: what it does to a DCF. End with "Draft for human review. Not investment advice."
© Joaquim · MIT · joaquimmj/deskstack