skills/defeatbeta-analyst/SKILL.md
Professional financial analysis using 60+ market data APIs. Use for: company fundamentals (revenue, margins, EPS, balance sheet), valuation (P/E, P/B, P/S, PEG, DCF, intrinsic value), profitability (ROE, ROA, ROIC), growth trends (YoY revenue/earnings/FCF), earnings transcripts (key data, changes, guidance), industry benchmarking, segment/geography revenue breakdown, business model analysis, competitive landscape, risk analysis, investment thesis, bull/bear scenarios. Trigger on: stock tickers, company names, financial metrics, or any investment research request. DO NOT trigger for: general economics, non-public companies, crypto/commodities with no equity ticker.
npx skillsauth add defeat-beta/defeatbeta-api defeatbeta-analystInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Professional-grade financial analysis using historical market data and comprehensive financial metrics from the defeatbeta dataset.
Unless the user specifies otherwise:
get_latest_data_update_date first — this is "today" for all relative time queries/defeatbeta-analyst AAPL), run Template 1: Quick Investment Screeningsector in profile firstChoose the template that best matches the user's request. Read analysis-templates.md for the full workflow of any template.
| User request | Template | |-----------------------------------------------|----------------------------------------------------| | Quick check / "should I look at this stock?" | T1: Quick Investment Screening | | Full company deep-dive | T2: Full Fundamental Analysis | | Overvalued / undervalued / P/E / P/B / DCF | T3: Valuation-Focused or T10: DCF Valuation | | Revenue growth / earnings quality / ROIC | T4: Growth Quality Assessment | | ROE decomposition / DuPont | T5: DuPont Analysis | | Margin trends / vs peers | T6: Margin Analysis & Peer Comparison | | Accruals / FCF quality / working capital | T7: Earnings Quality Assessment | | Industry positioning | T8: Industry Positioning Analysis | | Latest earnings release numbers | T9: Quarterly Earnings Analysis | | "What did management report this quarter?" | T11: Extract Key Financial Data from Earnings Call | | "What changed vs last quarter/year?" | T12: Financial Metric Changes from Earnings Call | | "What is management's guidance/outlook?" | T13: Financial Metric Forecasts from Earnings Call | | "What does this company do?" / business model | T14: Business Understanding | | Revenue segments / geography breakdown | T15: Revenue Breakdown | | Industry trends / tailwinds / headwinds | T16: Industry Context | | Competitors / moat / pricing power | T17: Competitive Landscape | | Balance sheet strength / debt / FCF quality | T18: Financial Quality | | Risks / downside / what could go wrong | T19: Risks and Downside | | Management track record / capital allocation | T20: Management and Execution | | Bull case / bear case / scenarios | T21: Bull and Bear Scenarios | | How to value / valuation assumptions | T22: Valuation Framework | | Long-term thesis / why invest / must go right | T23: Long-Term Investment Thesis |
REQUIRED: Before calling any API, read the relevant section in defeatbeta-api-reference.md to confirm the correct parameters and response schema.
fiscal_year and fiscal_quartersec_user_agent field value as User-Agent header when accessing SEC URLs (SEC blocks without it)When displaying results from get_stock_*_income_statement, get_stock_*_balance_sheet, or get_stock_*_cash_flow, you MUST follow these rules. The response contains a statement array where each row has label, indent, is_section, and values fields.
Rules:
indent × 2 spaces (indent=0 → no prefix, indent=1 → 2 spaces, indent=2 → 4 spaces, etc.)indent = this.indent + 1) are its childrenperiods[i]; null means data not availableExample — given these rows:
| label | indent | is_section | |-------------------|--------|------------| | Total Revenue | 0 | true | | Operating Revenue | 1 | false | | Cost of Revenue | 0 | false | | Operating Expense | 0 | true | | SG&A | 1 | false | | R&D | 1 | false |
Correct rendered output:
| Item | 2025Q4 | 2025Q3 | |-------------------------------|--------|--------| | Total Revenue | 10,270 | 9,246 | | Operating Revenue | 10,270 | 9,246 | | Cost of Revenue | 4,693 | 4,466 | | Operating Expense | 3,825 | 3,510 | | SG&A | 1,198 | 1,069 | | R&D | 2,330 | 2,139 |
Detailed step-by-step workflows (T1–T23) → analysis-templates.md
API parameters, response schemas, examples (60+ APIs) → defeatbeta-api-reference.md
development
Create professional equity research earnings update reports (8-12 pages, 3,000-5,000 words) analyzing quarterly results for companies already under coverage. Fast-turnaround format focusing on beat/miss analysis, key metrics, updated estimates, and revised thesis. Includes 1-3 summary tables and 8-12 charts. Use when user requests "earnings update", "quarterly update", "earnings analysis", "Q1/Q2/Q3/Q4 results", or post-earnings report.
development
Generate a fully editable Discounted Cash Flow (DCF) valuation spreadsheet for a public company. Builds a single-sheet Excel workbook with WACC, growth estimates, 10-year FCF projections, and fair price — all wired as live formulas so users can flex discount rate or growth assumptions and see fair price update. Triggers on DCF analysis, discounted cash flow, intrinsic value, fair price estimate, build a DCF model, value [company].
development
Build pre-earnings analysis with estimate models, scenario frameworks, and key metrics to watch. Use before a company reports quarterly earnings to prepare positioning notes, set up bull/base/bear scenarios, and identify what will move the stock. Triggers on earnings preview, what to watch for company earnings, pre-earnings, earnings setup, or preview Q[X] for a company.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.