From economic-mind
Use when the user wants one company's financials — P&L, income statement, revenue/EBITDA, or margin/trend analysis. Phrases like "show financials for X", "pull X's P&L", "what's X's revenue", "analyze X's margins", "how have X's margins moved". Produces a P&L table (with optional margin analysis) and sources.
How this skill is triggered — by the user, by Claude, or both
Slash command
/economic-mind:company-financialsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Pull a single company's profit-and-loss figures from Economic Mind and present them as a clean, sourced table. When the user asks about margins or trends, add a derived-metrics block and short commentary.
Pull a single company's profit-and-loss figures from Economic Mind and present them as a clean, sourced table. When the user asks about margins or trends, add a derived-metrics block and short commentary.
companyId if the user gave one.USD, EUR, GBP, NOK, SEK, DKK. Default USD.If the user gave a companyId, use it. Otherwise call search_companies with queries: ["<name>"].
score is at least 1.5× the second's (or there is only one hit), use it and announce: Using <companyName> (id <companyId>) — top match.Call get_company_financials:
companyIds: [<companyId>].years and currency: pass only if the user specified them (for a margin/trend request, pass the last 5 years). Otherwise let the tool defaults apply.lineItems — the default returns all 14, which is what we want.If the company comes back in notFoundCompanyIds (or rows is empty), tell the user there is no P&L data for it and stop.
Read the company's rows (one per year, each with year, conversionRate, and a sparse reportedLineItems map).
Render a Markdown table with years as columns, newest on the left:
A first data row: FX rate = conversionRate per year (1.0 when currency is USD; e.g. NOK 10.75 means 1 USD = 10.75 NOK).
One row per line item, in this order, using each year's value from reportedLineItems (use the keys exactly as they appear in the response):
Revenue · COGS · Gross profit · Operating expenses · EBITDA · D&A · EBIT · Capex · Free cash flow · Net income · Labor costs · Net interest · Tax · Pre-tax profit
Sparsity is data, not error: a line item missing for a year stays blank — never write 0. Values are in millions of the chosen currency.
Above the table, state: company name, HQ (from the search result, if any), currency, and the year range.
If the user asked for margins, trends, or "analysis", add a Derived metrics block below the P&L (compute only from values already in the table; leave blank where an input is missing):
Then 3–6 bullets of Commentary: margin direction and magnitude (at least gross and EBITDA), any anomaly worth flagging, and the revenue-growth pattern. Cite the figures you reference (e.g. "EBITDA margin fell from 28% in 2024 to 21% in 2020"). Do not write commentary about metrics that are blank.
Add a short Sources section. Each reportedLineItems entry carries a source string (the underlying data provider, e.g. "Proff (NO)"). List the distinct sources used, and state that figures are as reported in national filing registries via Economic Mind.
Offer: "Want this as a spreadsheet? I can write a CSV." If yes, write <companyName>_PnL_<currency>_<firstYear>-<lastYear>.csv (ASCII, spaces → underscores) with the table, and name the file.
If — and only if — a web-search tool is available in this environment, you may add a one-line ownership note (Public / Private / PE-owned / State-owned / etc., plus the primary owner) with a cited source and access date. If web search is unavailable or nothing reliable turns up within a couple of searches, omit it — do not guess. The core deliverable is the sourced P&L; ownership is a nice-to-have.
get_company_financials — no rounding beyond what the tool returns, no dropping line items.conversionRate when explaining non-USD figures; small rounding differences in non-USD responses are expected.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub economicmind/claude-plugin --plugin economic-mind