/daloopa-investing:supply-chain TICKERfrom daloopa-investing
Generates an interactive supply chain dashboard for a given company, mapping suppliers, customers, and financial interdependencies with disclosed, estimated, and undisclosed states.
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 an interactive supply chain dashboard for the company specified by the user: $ARGUMENTS
Before starting, read ../data-access.md (tools, citations, source rules, reuse), ../design-system.md (formatting, bottom line, final checks) and ../metrics-definitions.md (metric definitions, pull windows, which filing sections to read). This skill cites them and does not restate them.
This skill maps the companies on both sides of a target: who supplies it, who buys from it, how large each relationship is for each party, and where the dependency is one-sided. It works at the level of companies. Component-level costs for a specific product are owned by /bom; what one company's latest results imply for the others is owned by /read-across.
What the public record supports. Companies rarely name their suppliers or customers with figures. The disclosed facts are usually: customers above 10% of a company's revenue (often unnamed), single-source dependencies described in risk factors, and manufacturing partners named in the business section. Everything else is an estimate or a named relationship without a number. The dashboard keeps three states visibly separate everywhere: disclosed (cited), estimate (prefixed ~, with its method), and not disclosed. It never shows a number in the third state.
A single self-contained HTML file, reports/{TICKER}_supply_chain.html, plus its data file reports/{TICKER}_supply_chain.json. It is one scrolling page with a clickable chain map and company cards that open detail overlays; the detail prints as an appendix.
Three reference files in references/ are part of this skill:
| File | Contents | Read at |
|---|---|---|
references/data-assembly.md | The JSON structure all research is assembled into, and the checks to assert | Step 6 |
references/document-structure.md | Every page section, in order | Step 8 |
references/dashboard-css-js.md | The dashboard CSS and the JavaScript, checked in a browser | Step 8 |
Tier is depth in the chain, nothing else. Tier 1 sells directly to the target. Tier 2 sells to a tier-1 supplier. Importance is a separate attribute.
Importance and dependency: one threshold table. Defaults, labelled as such on the page.
| Label | Supplier's importance to the target | Customer's importance to the target | A counterparty's dependency on the target |
|---|---|---|---|
| HIGH | ≥ 15% of target cost of revenue, or the target's filings call it a single source | ≥ 15% of target revenue | Target is > 20% of its revenue |
| MED | 5-15%, or few qualified alternatives | 5-15% | 10-20% |
| LOW | < 5% and multiple alternatives | < 5% | < 10% |
Where no share is known, importance is assigned from the qualitative evidence (single source, custom part, long qualification) and the basis is stated. Input criticality and switching cost for customers are qualitative HIGH / MED / LOW judgments, each with a few words of basis: HIGH means no drop-in alternative and a long requalification; LOW means a commodity with several qualified suppliers.
Metrics (LTM, gross margin, inventory days, net debt, currency handling) follow ../metrics-definitions.md.
Run the standard company setup (../data-access.md Section 1.2). If knowledge/{TICKER}/supply-chain.md or industry.md exists, treat its relationships as leads to verify, never as a source of figures. Check reports/ for a /bom output on this ticker and reuse its supplier list as leads under the reuse rule (../data-access.md Section 7).
Apply the sector rule above before pulling data.
Display window: 8 quarters. Pull window: 8 quarters (no YoY growth is shown; LTM figures are for the latest quarter only; inventory days a year earlier need the quarter four back, which is inside the window).
Pull revenue, cost of revenue, gross profit, net income and total inventory, plus the raw-material, work-in-process and finished-goods balances if the company reports them. Compute LTM revenue, LTM cost of revenue (the denominator for supplier shares), gross margin and inventory days.
Work through these in order and stop when the stop rule is met.
../metrics-definitions.md Section 7): Item 1 (Business) and Item 1A of the latest 10-K for manufacturing partners, sourcing and single-source language, and the concentrations note. The latest earnings call transcript often names suppliers when supply is tight.../data-access.md Section 8.3. Use filing wording: "single or limited sources", "outsourcing partners", "manufacturing purchase obligations", "sole-sourced".get_expert_call_transcripts(company_id) once for the target (../data-access.md Sections 1.8 and 8.4) and keep the result for Step 4. Relationships an expert names are leads to verify, not established facts.../data-access.md Sections 2.5 and 8.6: company supplier lists and responsibility reports on the company's own site, and trade press relaying a named primary source. Do not run generic "key suppliers" queries.Typical categories to check, as a prompt for what to look for and not a list of answers: contract manufacturing and assembly; the highest-value components or raw inputs; capital equipment; logistics; licensed intellectual property; and energy or commodities where they are a large share of cost.
For each supplier record what it supplies (specifically), the source of the relationship, and the sourcing status.
If the target sells to consumers through channels, the customers are the channels. If it discloses a concentration figure without naming the customer, record it as an unnamed customer with the figure.
Look up each company with its own discover_companies call and confirm the returned name. Counterparty prices and market caps are not needed: the page sizes relationships against revenue and cost of revenue.
For each covered company, pull the same 8 calendar quarters as the target: revenue, gross profit, net income, total inventory, and the inventory split if reported. Record the reporting currency and unit. Check the first cash-flow or inventory pull for the conventions in ../metrics-definitions.md (Sections 2, 8 and 9).
Share figures, in order of preference:
supplier's disclosed share of its revenue from the target × supplier LTM revenue ÷ target LTM cost of revenue, both in one currency. Show the arithmetic in the detail section and mark it ~ and "est.". State these caveats wherever such an estimate appears:
For customers, the mirror estimate (target sales to the customer ÷ customer cost of revenue) is shown only when the target discloses its sales to that customer.
Inventory. Report each company's own inventory and inventory days, and the split where disclosed. A change is read as that company's own signal (its finished goods building, its raw materials running down). It is never attributed to one counterparty.
Read references/data-assembly.md. Build the JSON, run its checks, and save it to reports/{TICKER}_supply_chain.json. Process pulled data with a script (../data-access.md Section 8.1) so every figure keeps its id.
../design-system.md Bottom Line Block): one sentence on where the dependency and the leverage sit, three supporting figures, and what would change the view.These analyses are structural. What a specific company's latest results imply for the others belongs to /read-across.
Read references/document-structure.md and references/dashboard-css-js.md in full first.
<style> block of ../report-template.html verbatim and append the dashboard CSS.references/document-structure.md, in order, as static HTML generated by a script from the JSON, ending with Next steps (../data-access.md Section 7) and the footer. Reported figures are citation links; estimates carry ~, "est." and their method; missing facts read "not disclosed".references/dashboard-css-js.md and fill NET.nodes and NET.edges.DOM safety. JavaScript never writes HTML strings: no innerHTML, outerHTML or document.write. The supplied script only draws on the canvas and moves existing elements, so nothing needs to be constructed. If you add anything, use createElement, textContent, setAttribute and appendChild.
Run the Final Checks in ../design-system.md before saving. For this dashboard, check 7 reads: the detail charts plot only values in their tables, and the chain map shows only relationships that appear on the cards. Also confirm:
font-size and no font size outside the template's scale.Save both files and tell the user where the HTML report was saved.
Summarize with a critical lens: the largest dependency on each side and whether it is disclosed or estimated; the most one-sided relationship and who holds the leverage; any single-source dependency the filings name; what the counterparties' own inventory trends say; and how much of the map rests on estimates or could not be sourced. If most relationships are named-only, say that the map is a list of relationships with little that can be sized, and that /bom or user-supplied procurement data would be needed to go further.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other 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 companynpx claudepluginhub daloopa/investing2 --plugin daloopa-investing