用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/daloopa/investing --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 infra scripts or 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:
Structure the data as a multi-company context JSON for the comp_builder:
{
"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...
...
...
...
...
...
Save to reports/.tmp/{TICKERS}_comp_context.json.
Build the comp sheet workbook (see ../data-access.md Section 5 for infrastructure):
python3 infra/comp_builder.py --context reports/.tmp/{TICKERS}_comp_context.json --output reports/{TICKERS}_comp_sheet.xlsx
The builder creates 8 tabs:
Tell the user where the .xlsx was saved.
Highlight in your summary:
All financial figures in the summary must use Daloopa citation format: $X.XX million