Compares financial metrics and valuation multiples across US stocks using SEC EDGAR data. Outputs peer benchmarking tables with margins, growth, ROE, P/E, EV/EBITDA, and percentile ranks.
Ships in pionex-skills. 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.
Read when SKILL.md points to them; scripts run unread.
Institutional-grade peer benchmarking for US stocks. Compares financial metrics (margins, growth, ROE), valuation multiples (P/E, P/S, EV/EBITDA, EV/Revenue), and provides statistical context (median, percentiles, percentile ranks). Data from SEC EDGAR (financials) and Yahoo Finance (market data).
No dependencies required. All scripts use Python standard library only.
bash run.sh <SYMBOL1> <SYMBOL2> <SYMBOL3> ...
Max 10 symbols. Returns JSON with:
For single-company deep dive, use fundamentals instead:
bash run.sh <SYMBOL> # single company returns full metrics
| Company | Revenue | Gross Margin | Op Margin | Net Margin | ROE | Rev Growth | P/E | EV/EBITDA |
|---|---|---|---|---|---|---|---|---|
| AAPL | $416B | 46.9% | 32.0% | 26.9% | 157% | +6.4% | 33.0x | 25.1x |
| MSFT | $282B | 68.8% | 45.6% | 36.1% | 35% | +14.9% | 27.2x | 21.5x |
Include all available multiples. If EV/EBITDA is shown, note that EBITDA is approximated as operating income (D&A not available from SEC EDGAR).
Yahoo Finance unavailable: If P/E, P/S, EV/EBITDA, and EV/Revenue are null for all companies (Yahoo Finance endpoint failed), omit those columns from the table and add a note: "Valuation multiples unavailable — Yahoo Finance data could not be retrieved. Comparison is based on SEC EDGAR fundamentals only (margins, growth, ROE)." Rank by margins and growth instead.
Use the peer_statistics from script output. Present as summary rows below the table:
| Stat | Gross Margin | Op Margin | Net Margin | ROE | Rev Growth | P/E | EV/EBITDA |
|---|---|---|---|---|---|---|---|
| Max | 68.8% | 45.6% | 36.1% | 157% | +14.9% | 33.0x | 25.1x |
| Median | 57.9% | 38.8% | 31.5% | 96% | +10.7% | 30.1x | 23.3x |
| Min | 46.9% | 32.0% | 26.9% | 35% | +6.4% | 27.2x | 21.5x |
If 5+ companies, include p25 and p75 rows — with fewer than 5 data points, percentiles are not statistically meaningful and can mislead (e.g. p25 of 3 values is just near the min). Only include columns in the statistics table that have data for at least 2 companies — omit any column that is entirely null.
Use the percentile_ranks from script output. For each company, highlight where it stands relative to peers:
AAPL: Margins below median (p27), cheapest valuation (P/E p0), slowest growth (p0)
MSFT: Highest margins (p100), fastest growth (p100), richer valuation (P/E p100)
Focus on outliers — metrics where a company is notably above p75 or below p25 vs peers.
Then synthesize findings:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/financial-analysis-dcfDCF (Discounted Cash Flow) valuation for US stocks using SEC EDGAR financials. Use when asked to: estimate intrinsic value or fair value of a US stock; determine if a stock is overvalued or undervalued; run a discounted cash flow analysis; calculate upside/downside from current price. Triggers: "what is AAPL worth", "DCF MSFT", "is NVDA overvalued", "intrinsic value of GOOGL", "fair value Tesla".
/financial-analysis-earningsQuarterly earnings analysis for US stocks using SEC EDGAR financial data. Use when asked to: analyze a company's latest quarterly results; review Q1/Q2/Q3/Q4 earnings; check if a company beat or missed estimates; understand revenue, margin, or EPS trends; get a beat/miss breakdown; review guidance or management commentary after an earnings release. Triggers: "analyze AAPL earnings", "did MSFT beat estimates", "NVDA Q4 results", "earnings update for GOOGL", "how did Tesla do last quarter".
Other plugins' skills for the same job
/financial-analysis-earnings-previewPre-earnings preview workflow for US stocks. Use when asked to: preview upcoming earnings; set expectations for next quarter; build bull/base/bear scenarios ahead of earnings; prepare for earnings release; understand what Wall Street expects. Triggers: "preview AAPL earnings", "what to expect from NVDA next quarter", "earnings preview MSFT", "build scenarios for GOOGL earnings", "prepare for Tesla earnings release". Note: For POST-earnings analysis (after results are out), use earnings-analysis skill instead.
/pionex-skills:financial-analysis-compsfrom pionex-skills
pionex-skills@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin pionex-skills