Skip to content
cccskills
FreePublished on GitHub

creating-financial-models

高级财务建模套件,包含DCF估值、敏感性分析、蒙特卡洛模拟和场景规划。当用户需要对企业、项目或并购交易进行投资分析、股权估值、IRR/MOIC计算、WACC建模,或要求建立DCF模型、运行概率模拟、制作敏感性表格时,请主动使用此技能。

The English summary is being prepared. Showing the original description.

Works withExcel
See how to install

Files included (3)

  • SKILL.md5.3 KB
  • scripts/dcf_model.py16.8 KB
  • scripts/sensitivity_analysis.py11.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  • scripts/dcf_model.py: Complete DCF valuation engine
  • scripts/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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

使用 AACT (Aggregate Analysis of ClinicalTrials.gov) PostgreSQL 数据库进行大批量临床试验历史分析与数据挖掘。触发场景包括:AACT 查询、临床试验批量分析、PostgreSQL 试验数据、全量 NCT 检索、试验数据挖掘、clinical trials data warehouse、疾病领域全景分析、设计相似试验匹配、跨年度试验趋势聚合。本 skill 通过 SQL 接口处理百万级试验记录,支持云端公共 PostgreSQL 服务(aact-db.ctti-clinicaltrials.org)和每日 dump 本地还原两种连接方式,自动检测并优先使用本地高性能模式。

The English summary is being prepared. Showing the original description.

EthanYoQ/Skill-hub11Updated Oct 19, 2026

使用 AACT (Aggregate Analysis of ClinicalTrials.gov) PostgreSQL 数据仓库进行批量、历史、聚合性临床试验数据挖掘。Use this skill when the user requests bulk SQL analysis over the full clinical trials data warehouse — historical trial trends, disease landscapes, similar-design matching, or multi-year aggregations across hundreds of thousands of NCT records. 触发场景包括:AACT 查询、临床试验批量分析、PostgreSQL 试验数据、全量 NCT 检索、试验数据挖掘、历史试验分析、clinical trials data warehouse、SQL trials、bulk trial analysis、disease landscape、试验设计相似性匹配、跨年度聚合、sponsor/phase/country 多维统计。**与 clinical-trials-v2 差异**:本 skill 走批量 SQL · 离线大数据(PostgreSQL);v2 走实时 API · 单查询。两者互补:单条 NCT 实时状态用 v2,百万级历史挖掘用本 skill。支持云端公共 PostgreSQL(aact-db.ctti-clinicaltrials.org · 零部署)和每日 dump 本地还原(高性能 · 离线)两种连接方式,自动检测优先用本地。跨平台(macOS/Linux/Windows)参数化 SQL 防注入,read-only 强制保护。

The English summary is being prepared. Showing the original description.

EthanYoQ/Skill-hub11Updated Oct 19, 2026

Use when work produces a deliverable, factual claim, dataset, code change, decision, publication, deployment, automation, or irreversible action whose failure would matter; when the user asks for a quality gate, acceptance criteria, QA, completeness, validation, audit, evidence, preflight, release readiness, or a definition of done; or before claiming completion on medium- or high-risk work. Automatically decide whether a formal gate is warranted, derive task-specific pass/fail criteria, gather evidence, and block unsupported completion. Make sure to use this skill even when the user does not say "quality gate" if consequential work needs acceptance criteria or completion evidence. Skip formal gating for trivial, reversible, low-impact requests.

The English summary is being prepared. Showing the original description.

EthanYoQ/Skill-hub11Updated Oct 19, 2026

Create a changeset file in .changeset/ that describes a user-facing change for the release notes

The English summary is being prepared. Showing the original description.

EthanYoQ/Skill-hub11Updated Oct 19, 2026

Add a new competitor to the AI Visibility Tool Directory — researches the tool, generates data, takes a screenshot, and inserts into the codebase

The English summary is being prepared. Showing the original description.

EthanYoQ/Skill-hub11Updated Oct 19, 2026

Add tree-sitter language support to codegraph end-to-end — wire the grammar + extractor, write tests, then benchmark extraction quality and retrieval value on 3 popular real-world repos. Use when the user runs /add-lang <language> or asks to add/support a new language (e.g. Lua, Elixir, Zig, OCaml) in codegraph.

The English summary is being prepared. Showing the original description.

EthanYoQ/Skill-hub11Updated Oct 19, 2026

See all skills by EthanYoQ

Report a problem with this skill