Install this skill
npx skills add anthropics/claude-cookbooksWorks across Claude Code, Cursor, Codex, Copilot & Antigravity
What this skill does
- β’Build multi-scenario Discounted Cash Flow (DCF) engines
- β’Execute Monte Carlo simulations for valuation uncertainty
- β’Perform sensitivity testing with variable range impact analysis
- β’Generate probability-weighted scenario planning
- β’Calculate enterprise and equity valuation metrics
When to use it
- βWhen evaluating potential acquisitions or M&A synergies
- βWhen you need to quantify risk using probability distributions
- βWhen testing how WACC or growth fluctuations impact company valuation
- βWhen building project finance models for infrastructure or real estate
When not to use it
- βFor day-to-day accounting or bookkeeping tasks
- βFor high-frequency trading or real-time market data analysis
- βWhen you require a simple spreadsheet interface instead of programmatic modeling
How to invoke it
Example prompts that trigger this skill:
- βBuild a DCF model for this startup using these financial projections.β
- βRun a Monte Carlo simulation with 5,000 iterations on this LBO model.β
- βCreate a sensitivity analysis table for WACC and revenue growth.β
- βDevelop three growth scenarios with specific probability weightings.β
- βIdentify critical value drivers for this expansion project.β
Example workflow
- Define your revenue growth and margin assumptions in a structured input format.
- Use dcf_model.py to generate the base case valuation and cash flow projections.
- Define variable ranges for key metrics like discount rates and exit multiples.
- Run sensitivity_analysis.py to identify which inputs impact valuation most significantly.
- Configure a Monte Carlo simulation to estimate a 95% confidence interval for the project value.
- Export the summary findings and probability-weighted outcomes for final review.
Prerequisites
- βPython 3.x environment
- βBasic knowledge of DCF and corporate finance principles
- βHistorical financial datasets for your subject company
Pitfalls & limitations
- !Models are highly dependent on the quality of initial assumptions.
- !Simulation results do not account for black-swan events or extreme market shifts.
- !Requires manual validation of balance sheet and cash flow logic before interpreting output.
FAQ
How it compares
Unlike general-purpose LLM prompting that might hallucinate financial arithmetic, this tool uses explicit Python logic to maintain accounting consistency and rigorous statistical validation.
Source & trust
From the source: β# Financial Modeling Suite A comprehensive financial modeling toolkit for investment analysis, valuation, and risk assessment using industry-standard methodologies. ## Core Capabilities ### 1. Discounted Cash Flow (DCF) Analysis - Build complete DCF models with multiple growth scenarios - Calculate β¦β
View the full SKILL.md source
# Financial Modeling Suite A comprehensive financial modeling toolkit for investment analysis, valuation, and risk assessment using industry-standard methodologies. ## Core Capabilities ### 1. Discounted Cash Flow (DCF) Analysis - Build complete DCF models with multiple growth scenarios - Calculate terminal values using perpetuity growth and exit multiple methods - Determine weighted average cost of capital (WACC) - Generate enterprise and equity valuations ### 2. Sensitivity Analysis - Test key assumptions impact on valuation - Create data tables for multiple variables - Generate tornado charts for sensitivity ranking - Identify critical value drivers ### 3. Monte Carlo Simulation - Run thousands of scenarios with probability distributions - Model uncertainty in key inputs - Generate confidence intervals for valuations - Calculate probability of achieving targets ### 4. Scenario Planning - Build best/base/worst case scenarios - Model different economic environments - Test strategic alternatives - Compare outcome probabilities ## Input Requirements ### For DCF Analysis - Historical financial statements (3-5 years) - Revenue growth assumptions - Operating margin projections - Capital expenditure forecasts - Working capital requirements - Terminal growth rate or exit multiple - Discount rate components (risk-free rate, beta, market premium) ### For Sensitivity Analysis - Base case model - Variable ranges to test - Key metrics to track ### For Monte Carlo Simulation - Probability distributions for uncertain variables - Correlation assumptions between variables - Number of iterations (typically 1,000-10,000) ### For Scenario Planning - Scenario definitions and assumptions - Probability weights for scenarios - Key performance indicators to track ## Output Formats ### DCF Model Output - Complete financial projections - Free cash flow calculations - Terminal value computation - Enterprise and equity value summary - Valuation multiples implied - Excel workbook with full model ### Sensitivity Analysis Output - Sensitivity tables showing value ranges - Tornado chart of key drivers - Break-even analysis - Charts showing relationships ### Monte Carlo Output - Probability distribution of valuations - Confidence intervals (e.g., 90%, 95%) - Statistical summary (mean, median, std dev) - Risk metrics (VaR, probability of loss) ### Scenario Planning Output - Scenario comparison table - Probability-weighted expected values - Decision tree visualization - Risk-return profiles ## Model Types Supported 1. **Corporate Valuation** - Mature companies with stable cash flows - Growth companies with J-curve projections - Turnaround situations 2. **Project Finance** - Infrastructure projects - Real estate developments - Energy projects 3. **M&A Analysis** - Acquisition valuations - Synergy modeling - Accretion/dilution analysis 4. **LBO Models** - Leveraged buyout analysis - Returns analysis (IRR, MOIC) - Debt capacity assessment ## Best Practices Applied ### Modeling Standards - Consistent formatting and structure - Clear assumption documentation - Separation of inputs, calculations, outputs - Error checking and validation - Version control and change tracking ### Valuation Principles - Use multiple valuation methods for triangulation - Apply appropriate risk adjustments - Consider market comparables - Validate against trading multiples - Document key assumptions clearly ### Risk Management - Identify and quantify key risks - Use probability-weighted scenarios - Stress test extreme cases - Consider correlation effects - Provide confidence intervals ## Example Usage "Build a DCF model for this technology company using the attached financials" "Run a Monte Carlo simulation on this acquisition model with 5,000 iterations" "Create sensitivity analysis showing impact of growth rate and WACC on valuation" "Develop three scenarios for this expansion project with probability weights" ## Scripts Included - `dcf_model.py`: Complete DCF valuation engine - `sensitivity_analysis.py`: Sensitivity testing framework ## Limitations and Disclaimers - Models are only as good as their assumptions - Past performance doesn't guarantee future results - Market conditions can change rapidly - Regulatory and tax changes may impact results - Professional judgment required for interpretation - Not a substitute for professional financial advice ## Quality Checks The model automatically performs: 1. Balance sheet balancing checks 2. Cash flow reconciliation 3. Circular reference resolution 4. Sensitivity bound checking 5. Statistical validation of Monte Carlo results ## Updates and Maintenance - Models use latest financial theory and practices - Regular updates for market parameter defaults - Incorporation of regulatory changes - Continuous improvement based on usage patterns
Quoted from anthropics/claude-cookbooks for reference β see the original for the authoritative, latest version.
π Full skill instructions β original source: anthropics/claude-cookbooks
How to Use This Skill Unit
Option A: Project-Specific (Recommended)
- Click "Download" above
- In your project, create the directory:
.agent/skills/creating-financial-models/ - Save the file as
SKILL.md - The agent will automatically discover the skill based on its description.
Option B: Global Installation (All Agents)
Save the file to these locations to make it available across all projects:
- Claude Code:
~/.claude/skills/anthropics/claude-cookbooks/creating-financial-models/SKILL.md - Cursor:
~/.cursor/skills/anthropics/claude-cookbooks/creating-financial-models/SKILL.md - Antigravity:
~/.gemini/antigravity/skills/anthropics/claude-cookbooks/creating-financial-models/SKILL.md
π Install with CLI:npx skills add anthropics/claude-cookbooks