用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/daloopa/daloopa-plugin-claude --skill comp-sheet命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | comp-sheet |
| description | Build an industry comp sheet Excel model with deep operational KPIs |
| argument-hint | TICKER |
Build a multi-company industry comp sheet Excel model for the company specified by the user: $ARGUMENTS
This produces an interactive .xlsx workbook — the kind of comp sheet every analyst on a coverage team maintains. Multi-company, multi-tab, with deep operational KPIs alongside standard financials.
Before starting, read data-access.md for data access methods and design-system.md for formatting conventions. Follow the data access detection logic and design system throughout this skill.
Follow these steps:
Look up the target company by ticker using discover_companies. Capture company_id, latest_calendar_quarter (anchor for all period calculations — see data-access.md Section 1.5), and latest_fiscal_quarter. Note the firm name for report attribution (default: "Daloopa") — see data-access.md Section 4.5.
Then identify 6-10 comparable companies using the same logic as /comps:
Look up all peer company_ids via Daloopa. If a peer isn't available in Daloopa, include it with market data only and note the limitation.
List the full peer group with brief justification for each.
For each company (target + all peers), pull from Daloopa:
Calculate 8 quarters backward from latest_calendar_quarter. Pull financials:
Segment revenue breakdown (all available segments, 8 quarters)
Company-specific operational KPIs — use the 9-sector taxonomy to know what to search for:
Stock prices & valuation multiples:
Use get_stock_prices (see data-access.md Section 1.7) to pull prices for ALL companies in a single batch call. Get:
dates = 3 most recent calendar days for all company_idsdates = quarter-end dates matching the financial periods (for historical multiples)Then compute valuation metrics by combining stock prices with Daloopa fundamentals:
For beta, use MCP market data tools if available, otherwise web search (see data-access.md Section 2). For forward multiples, use consensus estimates if available (Section 3).
After pulling data, build the KPI mapping:
For each company, calculate:
Margins:
Growth rates:
Capital metrics:
Historical multiples (from quarter-end prices pulled in Section 2):
Implied valuation:
Organize the gathered data as a multi-company dataset in memory, ready to feed the workbook builder in the next step:
{
"target_ticker": "AAPL",
"as_of_date": "YYYY-MM-DD",
"companies": [
{
"ticker": "AAPL",
"name": "Apple Inc.",
"is_target": true,
"market_data": {
"price": ..., "market_cap": ..., "enterprise_value": ...,
"shares_outstanding": ..., "beta": ...,
"trailing_pe": ..., "forward_pe": ...,
"ev_ebitda": ..., "price_to_sales": ...,
"ev_fcf" ... ...
...
... ...
... ...
... ... ...
... ... ...
... ... ...
...
...more companies...
...
...
...
...
...
Every datapoint that originates from Daloopa must carry its fundamental_id alongside the value so the hyperlink can be attached when the workbook is built.
Generate a React artifact that uses the SheetJS (xlsx) library to build and download the .xlsx workbook client-side. The artifact should construct the workbook from the structured data above and trigger a download when the user clicks a button (or immediately on load).
!!! MANDATORY EXCEL DATAPOINT HYPERLINK FORMAT !!!
123.4 to cell B5 and set its link (cell.l = { Target: "https://daloopa.com/src/71667434" } in SheetJS) so it points to the sourceThe workbook must have 8 tabs (sheets), built in this order:
Use SheetJS formulas (e.g. cell.f) where the original design calls for computed values (margins, growth rates, implied valuation) so the workbook stays live and auditable, rather than hardcoding pre-computed numbers.
Confirm to the user that the .xlsx workbook has downloaded from the artifact.
Highlight in your summary:
All financial figures in the summary must use Daloopa citation format: $X.XX million