/daloopa-investing:research-note TICKERfrom daloopa-investing
Generates a professional HTML research note for a company specified by ticker. Walks through structured phases: setup, financial data collection, valuation, and report generation.
Ships in daloopa-investing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a professional research note for the company specified by the user: $ARGUMENTS
Before starting, read ../data-access.md (tools, citations, reuse), ../design-system.md and ../report-template.html (format, charts, final checks), ../valuation-conventions.md (share count, enterprise value, multiples, free cash flow, discounting), ../metrics-definitions.md (ratio definitions, pull windows, filing sections), ../earnings-methods.md (guidance pairing, earnings dates) and ../kpi-taxonomy.md (operating KPIs). Those files define every shared rule. This skill states only what is specific to the note.
The note is a styled HTML file, reports/{TICKER}_research_note.html. Work through the phases in order, building one context object. The context is saved as JSON so /update can detect and diff a new quarter, and the note is written from it by a script. A Word version is produced only if the user asks (Phase K).
Context content is of two kinds. The note prints only the keys in the Context Key Checklist (Phase K). Everything else in the JSON (financials, kpis, segments, guidance, capital_allocation, dcf, comps, risks, charts) is working data, kept so the numbers can be audited and diffed. Store every reported value as {"value": ..., "id": ...} so its citation survives. This shape is for the note's context only: infra/excel_builder.py needs plain numbers and cannot read this file (see /build-model).
Run the standard company setup (../data-access.md Section 1.2). Apply the sector gate in ../valuation-conventions.md Section 1 now: it decides which valuation methods Phase G may use, and the note says which were skipped and why.
Pull the latest close, and one price range covering the last 3 years (valuation history, buyback timing, earnings reactions). Beta and the risk-free rate follow ../data-access.md Section 2; a default is labelled a default assumption wherever it appears.
Record in the context:
company_name, ticker, date, price, price_date, market_cap (calc., per ../valuation-conventions.md Sections 2-3)firm_name only if the user gave one (../data-access.md Section 4.5); otherwise leave it outdata_through (the latest_calendar_quarter), periods (the calendar quarters pulled, oldest first), fiscal_labels (calendar quarter → fiscal label), fiscal_year_endcurrency (reporting), price_currency, adr_ratio (1 unless the listing is an ADR). If price and reporting currencies differ, state the exchange rate and its date wherever a per-share value or multiple is shown (../metrics-definitions.md Section 9). Format money in the reporting currency's symbol, not "$" by default.Reuse (../data-access.md Sections 6 and 7). If knowledge/{TICKER}/ exists, read it for the series map and framing; if thesis.md is status: active, the beliefs in Phase E and the monitors in Phase J must relate to its pillars. List reports/{TICKER}_*.json and identify sidecars by their skill field: /dcf, /comps, /bull-bear, /reverse-dcf, /guidance-tracker, /capital-allocation and /forensic. A reusable sidecar supplies the matching phase: take its figures, do not recompute, and say in the note which sections draw on which report. Before combining two sidecars, confirm their price date, share count and bridge agree (../valuation-conventions.md Section 12).
Display 8 quarters; pull 12 (../metrics-definitions.md Section 1). On the first cash-flow pull, run the year-to-date check in ../metrics-definitions.md Section 2 before computing anything.
Pull: revenue, gross profit, R&D, SG&A, operating income, interest expense and income, pre-tax income, tax, net income, diluted EPS, D&A, SBC, operating cash flow, capex, cash, marketable securities (short and long term), total debt, receivables, inventory, payables, deferred revenue, shares. Compute EBITDA, levered FCF, net debt, margins and YoY growth per ../metrics-definitions.md Section 4. Process the pull with a script and assert the arithmetic there (../data-access.md Section 8.1).
Cost and margin analysis. Identify the three to five largest cost lines and their 8-quarter trend, R&D and SG&A as a share of revenue, and what is driving each margin: price, cost leverage, mix, or one-time items.
Outputs: financials_table, opex_breakdown_table, cost_margin_analysis.
Choose KPIs with ../kpi-taxonomy.md (and knowledge/{TICKER}/kpis.md if present). Discover without a period filter, then check coverage in the window (../data-access.md Section 8.2). Pull segment and geographic revenue for the same 12 quarters.
Build the deep dive around the taxonomy row for each segment: show how the drivers multiply out to reported revenue and which driver is doing the work. Add sector items the taxonomy does not carry where they matter (pipeline and patent expiries for pharma, capital ratios for banks, reserves for energy).
Outputs: segments_table, geo_table, industry_deep_dive.
Reuse a fresh /guidance-tracker output if one exists. Otherwise pull guidance series with one extra quarter at the start of the window and pair them with actuals strictly by ../earnings-methods.md Section 5: basis match, polarity, classification against the range, annual guidance tracked as a revision path. Make no beat-rate or credibility statement below the sample size that file requires. Name the benchmark in every BEAT / MISS verdict.
Outputs: has_guidance, guidance_track_record, guidance_table (rows of {period, metric, guidance, actual, surprise}).
Build falsifiable beliefs instead of probability-weighted scenarios.
../valuation-conventions.md Section 4).Outputs: bull_beliefs, bull_target, bear_beliefs, bear_target, risk_reward_assessment.
Reuse a fresh /capital-allocation output if one exists. Otherwise pull buybacks, dividends, share count and SBC, and compute shareholder yield, payout against levered FCF, leverage and coverage per ../metrics-definitions.md. Any comparison of repurchase prices with market prices follows the split and price-paid rules in ../valuation-conventions.md Section 5.
Outputs: capital_allocation_commentary, shares_outstanding_table.
Every definition here comes from ../valuation-conventions.md. Skip, and say so, any method the sector gate excludes.
DCF (reuse a fresh /dcf sidecar if one exists; otherwise):
OCF − capex) is never discounted at WACC.Using the projection engine (infra/projection_engine.py, project repo only). Its input is a JSON file with projection_quarters: 20, historical.periods as calendar quarters oldest first, and aligned quarterly arrays for revenue, cost_of_revenue, operating_expenses, net_income, capex (positive numbers), depreciation, pp_and_e, shares_outstanding, plus optional guidance (--help prints the full schema). Arrays must be equal length with no nulls in the last four quarters. It does not handle pre-revenue companies, deep loss-makers or financials: project those by hand.
| Engine output | Use in the note |
|---|---|
revenue | Use only after this check: compute projected year-1 growth (first four projected quarters over the last four actual). If guidance exists and the engine's figure differs from it by more than one point, or the quarterly YoY path zigzags, replace the revenue path: one growth rate per projected year, g_y = g_LT + (g_1 − g_LT) × 0.6^(y−1) with g_1 = guidance (or trailing YoY), applied to the same quarter a year earlier. State which path was used. |
gross_margin, gross_profit, operating_margin, operating_income | Usable as EBIT inputs. If revenue was replaced, reapply the margins to the new revenue. Check operating margin against the trailing record and say if it is assumed to expand. |
depreciation, capex, shares_outstanding | Usable. |
net_income, net_margin, eps | Do not use. The engine sets net income to operating income × (1 − tax) and ignores interest and other income. Recompute: pre-tax income = EBIT − net interest expense + other income, then tax. |
fcf | Do not use. It is net income + D&A − capex: levered, with no working capital. Build unlevered FCF yourself from the engine's EBIT, D&A and capex, your tax rate and your own ΔNWC assumption. |
Read assumptions.methods in the engine output and state the method for each line in dcf_summary.
Comps (reuse a fresh /comps sidecar, which owns the peer set; otherwise build the set by ../valuation-conventions.md Section 9). Compute every multiple from Daloopa prices and fundamentals on the Section 3-4 definitions, with the NM rules. If peer debt, cash or D&A cannot be pulled, fall back to P/E and EV/Sales and say so; a third-party multiple for an uncovered peer is labelled and kept out of the median unless flagged.
Market-implied expectations. From a fresh /reverse-dcf sidecar, or in one line: the revenue CAGR at which this DCF equals today's price, against the trailing record.
Outputs: has_dcf, dcf_summary, charts.dcf_sensitivity, has_comps, comps_commentary, comps_table (rows of {company, ev_sales, ev_ebitda, pe}).
Read first (../data-access.md Section 8.3, ../metrics-definitions.md Section 7, ../earnings-methods.md Section 7):
Expert calls (optional) per ../data-access.md Sections 1.8 and 8.4. Use them to test the thesis pillars and risks, labelled as expert opinion and cited.
News and catalysts, from primary sources: results releases, 8-Ks and press releases in Daloopa, then the company's investor-relations newsroom, then Tier-1 press for what the company would not announce itself. Follow ../data-access.md Sections 2.5 and 8.6. Analyst-rating changes and price targets are optional and omitted when only excluded sources carry them.
Outputs: company_description, investment_thesis, risks_summary, risks_table (rows of {risk, impact, probability}), news_timeline (6-10 dated events, newest first, each with a one-sentence impact), forward_catalysts (near, medium and long term), policy_backdrop (empty if not material).
Four charts, inline SVG per ../design-system.md (Charts in HTML Reports), with geometry computed by the script that builds the tables:
has_dcf.Store the inputs in context.charts.
Be honest and critical: the reader is a professional investor.
bottom_line = {call, supports: [three cited strings], flip}): the call is attractive, fairly valued or overvalued at the current price, with the one reason why. It appears once, in the bottom-line block.key_metrics_table (rows of {metric, value, vs_prior}).../data-access.md Section 7).Narrative strings in the context are plain text with light markup: one paragraph per line, - bullets, 1. numbered items, ## sub-headings, **bold**, and [text](url) for links, which is how every citation is written.
Run the Final Checks in ../design-system.md. The script that writes the note asserts the arithmetic: segments sum to revenue, trailing-four-quarter figures equal their quarters, margins and growth recompute, the EV-to-equity bridge foots, targets equal multiple × earnings as stated, and the sensitivity grid's base cell equals the headline value.
Write:
reports/.tmp/{TICKER}_context.json.reports/{TICKER}_research_note.html with a script: copy the <style> block from ../report-template.html verbatim, convert the light markup to HTML with text escaped, and build every table and chart from the context.has_guidance)has_dcf; comparable companies when has_comps; methods skipped by the sector gate named here)Word version (only if the user asks for .docx). Generate PNG charts with infra/chart_generator.py into reports/.charts/, set revenue_chart, margin_chart, segment_chart and dcf_sensitivity_chart to their paths, fold bottom_line into the first lines of executive_summary, and run python infra/docx_renderer.py --template templates/research_note.docx --context reports/.tmp/{TICKER}_context.json --output reports/{TICKER}_research_note.docx. Do not post-process the file, and do not run scripts/create_template.py: it rewrites the template.
Keys the note prints. Narrative keys are strings, table keys are lists of row objects, flags are booleans. Leave a key out, and its section with it, when there is nothing to say.
| Section | Keys |
|---|---|
| Header | company_name, ticker, date, price, price_date, market_cap, firm_name (optional) |
| Top | bottom_line, executive_summary, key_metrics_table, five_key_tensions |
| Thesis and overview | investment_thesis, variant_perception, company_description |
| News | news_timeline |
| Financials | financials_table, cost_margin_analysis, opex_breakdown_table, segments_table, geo_table, charts |
| Industry | industry_deep_dive |
| Guidance | has_guidance, guidance_track_record, guidance_table |
| Beliefs | bull_beliefs, bull_target, bear_beliefs, bear_target, risk_reward_assessment |
| Catalysts | forward_catalysts, policy_backdrop |
| Capital allocation | capital_allocation_commentary, shares_outstanding_table |
| Valuation | has_dcf, dcf_summary, has_comps, comps_commentary, comps_table |
| Risks and monitoring | risks_summary, risks_table, monitoring_quantitative, monitoring_qualitative |
| Close | appendix_content, next_steps |
For /update | data_through, periods, fiscal_labels, fiscal_year_end, currency, price_currency, adr_ratio |
Period tables use {metric, "<period label>": ...} rows with the same labels in every table. A table's default source line can be replaced with <table_key>_source.
Tell the user:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub daloopa/investing2 --plugin daloopa-investingOther plugins' skills for the same job
42 skills in this plugin
/activismActivist vulnerability assessment — performance gaps, likely activist playbook, and defense analysis/bomInteractive product bill-of-materials dashboard with an exploded view, mapping components, suppliers, unit costs, and gross margin sensitivity/build-modelBuild a multi-tab Excel financial model/bull-bearBull/bear/base case scenario framework for a given company