Skip to content

Commit 43fb7da

Browse files
teknium1RationallyPrime
authored andcommitted
feat(optional-skills): port Anthropic financial-services skills as optional finance bundle (NousResearch#21180)
Adds 7 optional skills under optional-skills/finance/ adapted from anthropics/financial-services (Apache-2.0): excel-author — openpyxl conventions: blue/black/green cells, formulas over hardcodes, named ranges, balance checks, sensitivity tables. Ships recalc.py. pptx-author — python-pptx for model-backed decks (pitch, IC memo, earnings note) that bind every number to a source workbook cell. dcf-model — institutional DCF (49KB skill): projections, WACC, terminal value, Bear/Base/Bull scenarios, 5x5 sensitivity tables. Ships validate_dcf.py. comps-analysis — comparable company analysis: operating metrics, multiples, statistical benchmarking. lbo-model — leveraged buyout: S&U, debt schedule, cash sweep, exit multiple, IRR/MOIC sensitivity. 3-statement-model — fully-integrated IS/BS/CF with balance-check plugs. Ships references/ for formatting, formulas, SEC filings. merger-model — accretion/dilution analysis for M&A. All seven are optional (not active by default). Users install via 'hermes skills install official/finance/<skill>'. Hermesification: - Stripped every Office JS / Office Add-in / mcp__office__* branch — skills assume headless openpyxl only. - Replaced Cowork MCP data-source instructions with 'MCP first (via native-mcp), fall back to web_search/web_extract against SEC EDGAR and user-provided data'. - Swapped Claude tool references (Bash, Read, Write, Edit, mcp__*) for Hermes-native equivalents and Python library calls. - Canonical Hermes frontmatter (name/description/version/author/ license/metadata.hermes.{tags,related_skills}). - Descriptions tightened to 187-238 chars, trigger-first. - Attribution preserved: author field credits 'Anthropic (adapted by Nous Research)', license: Apache-2.0, each SKILL.md links back to the upstream source directory. Verification: - All 7 discovered by OptionalSkillSource with source_id='official' - Bundle fetch includes support files (scripts, references, troubleshooting) - related_skills cross-refs all resolve within the bundle - No Claude product / Cowork / Office JS / /mnt/skills leakage remains in body text (bounded mentions only in attribution blocks) Source: https://github.com/anthropics/financial-services (Apache-2.0)
1 parent bbfc395 commit 43fb7da

14 files changed

Lines changed: 4172 additions & 0 deletions

File tree

optional-skills/finance/3-statement-model/SKILL.md

Lines changed: 432 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# Formatting Standards Reference
2+
3+
| Element | Format |
4+
|---------|--------|
5+
| Hard-coded inputs | Blue font |
6+
| Formulas | Black font |
7+
| Links to other sheets | Green font |
8+
| Check cells | Red if error, green if balanced |
9+
| Negative values | Parentheses, not minus signs |
10+
| Currency | No decimals for large figures, 2 decimals for per-share |
11+
| Percentages | 1 decimal place |
12+
| Headers | Bold, bottom border |
13+
| Units row | Include units row below headers ($ millions, %, etc.) |
14+
15+
## Visual Separation Guidelines
16+
17+
- Thin vertical border between historical and projected columns
18+
- Thick bottom border after section totals (e.g., Total Assets)
19+
- Single bottom border for subtotals
20+
- Double bottom border for grand totals
21+
22+
## Total and Subtotal Row Formatting
23+
24+
All total and subtotal rows must use **bold font formatting** for their numerical values to clearly distinguish aggregated figures from individual line items.
25+
26+
### Income Statement (P&L) Tab
27+
| Row | Formatting |
28+
|-----|------------|
29+
| Gross Revenue | Bold |
30+
| Total Cost of Revenue | Bold |
31+
| Gross Profit | Bold |
32+
| Total SG&A | Bold |
33+
| EBITDA | Bold |
34+
| EBIT | Bold |
35+
| EBT | Bold |
36+
| Net Profit After Tax | Bold |
37+
38+
### Balance Sheet Tab
39+
| Row | Formatting |
40+
|-----|------------|
41+
| Total Current Assets | Bold |
42+
| Total Non-Current Assets | Bold |
43+
| Total Other Assets | Bold |
44+
| Total Assets | Bold |
45+
| Total Current Liabilities | Bold |
46+
| Total Non-Current Liabilities | Bold |
47+
| Total Equity | Bold |
48+
| Total Liabilities and Equity | Bold |
49+
50+
### Cash Flow Statement Tab
51+
| Row | Formatting |
52+
|-----|------------|
53+
| Cash Generated from Operations Before Working Capital Changes | Bold |
54+
| Total Working Capital Changes | Bold |
55+
| Net Cash Generated from Operations | Bold |
56+
| Net Cash Flow from Investing Activities | Bold |
57+
| Net Cash Flow from Financing Activities | Bold |
58+
| Closing Cash Balance | Bold |
59+
60+
**Note:** This list is non-exhaustive. Apply bold formatting to any row that represents a total, subtotal, or summary calculation across the model.
61+
62+
## Balance Sheet Check Row Formatting
63+
64+
The Balance Sheet check row (below Total Liabilities and Equity) uses conditional number formatting that displays non-zero values in red. When the balance sheet balances correctly (check = 0), the values display in black or standard formatting.
65+
66+
| Check Value | Font Color |
67+
|-------------|------------|
68+
| = 0 (balanced) | Black (standard) |
69+
| ≠ 0 (error) | Red |
70+
71+
**Implementation:** Apply custom number format `[Red][<>0]0.00;[Red][<>0](0.00);0.00` or use Excel conditional formatting with the rule "Cell Value ≠ 0" → Red font.
72+
73+
## Margin Row Formatting
74+
75+
| Element | Format |
76+
|---------|--------|
77+
| Margin % rows | Indent, italics, 1 decimal place |
78+
| Positive trend | No special formatting (or subtle green) |
79+
| Negative trend | Flag for review (subtle yellow) |
80+
| Below peer average | Consider highlighting for discussion |
81+
82+
## Credit Metric Formatting
83+
84+
| Element | Format |
85+
|---------|--------|
86+
| Leverage multiples | 1 decimal with "x" suffix (e.g., 2.5x) |
87+
| Percentages | 1 decimal with "%" suffix |
88+
| Net Debt negative | Parentheses, indicates net cash position |
89+
| Section header | Bold, "CREDIT METRICS" |
90+
| Separator line | Thin border above credit metrics section |
91+
92+
## Credit Metric Threshold Colors
93+
94+
| Metric | Green | Yellow | Red |
95+
|--------|-------|--------|-----|
96+
| Total Debt / EBITDA | < 2.5x | 2.5x-4.0x | > 4.0x |
97+
| Net Debt / EBITDA | < 2.0x | 2.0x-3.5x | > 3.5x |
98+
| Interest Coverage | > 4.0x | 2.5x-4.0x | < 2.5x |
99+
| Debt / Total Cap | < 40% | 40%-60% | > 60% |
100+
| Current Ratio | > 1.5x | 1.0x-1.5x | < 1.0x |
101+
| Quick Ratio | > 1.0x | 0.75x-1.0x | < 0.75x |
102+
103+
## Conditional Formatting for Checks Tab
104+
105+
- Cell contains pass indicator → Green fill
106+
- Cell contains fail indicator → Red fill
107+
- Cell contains warning → Yellow fill
108+
- Difference cells = 0 → Light green fill
109+
- Difference cells ≠ 0 → Light red fill
110+
111+
## Margin Reasonability Flags
112+
113+
- Gross Margin < 0% → ERROR: Review COGS
114+
- Gross Margin > 80% → WARNING: Verify revenue/COGS
115+
- EBITDA Margin < 0% → FLAG: Operating losses
116+
- EBITDA Margin > 50% → WARNING: Unusually high
117+
- Net Margin < 0% → FLAG: Net losses (may be acceptable in growth phase)
118+
- Net Margin > Gross Margin → ERROR: Formula issue

0 commit comments

Comments
 (0)