/daloopa-investing:setupfrom daloopa-investing
Walks through initial setup and authentication for a Daloopa starter kit, including Python environment setup, Daloopa OAuth/API key configuration, and optional FRED key.
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.
Walk the user through setting up this Daloopa starter kit, one step at a time. Be conversational. Run a check, show the result, then move on.
Two rules for the whole walkthrough:
.env.scripts/create_template.py, which rewrites the Word template) unless the user asks for that step.The Python scripts in infra/ are optional helpers (Excel model, PDF deck, PNG charts, a market-data fallback). Every HTML report skill works without them.
Offer to create a virtual environment and install into it, not into the system Python:
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
requirements.txt lists: requests, beautifulsoup4, html2text, yfinance, openpyxl, python-docx, docxtpl, docxcompose, matplotlib, fredapi, markdown, flask. Tell the user that skills call these scripts as python infra/..., so they should activate the environment (source .venv/bin/activate) in the shell that launches Claude Code, or use .venv/bin/python in its place.
Optional system software, needed only for the features named:
/ib-deck PDF rendering./port-replicate-model or /fix-debug-audit edits it. Without it, edited workbooks open with formulas uncalculated until Excel recalculates them.OAuth is the default and needs no configuration. .mcp.json is already set up for it: the first Daloopa tool call opens a browser window for login. The user needs a Daloopa account.
API key (only if the user prefers it). Explain the steps; the user performs them outside this conversation:
export DALOOPA_API_KEY=... to their shell profile themselves.x-api-key header to the daloopa entry in .mcp.json whose value is the reference ${DALOOPA_API_KEY} (the variable name, not the key). Offer to make this edit, since it contains no secret:"daloopa": {
"type": "http",
"url": "https://mcp.daloopa.com/server/mcp",
"headers": { "x-api-key": "${DALOOPA_API_KEY}" }
}
The recipes/ scripts (direct API access without MCP) and infra/market_data.py read a .env file in the repo root. If the user wants them, tell them to copy .env.example to .env and fill it in with their own editor. .env is gitignored.
A free FRED key gives a live 10-year Treasury yield for WACC. Without it, skills use a 4.5% default and label it as a default assumption. If the user wants it, they add FRED_API_KEY to .env themselves (get one at https://fred.stlouisfed.org/docs/api/api_key.html).
Two MCP servers are configured: daloopa (financial data) and daloopa-docs (Daloopa's documentation).
Call each tool the skills depend on once, for a well-known ticker, and show a one-line result for each. A failure here is what the user needs to know before running a skill.
| Tool | Check |
|---|---|
discover_companies | Returns company_id, industry_id, latest_calendar_quarter |
discover_company_series | Returns series for a keyword such as "revenue" |
get_company_fundamentals | Returns the latest quarter's revenue with an id |
get_stock_prices | A 7-day range returns a latest close (.claude/skills/data-access.md Section 1.7) |
discover_company_documents | Lists filings for the latest quarter |
get_document_content | Returns text for one listed document |
search_documents | One phrase, one quarter, returns passages |
discover_companies(industry_id=...) | Returns the peer list |
discover_comparable_companies_metrics | Returns common metrics for two or three of those peers |
If the tool list shows the tools but calls are refused with a permissions prompt each time, tell the user they can allow the Daloopa tools in their Claude Code permissions settings. Do not edit settings files yourself.
Expert calls are optional. If get_expert_call_transcripts is in the tool list, call it once. If it is absent or returns a message instead of calls, tell the user this is normal for most accounts: every skill except /expert-synthesis skips expert calls and runs normally.
Run python infra/market_data.py quote AAPL and python infra/market_data.py risk-free-rate. These supply only what Daloopa does not (beta, the risk-free rate, multiples for uncovered peers). If they fail, skills still run with labelled defaults. Note for the user whether the risk-free result says "is_default": true.
Ask once whether reports should carry a "Prepared by" line, and for which firm.
/tearsheet AAPL, firm name Acme Capital. Skills show "Prepared by {firm}" only when the request gives a name (.claude/skills/data-access.md Section 4.5). Nothing is stored.Research notes are HTML. A Word version is produced only when a user asks for one, from templates/research_note.docx, which is already in the repo. Do not regenerate it during setup. If the user reports that the file is missing or damaged, python scripts/create_template.py rebuilds it: say that this overwrites the existing template and run it only when they confirm.
Do not read out every command: the full list is in CLAUDE.md and the README. Introduce the families with one or two examples each.
/earnings-prep, /earnings-flash, /earnings-review, /read-across, /call-diff, /guidance-tracker/tearsheet, /bull-bear, /inflection, /unit-economics, /working-capital, /capital-allocation, /forensic, /credit, /expert-synthesis/supply-chain, /bom/dcf, /reverse-dcf, /comps, /sotp, /football-field, /precedent-transactions/screen, /industry, /comp-sheet/lbo, /merger-model, /buyer-universe, /activism, /profileknowledge/): /knowledge-base TOPIC builds a library for a company, industry or theme that other skills read for context; /thesis-tracker TICKER defines a thesis as testable pillars and scores it each quarter/research-note (HTML; Word on request), /build-model (Excel), /initiate (both), /update (refresh after a new quarter), /ib-deck (HTML to PDF)/port-replicate-model, /fix-debug-auditReports are saved to reports/ and the knowledge base to knowledge/. Both are gitignored, so each analyst builds their own.
Suggest two first steps:
/tearsheet AAPL as an end-to-end test./knowledge-base TICKER. It takes longer, but later skills on that name start from the saved series map and context.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub daloopa/investing2 --plugin daloopa-investing42 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/buyer-universePotential acquirer screen with capacity to pay, strategic fit, and likelihood tiers/call-diffQuarter-over-quarter diff of management language, disclosures, and tone, cross-checked against the numbers