/daloopa-investing:knowledge-base TOPIC [refresh]from daloopa-investing
Creates and maintains a persistent markdown knowledge base (memory library) for a company, industry, or theme. Builds cross-linked reference files with durable facts, provenance, and open questions.
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 persistent knowledge base for the topic specified by the user: $ARGUMENTS
Before starting, read ../data-access.md (tools, citations, search and reading rules), ../metrics-definitions.md (definitions, pull windows, year-to-date cash flows, filing sections), ../valuation-conventions.md (share count, enterprise value, multiples), ../earnings-methods.md (guidance pairing, earnings dates), ../kpi-taxonomy.md (operating KPIs) and ../design-system.md (number formats, analytical voice). Those files define every shared rule; this skill states what is specific to a knowledge base.
This skill creates a memory substrate: a folder of small, cross-linked markdown files that capture what is durably true about a topic, so that later sessions (and other skills) start from accumulated understanding instead of from zero. It is not a report. Reports answer one question once; a knowledge base is reference material that is read many times and updated in place.
This is the one skill whose deliverable is markdown. The "never deliver raw markdown" rule in design-system.md applies to analyst-facing reports. Knowledge files are written for an agent to read back, so plain markdown is the correct format. Do not produce HTML here.
financials.md, kpis.md, guidance.md, timeline.md) and always with the period attached.series_id instead; see Section 3c). Filing statements cite the document. Web facts name publication and date. Expert views cite the call. Anything inferred by you is marked (inference).## Assessment heading in the same file, so a later reader can update one without disturbing the other.open-questions.md. Never fill a gap with a plausible guess.[supply chain](supply-chain.md)). State a fact in one file only.Determine which of three topic types the user asked for:
| Type | Example | Folder | Entry point |
|---|---|---|---|
| Company | NVDA, Nvidia | knowledge/{TICKER}/ | Section 3 |
| Industry | semiconductor equipment, US airlines | knowledge/industry-{slug}/ | Section 4 |
| Theme | AI capex, GLP-1, tariffs | knowledge/theme-{slug}/ | Section 5 |
Use an upper-case ticker for companies and a short kebab-case slug otherwise. If the topic is ambiguous (e.g., a name that is both a company and a category), ask the user which they mean before pulling data.
Look for the target folder under knowledge/.
refresh). Read index.md and each file's frontmatter first, then follow Section 7. Never delete and regenerate an existing knowledge base: it may contain the user's own edits.thesis.md exists → it belongs to the /thesis-tracker skill and to the user. Read it for context, link to it from index.md with its status, and never modify it.Run the standard company setup (../data-access.md Section 1.2). Note the fiscal year-end, the reporting currency, the price currency and the ADR ratio if the listing is an ADR (../metrics-definitions.md Section 9), and the sector gate result (../valuation-conventions.md Section 1): all four go in index.md.
Run independent pulls in parallel. Large results are saved to disk: process them with a script and generate every table from the saved data (../data-access.md Section 8.1).
Fundamentals. Pull 15 quarters (12 displayed, with trailing-four-quarter figures at each; ../metrics-definitions.md Section 1). Run the year-to-date cash-flow check first (../metrics-definitions.md Section 2).
../kpi-taxonomy.md. Discover without a period filter, then check coverage in the window.../earnings-methods.md Section 5).Record the exact series name and series_id for every series used. The series map is the most valuable thing this skill saves, because it removes discovery from every later analysis.
Documents: read first, then search (../data-access.md Section 8.3; section-to-question table in ../metrics-definitions.md Section 7).
timeline.md from filing dates (../earnings-methods.md Section 2).open-questions.md.Peers. Reuse the /comps sidecar's peer set if one is fresh; otherwise build it by ../valuation-conventions.md Section 9. Compare ratios, growth and margins only for peers that report in another currency.
Prices. Latest close and a 3-year range. Market cap, EV and multiples are computed per ../valuation-conventions.md; reactions to earnings follow ../earnings-methods.md Section 3. Beta and consensus are left out unless a source provides them.
Expert calls (optional). Per ../data-access.md Sections 1.8 and 8.4: triage every summary, read at most three transcripts in full. If the tool is unavailable, do not create expert-views.md.
Web (limited). Only for what filings do not cover: management backgrounds, market size and share, pending regulatory or legal matters. Follow ../data-access.md Sections 2.5 and 8.6. A fact taken from a search summary without opening the page is marked "from search summary; page not opened" where it appears.
Write these files to knowledge/{TICKER}/. Skip a file only if there is truly nothing to put in it, and say so in index.md. Prefer fewer, denser files: a thin file costs a later reader a tool call for little return.
| File | Contents |
|---|---|
index.md | Entry point. A facts line (ticker, fiscal year-end, reporting currency, price currency and ADR ratio where relevant, sector gate result). One-paragraph description of the company, a "what matters most" list of 5-7 bullets, a table of every file with a one-line summary and its last_verified date, the coverage gaps, and a short glossary of company-specific terms, product names and non-GAAP definitions. Any reader starts here. |
business.md | What the company sells, to whom, through which channels; how revenue is recognized; pricing model; seasonality; what a unit of growth costs. Written so someone new to the name understands how a dollar of revenue becomes a dollar of cash. |
kpis.md | The series map, and the most valuable file. A table of every operating KPI: plain-English definition, Daloopa series name, series_id, unit, coverage within the 12-quarter window (and whether it is quarterly or annual), and why it matters. Flag series that have gone stale, and any KPI the company stopped disclosing or redefined, with the date. Also list the series_ids for the core financial lines so later sessions skip discovery entirely. |
financials.md | Orientation tables, not a data source. Compact 12-quarter tables of the core P&L, margins, cash flow and balance sheet, plus the breakdown investors actually use (product or business lines; add the GAAP reportable segments if they differ, as with a company that reports geographic segments). Each row names its series_id; cells are plain numbers without per-cell links, because later skills must re-pull figures fresh (see ../data-access.md Section 6) and link-heavy tables waste the reader's context. Follow with a short "shape of the numbers" section: growth trajectory, margin structure, capital intensity, cash conversion, leverage. |
guidance.md | What management guides (metrics and cadence), the current outstanding guidance, long-term targets with the date they were set, and a guidance-versus-actual history paired per ../earnings-methods.md Section 5. State the filing convention (Daloopa files guidance under the quarter it was given). Note whether management tends to guide conservatively. |
management.md | CEO, CFO and other key executives: tenure, background, notable decisions. Incentive structure: which metrics drive pay. Stated priorities, and a record of where past statements matched or diverged from outcomes. Board and ownership (insiders, major holders) only where sourced. |
industry.md | Market definition and size (with source and date), growth drivers, value chain position, cyclicality, regulation. Then each significant competitor: where it overlaps, relative scale, and growth and margin comparisons computed from Daloopa data on a calendar-period basis (ratios only for peers reporting in another currency). What the company's advantage actually is, and the evidence for and against it. If a knowledge/industry-{slug}/ folder exists, summarize and link instead of duplicating. |
supply-chain.md | Key suppliers and what they supply, single-source dependencies, purchase obligations, key customers and concentration, manufacturing footprint, inventory position. Link to /supply-chain and /bom reports if they exist in reports/. |
capital-allocation.md | History of buybacks, dividends, M&A and capex with amounts; share count trend; balance sheet policy and stated targets (and when they changed); debt maturities at a summary level. |
valuation.md | What the market has paid: trailing P/E, EV/EBITDA, EV/Sales and FCF yield at each of the last 8 quarter-ends and now, computed from get_stock_prices and fundamentals using the definitions in ../valuation-conventions.md Sections 2-4 (with the split check in Section 5); the range and average; price reaction to each of the last 8 earnings reports; and which metrics the stock has tended to trade on. Orientation only, same convention as financials.md. |
debates.md | The 3-6 questions bulls and bears actually disagree on. For each: the bull view, the bear view, the data that would settle it, and where the evidence currently points. Then the key risks ranked by likelihood and impact (not in filing order), each with the mechanism by which it hurts the numbers and its early-warning indicator. This file states judgment and must say so. |
timeline.md | Reverse-chronological log of dated events: earnings dates and the one-line result, guidance changes, management changes, acquisitions, product launches, regulatory events. One line each. Append-only. Take past earnings dates from discover_company_documents filing dates. |
expert-views.md | Only if expert calls were available. Themes across calls, where experts agree and disagree with management, each view cited to its call and labelled as opinion. State how many calls were returned and how many were read in full. |
open-questions.md | What could not be established, where sources conflict, and what to ask management or verify next. Ends with the source list: every filing, document and web source used, with links and access dates. |
Citations in a knowledge base. Durable statements keep their provenance: filing statements cite the document, web facts name publication and date, expert views cite the call. Figures quoted in prose cite their Daloopa link the first time they appear in a file. The orientation tables in financials.md and valuation.md identify data by series_id per row instead of per-cell links. Synthesis files (index.md, debates.md) may refer to a figure established elsewhere as "(see financials.md)" rather than repeating the link.
For an industry topic, identify 5-12 representative public companies using discover_companies and state the list and why each is included. Pull 8 quarters of revenue, margins and the sector's standard KPIs for each, aligned on calendar_period.
Write to knowledge/industry-{slug}/:
| File | Contents |
|---|---|
index.md | Entry point, as in Section 3c |
structure.md | Market definition, size and growth (sourced), value chain, profit pools: who captures margin and why |
players.md | Each company: position, scale, share where sourced, and a link to knowledge/{TICKER}/ if it exists |
economics.md | Unit economics and cost structure typical of the industry, capital intensity, returns, cyclicality, with a cross-company table from Daloopa data |
kpis.md | The KPIs that matter in this industry, how each company defines them, and a cross-company series map with series_ids |
drivers.md | Demand drivers, supply drivers, pricing dynamics, and the leading indicators for each |
regulation.md | Regulatory and policy framework and pending changes |
debates.md, timeline.md, open-questions.md | As in Section 3c, at the industry level (glossary in index.md, source list in open-questions.md) |
For a theme, write to knowledge/theme-{slug}/:
| File | Contents |
|---|---|
index.md | Entry point, as in Section 3c |
premise.md | What the theme is, the causal chain behind it, and what would have to be true for it to matter to earnings. (Not named thesis.md: that name belongs to /thesis-tracker.) |
exposure-map.md | Companies exposed, grouped by beneficiaries, losers and second-order names. For each: the mechanism, the size of the exposure as a share of revenue or profit using Daloopa segment data, and how directly it is disclosed |
evidence.md | Datapoints that track the theme: the specific series, across companies, that show whether it is playing out, with a table of recent values and citations |
signposts.md | What to watch going forward, and what reading would confirm or refute the theme |
debates.md, timeline.md, open-questions.md | As in Section 3c, at the theme level (glossary in index.md, source list in open-questions.md) |
Every file starts with this frontmatter:
---
topic: NVDA
file: kpis
title: "Nvidia: operating KPIs and series map"
last_verified: 2026-05-21
data_through: 2026Q1
sources: daloopa, filings, web
confidence: high
---
last_verified is the date you last checked the file's contents against sources. data_through is the latest calendar quarter reflected.confidence describes the file as a whole: high when it rests on reported data and filings, medium when material parts rely on Tier-1 press, a single source or unopened pages, low when it is substantially inference. State the reason for anything below high in the first line of the body. Individual weak facts inside an otherwise solid file are flagged inline where they appear ("single source", "(inference)", "from search summary; page not opened"); they do not change the file-level value unless they carry the file's main points.Body conventions:
design-system.md, in the reporting currency. Tables follow the standard layout: columns are periods (fiscal labels), rows are metrics.../data-access.md Section 4: figures quoted in prose link by id, document passages use the citation the tool returns, expert calls use the Section 1.8 format. Orientation tables are the stated exception (Section 3c).## Assessment. Keep it short and falsifiable.## Changelog section: one dated line per refresh describing what changed.When the folder already exists:
index.md and every file's frontmatter. Compare each data_through with the current latest_calendar_quarter to find what is stale.data_through, and new expert calls.financials.md, kpis.md, valuation.md, guidance.md: add the new periods, keeping the 12-quarter display window, and move the guidance just reported against into the guidance-versus-actual history.timeline.md: append new events. Never rewrite earlier entries.business.md, management.md, industry.md, supply-chain.md, capital-allocation.md, debates.md): change only what the new information actually changes. Preserve wording the user may have edited. If new evidence contradicts an existing statement, replace it and record the change in that file's changelog rather than silently overwriting.open-questions.md: remove questions that are now answered, noting the answer in the relevant file, and add new ones.last_verified and data_through in every file you checked, including files where nothing needed to change.index.md summarizing what moved: new quarter added, guidance changed, management change, debates that shifted.index.md.series_id on each orientation-table row, or a pointer to the file that establishes it. No web fact appears without a named source and date.kpis.md contains series_ids, not just metric names.Tell the user the folder path and list the files written, with a one-line summary of each. Then give:
index.mdopen-questions.md, since these are where the knowledge base is weakestNote that other skills will read this folder automatically when it exists (see ../data-access.md Section 6), and that /thesis-tracker {TICKER} adds a scored investment thesis to the same folder.
What SKILL.md sets; muted values are Claude Code's defaults
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