Add dividend discount model (DDM) skill to financial-analysis vertical - #287
Open
HumphreySun98 wants to merge 1 commit into
Open
Add dividend discount model (DDM) skill to financial-analysis vertical#287HumphreySun98 wants to merge 1 commit into
HumphreySun98 wants to merge 1 commit into
Conversation
Adds an income-approach valuation skill — the DDM complement to the existing dcf-model and comps-analysis skills. Values equity directly as the present value of expected dividends discounted at the cost of equity (not WACC), with single-/two-/three-stage (H-model) options, an ROE-driven build for financials, a bundled openpyxl validator, deep methodology reference, and a troubleshooting guide. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new
ddm-modelskill to thefinancial-analysisvertical — a Dividend Discount Model (income-approach) valuation skill, and the income-based complement to the existingdcf-modelandcomps-analysisskills.Why
The
financial-analysisvertical covers DCF, trading comps, LBO, and 3-statement models, but there is no income / dividend-based valuation method anywhere in the repo. The DDM is the standard approach precisely where an FCF-DCF is unreliable or ill-defined:It does not overlap
dcf-model: a DDM discounts dividends at the cost of equity (not WACC) and yields equity value per share directly — no unlevered FCF and no enterprise-to-equity bridge. The skill hammers this cost-of-equity-not-WACC distinction, which is the most common DDM error.What's inside (mirrors the dcf-model gold-standard file pattern)
SKILL.md— MCP-first data-source priority; the "Formulas Over Hardcodes" and verify-step-by-step constraints; the DDM workflow; a model-selection guide (single- / two- / three-stage / H-model); correct patterns & common mistakes; Excel structure; and a decision-support / human-sign-off guardrail.references/methodology.md— single-, two-, and three-stage math and the H-model closed form; the ROE-driven build for financials (g = ROE · retention, book-value roll-forward); total-payout (buyback) handling; justified P/E and P/B cross-checks; DCF/comps reconciliation; and a fully worked two-stage example.scripts/validate_ddm.py— anopenpyxlvalidator that mirrorsvalidate_dcf.py's structure and JSON output. It checks formula errors, enforces the criticalcost of equity > terminal growthconstraint, and flags an out-of-range cost of equity, an aggressive terminal growth, a terminal value that dominates total value, and a payout ratio above 100%. Exit0= PASS.TROUBLESHOOTING.mdandrequirements.txt(openpyxl only).Validation
python3 scripts/check.py→OK — 80 file(s) checked, 0 issues.scripts/validate_ddm.pywas tested against clean and deliberately broken workbooks (PASS/exit 0 and FAIL/exit 1), plus edge cases: a 0% (no-growth) perpetuity, per-share vs aggregate value bases, and vertical assumption layouts.financial-analysisplugin.json0.1.1 → 0.1.2. The new skill is not bundled into any agent, so there is no sync drift and no other manifest change.Frontmatter is
name+descriptiononly, matching the existing vertical skills. This PR is self-contained and touches only the new skill directory plus the automatic version bump.