/daloopa-investing:sotp TICKERfrom daloopa-investing
Builds a sum-of-the-parts valuation for a company by valuing each segment separately, comparing total to market price. Useful when segments differ in growth, margin, or capital intensity.
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.
Build a sum-of-the-parts (SOTP) valuation for the company specified by the user: $ARGUMENTS
Before starting, read ../data-access.md (tools, citations, reuse), ../design-system.md (formatting, charts, final checks), ../valuation-conventions.md (every valuation definition used below), ../metrics-definitions.md (pull windows, EBITDA, reading filings) and ../kpi-taxonomy.md (operating KPIs).
SOTP values each business as if it traded separately, then compares the total with the market price. It is useful when segments differ enough in growth, margin or capital intensity that one blended multiple misprices the whole. ../valuation-conventions.md ("Conventions") defines the share count, EV bridge and multiples; this skill applies them to the target and to every peer alike.
Run the standard company setup (../data-access.md Section 1.2).
Segment discovery. Use discover_company_series for the segment series (search "segment", then the names of the business lines once known), and read the segment note of the latest 10-K (../metrics-definitions.md Section 7). List the reportable segments exactly as the company reports them, with the name and definition of its segment profit measure.
/dcf or /comps. Do not invent segments from product or geographic revenue lines that have no reported profit. Write no report.Sector gate (Conventions §1), applied per segment:
Display window: 8 quarters. Pull window: 12 quarters back from latest_calendar_quarter. Check cash flow items for year-to-date reporting (../metrics-definitions.md Section 2).
../kpi-taxonomy.md row for that segment's business model../data-access.md Section 1.7)Compute LTM for every flow item. Reconcile in the script: segment revenue plus eliminations equals consolidated revenue, and segment profit less corporate costs equals consolidated operating income. If either is off by more than 1%, find the missing line before continuing.
Segment EBITDA is rarely reported. Build it and label every allocation as an estimate.
../metrics-definitions.md leaves SBC in as an expense. If the company's segment profit measure excludes SBC, allocate consolidated SBC by revenue and deduct it, so segment EBITDA is on the same basis as the peer EBITDA in Step 5. Show the before and after.Show a table per segment: LTM revenue, YoY growth, operating income and margin, D&A, EBITDA and margin, share of total revenue and of total EBITDA.
/comps owns the company-level peer set (Conventions §9). SOTP needs something different, a pure-play set per segment, and states that this is a deviation and why.
For each segment choose 3-5 public companies whose business is predominantly that segment's activity:
industry_id, and list that industry with discover_companies(industry_id=...). Reuse names from a fresh /comps sidecar where they fit.Give one line per peer on why it was chosen. A wrong peer set is the main way SOTP produces a wrong answer.
For every peer pull the last 4 quarters ending at the common calendar quarter (Conventions §4, calendarization): revenue, operating income, D&A, net income, diluted EPS, and the full set of bridge items and share inputs. Get all peer prices in one get_stock_prices call.
Compute each peer's EV and multiples exactly as in Conventions §3 and §4, on the same bridge used for the target in Step 6. A short bridge for peers and a full bridge for the target would understate the peer multiples and then deduct the target's extra claims a second time. Apply the NM and statistics rules there.
Valuation metric per segment:
Range per segment: low = peer 25th percentile; high = 75th percentile; base = the median, moved within that range for the segment's growth and margin relative to the peers, with the adjustment and reason stated. A segment does not earn a premium multiple because management calls it a growth business: its reported growth and margins must earn it. Add NTM multiples only with sourced consensus, in separate columns.
Bridge, shown for low, base and high:
Discount. 1 − latest close ÷ SOTP base value per share. A negative figure means the stock trades above its parts. Also compare the consolidated LTM EV/EBITDA with the segment-EBITDA-weighted peer multiple.
Stub. "Current EV" is the company's EV from the Conventions §3 bridge at the latest close, the same bridge and the same exclusions as Step 6, less the equity value of any financial segments. For each operating segment in turn:
Stub value = current EV − (base EV of all other operating segments − capitalized corporate costs)Implied multiple = stub value ÷ that segment's LTM metricReport which segment the market is implicitly valuing at zero, below zero, or well below its peer range. Run the stub the way a skeptic would: value the highest-quality segment at its peer median and see what is left for the rest.
Is the discount justified? Not every discount is an opportunity. Check for shared costs a breakup would expose, tax leakage on a sale or spin, a record of redeploying cash from the strong segment into the weak one, intersegment revenue that would not survive separation, and a controlling holder or structure that makes separation unlikely.
Evidence comes from the segment note and Item 1 already read, then at most a few phrase searches, one phrase and one quarter per call (../data-access.md Section 8.3): "strategic review", "spin-off", "strategic alternatives", "intersegment".
Expert calls (optional): per ../data-access.md Sections 1.8 and 8.4, for how dependent the segments are on each other and whether one could stand alone.
Catalyst. Name the specific event that would force the market to value the parts (spin, sale, partial IPO, better segment disclosure, activist involvement, the weak segment reaching breakeven), whether there is evidence it is in motion, and how long the discount has persisted. A discount with no catalyst can last indefinitely. Outside precedents follow ../data-access.md Section 2.5.
Write reports/{TICKER}_sotp.html from ../report-template.html as described in ../design-system.md, generated by a script from the pulled data.
Report outline:
n./activism if the discount has no catalyst, /football-field, /comps.Write the sidecar reports/{TICKER}_sotp.json per Conventions §12, with one methods entry "SOTP" (low, base, high per share, "basis": "minority, LTM"), and under assumptions each part's metric, multiple and value, the corporate-cost treatment, and each segment's peer set.
Run the Final Checks in ../design-system.md before saving. For this skill also assert in the script: the segment reconciliations in Step 2 hold; the bridge foots to the value per share at low, base and high; target and peer EVs use the same bridge items; the stub values plus the other parts sum to current EV.
Tell the user where the report and sidecar were saved. Summarize SOTP value against the current price, which segment the market is undervaluing or assigning no value, and whether a real catalyst exists. Be direct about weak points: if the discount depends on a generous multiple for one segment, or on allocations you had to estimate, say so. If the parts are worth no more than the whole, say there is no SOTP argument for the stock.
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