New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Performs financial ratio analysis, DCF valuation

Financial Analyst Skill

by alirezarezvani · MIT license · ★ 26,349 on GitHub · updated Aug 30

Financial Analyst Skill cover

Performs financial ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction for strategic decision-making. Use when analyzing financial statements, building valuation models, assessing budget variances,…

---
name: "financial-analyst"
description: Performs financial ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction for strategic decision-making. Use when analyzing financial statements, building valuation models, assessing budget variances, or constructing financial projections and forecasts. Also applicable when users mention financial modeling, cash flow analysis, company valuation, financial projections, or spreadsheet analysis.
---

# Financial Analyst Skill

## Overview

Production-ready financial analysis toolkit providing ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction. Designed for financial modeling, forecasting & budgeting, management reporting, business performance analysis, and investment analysis.

## 5-Phase Workflow

### Phase 1: Scoping
- Define analysis objectives and stakeholder requirements
- Identify data sources and time periods
- Establish materiality thresholds and accuracy targets
- Select appropriate analytical frameworks

Overview

Production-ready financial analysis toolkit providing ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction. Designed for financial modeling, forecasting & budgeting, management reporting, business performance analysis, and investment analysis.

Manual install (npx, ZIP)
Claude Codenpx skills add alirezarezvani/claude-skills --skill financial-analyst -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/alirezarezvani/claude-skills/tar.gz/19392f7a0826 \ | tar -xz -C ~/.claude/skills --strip-components=3 claude-skills-19392f7a0826/finance/skills/financial-analyst
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/4e4a311ed8cf5d87323b/financial-analyst.zip" -OutFile "$env:TEMP\financial-analyst.zip"; Expand-Archive "$env:TEMP\financial-analyst.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md7.0 KB
  • assets/5 files · 26.1 KB
  • references/4 files · 29.4 KB
  • scripts/4 files · 69.0 KB
Read the files here
alirezarezvani/19392f714 files
SKILL.md
Show the full text154 lines

Financial Analyst Skill

Overview

Production-ready financial analysis toolkit providing ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction. Designed for financial modeling, forecasting & budgeting, management reporting, business performance analysis, and investment analysis.

5-Phase Workflow

Phase 1: Scoping
  • Define analysis objectives and stakeholder requirements
  • Identify data sources and time periods
  • Establish materiality thresholds and accuracy targets
  • Select appropriate analytical frameworks
Phase 2: Data Analysis & Modeling
  • Collect and validate financial data (income statement, balance sheet, cash flow)
  • Validate input data completeness before running ratio calculations (check for missing fields, nulls, or implausible values)
  • Calculate financial ratios across 5 categories (profitability, liquidity, leverage, efficiency, valuation)
  • Build DCF models with WACC and terminal value calculations; cross-check DCF outputs against sanity bounds (e.g., implied multiples vs. comparables)
  • Construct budget variance analyses with favorable/unfavorable classification
  • Develop driver-based forecasts with scenario modeling
Phase 3: Insight Generation
  • Interpret ratio trends and benchmark against industry standards
  • Identify material variances and root causes
  • Assess valuation ranges through sensitivity analysis
  • Evaluate forecast scenarios (base/bull/bear) for decision support
Phase 4: Reporting
  • Generate executive summaries with key findings
  • Produce detailed variance reports by department and category
  • Deliver DCF valuation reports with sensitivity tables
  • Present rolling forecasts with trend analysis
Phase 5: Follow-up
  • Track forecast accuracy (target: +/-5% revenue, +/-3% expenses)
  • Monitor report delivery timeliness (target: 100% on time)
  • Update models with actuals as they become available
  • Refine assumptions based on variance analysis

Tools

1. Ratio Calculator (scripts/ratio_calculator.py)

Calculate and interpret financial ratios from financial statement data.

Ratio Categories:

  • Profitability: ROE, ROA, Gross Margin, Operating Margin, Net Margin
  • Liquidity: Current Ratio, Quick Ratio, Cash Ratio
  • Leverage: Debt-to-Equity, Interest Coverage, DSCR
  • Efficiency: Asset Turnover, Inventory Turnover, Receivables Turnover, DSO
  • Valuation: P/E, P/B, P/S, EV/EBITDA, PEG Ratio
python scripts/ratio_calculator.py assets/sample_financial_data.json
python scripts/ratio_calculator.py assets/sample_financial_data.json --format json
python scripts/ratio_calculator.py assets/sample_financial_data.json --category profitability
2. DCF Valuation (scripts/dcf_valuation.py)

Discounted Cash Flow enterprise and equity valuation with sensitivity analysis.

Features:

  • WACC calculation via CAPM
  • Revenue and free cash flow projections (5-year default)
  • Terminal value via perpetuity growth and exit multiple methods
  • Enterprise value and equity value derivation
  • Two-way sensitivity analysis (discount rate vs growth rate)
python scripts/dcf_valuation.py assets/sample_financial_data.json
python scripts/dcf_valuation.py assets/sample_financial_data.json --format json
python scripts/dcf_valuation.py assets/sample_financial_data.json --projection-years 7
3. Budget Variance Analyzer (scripts/budget_variance_analyzer.py)

Analyze actual vs budget vs prior year performance with materiality filtering.

Features:

  • Dollar and percentage variance calculation
  • Materiality threshold filtering (default: 10% or $50K)
  • Favorable/unfavorable classification with revenue/expense logic
  • Department and category breakdown
  • Executive summary generation
python scripts/budget_variance_analyzer.py assets/sample_financial_data.json
python scripts/budget_variance_analyzer.py assets/sample_financial_data.json --format json
python scripts/budget_variance_analyzer.py assets/sample_financial_data.json --threshold-pct 5 --threshold-amt 25000
4. Forecast Builder (scripts/forecast_builder.py)

Driver-based revenue forecasting with rolling cash flow projection and scenario modeling.

Features:

  • Driver-based revenue forecast model
  • 13-week rolling cash flow projection
  • Scenario modeling (base/bull/bear cases)
  • Trend analysis using simple linear regression (standard library)
python scripts/forecast_builder.py assets/sample_financial_data.json
python scripts/forecast_builder.py assets/sample_financial_data.json --format json
python scripts/forecast_builder.py assets/sample_financial_data.json --scenarios base,bull,bear

Knowledge Bases

Reference Purpose
references/financial-ratios-guide.md Ratio formulas, interpretation, industry benchmarks
references/valuation-methodology.md DCF methodology, WACC, terminal value, comps
references/forecasting-best-practices.md Driver-based forecasting, rolling forecasts, accuracy
references/industry-adaptations.md Sector-specific metrics and considerations (SaaS, Retail, Manufacturing, Financial Services, Healthcare)

Templates

Template Purpose
assets/variance_report_template.md Budget variance report template
assets/dcf_analysis_template.md DCF valuation analysis template
assets/forecast_report_template.md Revenue forecast report template

Key Metrics & Targets

Metric Target
Forecast accuracy (revenue) +/-5%
Forecast accuracy (expenses) +/-3%
Report delivery 100% on time
Model documentation Complete for all assumptions
Variance explanation 100% of material variances

Input Data Format

All scripts accept JSON input files in either of two shapes:

  1. Flat — the tool's expected keys at the top level (e.g., income_statement / balance_sheet for the ratio calculator, historical / assumptions for DCF, line_items for variance, historical_periods / drivers / assumptions / cash_flow_inputs for forecasting).
  2. Nested (bundled) — inputs for all four tools in one file, nested under per-tool keys: ratio_analysis, dcf_valuation, budget_variance, forecast. See assets/sample_financial_data.json for the complete bundled schema; every quick-start command above runs directly against it.

Each script auto-detects the shape (flat keys win if present) and exits non-zero with a clear error if neither shape yields usable data.

Dependencies

None - All scripts use Python standard library only (math, statistics, json, argparse, datetime). No numpy, pandas, or scipy required.

1---
2name: "financial-analyst"
3description: Performs financial ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction for strategic decision-making. Use when analyzing financial statements, building valuation models, assessing budget variances, or constructing financial projections and forecasts. Also applicable when users mention financial modeling, cash flow analysis, company valuation, financial projections, or spreadsheet analysis.
4---
5 
6# Financial Analyst Skill
7 
8## Overview
9 
10Production-ready financial analysis toolkit providing ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction. Designed for financial modeling, forecasting & budgeting, management reporting, business performance analysis, and investment analysis.
11 
12## 5-Phase Workflow
13 
14### Phase 1: Scoping
15- Define analysis objectives and stakeholder requirements
16- Identify data sources and time periods
17- Establish materiality thresholds and accuracy targets
18- Select appropriate analytical frameworks
19 
20### Phase 2: Data Analysis & Modeling
21- Collect and validate financial data (income statement, balance sheet, cash flow)
22- **Validate input data completeness** before running ratio calculations (check for missing fields, nulls, or implausible values)
23- Calculate financial ratios across 5 categories (profitability, liquidity, leverage, efficiency, valuation)
24- Build DCF models with WACC and terminal value calculations; **cross-check DCF outputs against sanity bounds** (e.g., implied multiples vs. comparables)
25- Construct budget variance analyses with favorable/unfavorable classification
26- Develop driver-based forecasts with scenario modeling
27 
28### Phase 3: Insight Generation
29- Interpret ratio trends and benchmark against industry standards
30- Identify material variances and root causes
31- Assess valuation ranges through sensitivity analysis
32- Evaluate forecast scenarios (base/bull/bear) for decision support
33 
34### Phase 4: Reporting
35- Generate executive summaries with key findings
36- Produce detailed variance reports by department and category
37- Deliver DCF valuation reports with sensitivity tables
38- Present rolling forecasts with trend analysis
39 
40### Phase 5: Follow-up
41- Track forecast accuracy (target: +/-5% revenue, +/-3% expenses)
42- Monitor report delivery timeliness (target: 100% on time)
43- Update models with actuals as they become available
44- Refine assumptions based on variance analysis
45 
46## Tools
47 
48### 1. Ratio Calculator (`scripts/ratio_calculator.py`)
49 
50Calculate and interpret financial ratios from financial statement data.
51 
52**Ratio Categories:**
53- **Profitability:** ROE, ROA, Gross Margin, Operating Margin, Net Margin
54- **Liquidity:** Current Ratio, Quick Ratio, Cash Ratio
55- **Leverage:** Debt-to-Equity, Interest Coverage, DSCR
56- **Efficiency:** Asset Turnover, Inventory Turnover, Receivables Turnover, DSO
57- **Valuation:** P/E, P/B, P/S, EV/EBITDA, PEG Ratio
58 
59```bash
60python scripts/ratio_calculator.py assets/sample_financial_data.json
61python scripts/ratio_calculator.py assets/sample_financial_data.json --format json
62python scripts/ratio_calculator.py assets/sample_financial_data.json --category profitability
63```
64 
65### 2. DCF Valuation (`scripts/dcf_valuation.py`)
66 
67Discounted Cash Flow enterprise and equity valuation with sensitivity analysis.
68 
69**Features:**
70- WACC calculation via CAPM
71- Revenue and free cash flow projections (5-year default)
72- Terminal value via perpetuity growth and exit multiple methods
73- Enterprise value and equity value derivation
74- Two-way sensitivity analysis (discount rate vs growth rate)
75 
76```bash
77python scripts/dcf_valuation.py assets/sample_financial_data.json
78python scripts/dcf_valuation.py assets/sample_financial_data.json --format json
79python scripts/dcf_valuation.py assets/sample_financial_data.json --projection-years 7
80```
81 
82### 3. Budget Variance Analyzer (`scripts/budget_variance_analyzer.py`)
83 
84Analyze actual vs budget vs prior year performance with materiality filtering.
85 
86**Features:**
87- Dollar and percentage variance calculation
88- Materiality threshold filtering (default: 10% or $50K)
89- Favorable/unfavorable classification with revenue/expense logic
90- Department and category breakdown
91- Executive summary generation
92 
93```bash
94python scripts/budget_variance_analyzer.py assets/sample_financial_data.json
95python scripts/budget_variance_analyzer.py assets/sample_financial_data.json --format json
96python scripts/budget_variance_analyzer.py assets/sample_financial_data.json --threshold-pct 5 --threshold-amt 25000
97```
98 
99### 4. Forecast Builder (`scripts/forecast_builder.py`)
100 
101Driver-based revenue forecasting with rolling cash flow projection and scenario modeling.
102 
103**Features:**
104- Driver-based revenue forecast model
105- 13-week rolling cash flow projection
106- Scenario modeling (base/bull/bear cases)
107- Trend analysis using simple linear regression (standard library)
108 
109```bash
110python scripts/forecast_builder.py assets/sample_financial_data.json
111python scripts/forecast_builder.py assets/sample_financial_data.json --format json
112python scripts/forecast_builder.py assets/sample_financial_data.json --scenarios base,bull,bear
113```
114 
115## Knowledge Bases
116 
117| Reference | Purpose |
118|-----------|---------|
119| `references/financial-ratios-guide.md` | Ratio formulas, interpretation, industry benchmarks |
120| `references/valuation-methodology.md` | DCF methodology, WACC, terminal value, comps |
121| `references/forecasting-best-practices.md` | Driver-based forecasting, rolling forecasts, accuracy |
122| `references/industry-adaptations.md` | Sector-specific metrics and considerations (SaaS, Retail, Manufacturing, Financial Services, Healthcare) |
123 
124## Templates
125 
126| Template | Purpose |
127|----------|---------|
128| `assets/variance_report_template.md` | Budget variance report template |
129| `assets/dcf_analysis_template.md` | DCF valuation analysis template |
130| `assets/forecast_report_template.md` | Revenue forecast report template |
131 
132## Key Metrics & Targets
133 
134| Metric | Target |
135|--------|--------|
136| Forecast accuracy (revenue) | +/-5% |
137| Forecast accuracy (expenses) | +/-3% |
138| Report delivery | 100% on time |
139| Model documentation | Complete for all assumptions |
140| Variance explanation | 100% of material variances |
141 
142## Input Data Format
143 
144All scripts accept JSON input files in either of two shapes:
145 
1461. **Flat** — the tool's expected keys at the top level (e.g., `income_statement` / `balance_sheet` for the ratio calculator, `historical` / `assumptions` for DCF, `line_items` for variance, `historical_periods` / `drivers` / `assumptions` / `cash_flow_inputs` for forecasting).
1472. **Nested (bundled)** — inputs for all four tools in one file, nested under per-tool keys: `ratio_analysis`, `dcf_valuation`, `budget_variance`, `forecast`. See `assets/sample_financial_data.json` for the complete bundled schema; every quick-start command above runs directly against it.
148 
149Each script auto-detects the shape (flat keys win if present) and exits non-zero with a clear error if neither shape yields usable data.
150 
151## Dependencies
152 
153**None** - All scripts use Python standard library only (`math`, `statistics`, `json`, `argparse`, `datetime`). No numpy, pandas, or scipy required.
154 
View all files on GitHub →

Details

Updated
Aug 30, 2026
License
MIT
Stars on the repo
★ 26,349
Checked
Source
alirezarezvani/claude-skills ↗
Creator
alirezarezvani · 363 listings
View creator

Similar skills

See all →
SkillAnalyze ad campaign performance data to identify what'sAd campaign analyzergooseworks-ai/goose-skills · by gooseworks-aiAnalyze ad campaign performance data (Google, Meta, LinkedIn) to identify what's working, what's wasting budget, and specific cut/scale/test recommendations. Runs statistical analysis, funnel diagnostics, and multi-channel budget reallocation with specific dollar-amount shift recommendations and scenario modeling.★ 1.2k GitHub starsSkillYour CFOFounder cfoJakeschincariol/founder-skill · by JakeschincariolYour CFO. Builds the unit economics of a business before money is spent: what one unit earns after its direct costs, the real profit margin at the planned volume, the break-even point in units a day, year 1 month by month, the cash needed before it pays for itself, how long the startup spend takes to earn back, and what happens if the price drops, sales come in low or costs rise. Every number traces to an input the user can check. Use when the user says "find the profit margins", "do the numbers", "is this profitable", "break-even", "unit economics", "how much do I need to start", or "run the CFO".★ 322 GitHub starsSkillBuild comprehensive 3-5 year financial models with revenueStartup financial modelingwshobson/agents · by wshobsonBuild comprehensive 3-5 year financial models with revenue projections, cost structures, cash flow analysis, and scenario planning for early-stage startups. Use this skill when creating financial projections, calculating burn rate or runway, modeling fundraising scenarios, or preparing investor-ready financials for a seed or Series A raise.★ 39.9k GitHub starsMCPYou need to establish project plansProject managerdavila7/claude-code-templates · by davila7Use this agent when you need to establish project plans, track execution progress, manage risks, control budget/schedule, and coordinate stakeholders across complex initiatives. Specifically:\\n\\n<example>\\nContext: A software team is starting a major product release with multiple dependencies and tight deadlines. The stakeholders need a comprehensive project plan with timeline, resource allocation, and risk mitigation strategies.\\nuser: "We're launching a new payment processing platform in Q2. Can you help us plan the project, identify risks, and set up tracking?"\\nassistant: "I'll establish a comprehensive project management plan including scope definition, work breakdown structure, detailed timeline with milestones, resource allocation strategy, risk register with mitigation plans, budget estimates, and communication protocols. I'll also set up progress tracking mechanisms and escalation procedures."\\n<commentary>\\nInvoke project-manager when a project needs comprehensive planning from inception, including scope, timeline, budget, resources, and risk management. This is distinct from scrum-master (which facilitates team execution within sprints) and differs in scope than a single-area task.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: A mid-project review shows the team is running 2 weeks behind schedule, budget is trending 12% over, and there are unresolved dependency issues with another team.\\nuser: "Our project is sliding. We're behind schedule, over budget, and stuck waiting on another team. I need to understand what's happening and how to fix it."\\nassistant: "I'll conduct a project health assessment: analyze schedule variance and critical path to identify what's causing the delay, review budget performance and forecast final costs, identify blocking dependencies and propose resolution strategies, assess risk mitigation effectiveness, and develop a corrective action plan with stakeholder communication strategy."\\n<commentary>\\nUse project-manager when a project is in execution phase and you need to address performance issues (schedule, budget, scope, quality) or resolve cross-team dependencies and blockers. Project-manager handles systemic project problems, not just individual team execution.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: A project is nearing completion with deliverables ready for handoff. The team needs to verify all objectives were met, document lessons learned, and properly close the project.\\nuser: "We're wrapping up the mobile app redesign. Everything seems done but I want to make sure we're closing this properly. Need to document what we learned and ensure all deliverables are signed off."\\nassistant: "I'll manage project closure: verify all deliverables against acceptance criteria, confirm stakeholder sign-off, facilitate lessons learned session to capture what worked well and areas for improvement, ensure complete documentation, conduct team retrospective, and create archive for future reference. I'll also compile final metrics on schedule, budget, quality, and team satisfaction."\\n<commentary>\\nInvoke project-manager at the end of a project lifecycle to ensure proper closure, stakeholder handoff, documentation completion, and organizational learning. This captures the full project management cycle from planning through closure.\\n</commentary>\\n</example>★ 32.3k GitHub starsSkill/cs:cfo-review <plan/cs:cfo-review — CFO Forcing Questionsalirezarezvani/claude-skills · by alirezarezvani/cs:cfo-review <plan> — Numerate-skeptic interrogation of any plan that touches money. Unit economics, runway, dilution, capital allocation. Use when a plan commits meaningful spend — e.g. a hiring wave, a fundraise decision, or a new channel budget.★ 26.3k GitHub starsSkill/cs:founder-mode <question/cs:founder-mode — The Auto-Routeralirezarezvani/claude-skills · by alirezarezvani/cs:founder-mode <question> — Auto-routes any founder question to the right C-role advisor or to /cs:boardroom for multi-role topics. The single-command entry point. Use when a founder asks any strategic question without knowing which advisor or command fits — e.g. 'runway pressure' routes to the CFO, 'gross retention dropped' routes to the CCO.★ 26.3k GitHub stars

More from alirezarezvani

SkillResume a paused experiment/ar:ar-resume — Resume Experimentalirezarezvani/claude-skills · by alirezarezvaniResume a paused experiment. Checkout the experiment branch, read results history, continue iterating. Use when the user runs /ar:ar-resume or asks to pick up a previously started autoresearch experiment.★ 26.3k GitHub starsSkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboardalirezarezvani/claude-skills · by alirezarezvaniShow experiment dashboard with results, active loops, and progress. Use when the user runs /ar:ar-status or asks how an autoresearch experiment is going.★ 26.3k GitHub starsSkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loopalirezarezvani/claude-skills · by alirezarezvaniStart an autonomous experiment loop with user-selected interval (10min, 1h, daily, weekly, monthly). Uses CronCreate for scheduling. Use when the user runs /ar:loop or asks to run an autoresearch experiment continuously on a schedule.★ 26.3k GitHub starsSkillRun a single experiment iteration/ar:run — Single Experiment Iterationalirezarezvani/claude-skills · by alirezarezvaniRun a single experiment iteration. Edit the target file, evaluate, keep or discard. Use when the user runs /ar:run or asks for one manual autoresearch iteration.★ 26.3k GitHub starsSkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experimentalirezarezvani/claude-skills · by alirezarezvaniSet up a new autoresearch experiment interactively. Collects domain, target file, eval command, metric, direction, and evaluator. Use when the user runs /ar:setup or asks to start optimizing a file with the autoresearch loop.★ 26.3k GitHub starsSkill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberationalirezarezvani/claude-skills · by alirezarezvani/cs:boardroom <brief> — 6-phase multi-role deliberation across the C-suite with Phase 2 isolation, critic pre-screen, and synthesis. Outputs a board memo. Use when a decision spans multiple executive domains — e.g. a pricing change touching finance, positioning, and product, or a raise-vs-cut runway call.★ 26.3k GitHub stars