Agent skill · Business & Finance

cost-benefit

Cost-benefit analysis. Produces economic NPV and financial NPV side by side, with BCR, optimism bias (with mitigation), Marginal Excess Tax Burden, real-terms rebasing, WELLBY / QALY / VPF wellbeing valuation, sensitivity, switching values, EANC for unequal-life options, validation gate, and a one-line headline verdict (socially worthwhile vs financially self-sustaining). Backed by the greenbook R package (HM Treasury Green Book primitives) when available, with graceful fallback. Supports HMT Green Book, EU Better Regulation, World Bank, ADB, and Victorian HVHR. Reads a longlist markdown file

brycew6m878★ · +32/wk · 1 repos on radarProfile →
claude-codecan modify filesNOASSERTION
Install
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cost-benefit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 43 KB
Bundled scripts: none
Allowed tools: -Bash-Read-Write-Glob-AskUserQuestion-Skill
Path: skills/58-charlescoverdale-econstack/cost-benefit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,244
Language: Stata
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Produces a Green Book-style economic case (NPV, BCR, optimism bias, sensitivity) alongside a parallel financial case (cash flow to the sponsor, Financial NPV, payback, DSCR if debt is involved), with a one-line headline verdict telling you whether the project is socially worthwhile and financially self-sustaining.

How it works

  • Detects computation backend by probing the greenbook bridge; if available, uses econstack-greenbook with action appraise and reads NPV, BCR, OB-adjusted streams, METB, discount factors from JSON; otherwise computes internally using defined formulas and notes a fallback footnote.
  • Step 1 loads project, options, costs, and benefits either from a --from longlist markdown file (parsing project name, framework, sponsor, benefits and costs tables) or by prompting the user in one AskUserQuestion batch for project description, options (including Do nothing), costs (capital and Opex), and benefits (annual benefit and type).
  • Step 2 computes the results silently, presenting outputs in the final markdown. When using the greenbook backend, prefers the bridge for NPV/BCR/discounts; otherwise uses inline calculations described in the skill.
  • Real-terms rebasing (uk-gb) applies gb_rebase to inputs if needed; discount factors depend on the backend: greenbook provides them, otherwise a kinked STPR-based computation for uk-gb.
  • Includes capital cost phasing (S-curve) for multi-year construction, optimism bias adjustments with mitigation, and METB application for tax-financed costs under uk-gb.

When to use it

Used when a project needs a structured cost-benefit appraisal with both economic and financial perspectives, cross-framework support, and potential use of a longlist file as input.

What it can touch

  • Reads files from a longlist markdown via --from. The safety rules state the parameter database is read-only and cannot be written to.
  • Interacts with the econstack-greenbook bridge if available. Commands and actions include actions like "version" and "appraise", accessed through the bridge executable. The exact commands and script names are quoted and executed as described in the skill.

Caveats

  • Backend choice depends on the availability of the greenbook bridge; if unavailable, calculations fall back to internal methods with a note about missing greenbook reproducibility.
  • The preamble includes explicit guidance on how to handle parameter and learnings data locally; no data is transmitted externally.
  • The skill requires one of several frameworks (uk-gb, eu-brg, wb, adb, au-vic) and uses the corresponding discount rates and welfare weights as defined in the supported frameworks section.
From the SKILL.md

**Only stop to ask the user when:** project description is missing, there are fewer than 2 options (including do-nothing), or cost / benefit magnitudes cannot be estimated. **Never stop to ask about:** perspective, additionality rates, stakeholder tagging, sensitivity method, output filename, or formatting. Pick sensible defaults and keep moving. <!-- preamble: update check --> Before starting, ru

More from Auto-Empirical-Research-Skills
All skills →
About this skill
What does the cost-benefit skill do?

Cost-benefit analysis. Produces economic NPV and financial NPV side by side, with BCR, optimism bias (with mitigation), Marginal Excess Tax Burden, real-terms rebasing, WELLBY / QALY / VPF wellbeing valuation, sensitivity, switching values, EANC for unequal-life options, validation gate, and a one-line headline verdict (socially worthwhile vs financially self-sustaining). Backed by the greenbook R package (HM Treasury Green Book primitives) when available, with graceful fallback. Supports HMT Green Book, EU Better Regulation, World Bank, ADB, and Victorian HVHR. Reads a longlist markdown file

How do I install it?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cost-benefit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going