/finance:investmentfrom finance
Pick one US large/mid-cap stock for 1-5+ year holding using multi-framework analysis (Buffett quality, Lynch GARP, Greenblatt value, Piotroski, AQR QMJ, momentum) with Beneish fraud veto and Kelly-sized position. Use WHENEVER the user asks to find a stock to invest in, what to buy, pick a stock, when to sell, run a stock thesis, do intrinsic-value or reverse DCF, screen S&P 1500, or invokes /investment. Do NOT use for tax optimization, options, day trading, crypto, foreign markets, or short selling.
Ships in finance. 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.
When invoked, this skill picks ONE US large/mid-cap stock (S&P 1500 universe) for a 1-5+ year hold, applying six expert frameworks in parallel and synthesizing them into a single conviction-scored thesis with entry zone, sell rules, and Kelly-sized position. It refuses to pick if no candidate is good enough.
Hard guarantee: The skill will produce no pick when the top-scoring candidate is below the conviction floor (CS100 < 55). "Patient cash" is a valid output. This models Klarman's discipline; in May 2026 with CAPE at 42, this matters.
Hard veto: Any candidate triggering Beneish M-Score > -1.78 OR Sloan accruals > 20% of avg total assets OR a 10-K "going concern" footnote is rejected without further consideration, regardless of other framework scores. Sloan accruals in the 10-20% range trigger the YELLOW protocol (-5 Quality bundle penalty + mandatory pre-mortem) — see references/06-red-flags-fraud.md.
This skill DOES NOT predict the future. It applies systematized expert frameworks to current public data to produce a conviction-scored thesis. Multi-framework signals have historical academic backing (Asness "Value and Momentum Everywhere" Sharpe 1.45 combined, post-publication decay applies). This is not financial advice. The user owns every decision.
Before any pick, the skill must elicit:
If any of these are unanswered when the skill starts work, ASK FIRST. Do not proceed assuming defaults.
Before you fetch a single number, anchor yourself in three frames that separate this skill from generic "stock screener" output:
1. The market is mostly right, mostly. If a stock screens cheap, ask first: what does the consensus know that I don't? The variant perception (Steinhardt question) is the alpha; the framework numbers are how we test whether the variant perception survives scrutiny. A high CS100 score with no articulable variant perception is a coincidence, not a thesis.
2. The strongest signal is what you choose NOT to pick. Klarman: "Cash discipline is the foundation of opportunism." With CAPE at 42 in May 2026, "no qualifying pick — patient cash" is a higher-information output than a marginal pick. The CS100 < 55 refusal is a feature, not a bug. Resist the pressure to produce a recommendation.
3. Position size matters more than ticker choice. Even an outstanding pick can ruin a portfolio if oversized for the user's true temperament and capital scale. Half the work of this skill is sizing correctly. If the user has not articulated portfolio context, capital scale, drawdown tolerance, and horizon — that conversation comes first, before any data fetch.
The full state machine lives in execution-prompt.md. Read it in full before running the pipeline. Do not load it for simple questions like "explain CS100" or "what does the Beneish M-Score do?" — those don't require running the pipeline. Summary of the 7 stages:
scripts/fetch-universe.js + scripts/fetch-macro.js in parallel. Produces ~1,509 S&P 1500 tickers tagged by GICS sector, plus current macro regime signal from FRED.scripts/fetch-quote.js in batches of 20. Reduces to ~50 candidates via: market cap, liquidity (>$5M ADV), recent IPO exclusion (>2y public), sector exclusion (user-specified), distress filter (price/200DMA > 0.60 — keeps turnarounds), cheap quality proxy.scripts/fetch-financials.js + scripts/fetch-sec-facts.js parallel batches of 10. Computes the 6 framework scores per candidate. Cross-section z-scoring with 1/99 winsorization. Bundle construction (Quality / Value / Momentum). Sector adjustments per references/03-sector-playbooks.md. Beneish M-Score VETO applied here — fraud candidates dropped, no exceptions.references/01-conviction-scoring.md with macro regime tilt (±5 max). Hard refuse if top score < 55. Display top 5 to user with one-line summary each so they can OVERRIDE the #1 pick before deep-dive.scripts/fetch-insider.js + scripts/fetch-13f.js parallel. Apply management quality scorecard, catalyst scoring (0-125), reverse DCF (what growth is priced in?), three-scenario IV with fixed 20/60/20 weights (prevents bull-case inflation), structured pre-mortem.references/08-thesis-memo-template.md. Bull/base/bear scenarios, catalyst table, pre-mortem risks, entry zone (3-tranche plan), sell rules, position size with Kelly fraction.~/.cache/investment-skill/picks-log.jsonl for accountability. Schedule quarterly reassessment reminder.Expected runtime: 5-10 minutes cold, 1-3 minutes warm (caches under ~/.cache/investment-skill/ with 7-day TTL for fundamentals, 5-minute TTL for quotes).
Each framework produces a percentile score within the deep-fundamentals universe (top decile = 90+). Bundle z-scores combine correlated frameworks.
| Framework | Bundle | Core Metric | Buy Threshold |
|---|---|---|---|
| Buffett quality | Quality | ROIIC > 15% sustained 5y, owner earnings yield | Top 30% |
| Piotroski F-score | Quality | 9 binary financial-statement signals | ≥7/9 |
| AQR QMJ (or proxy) | Quality | Profitability + growth + safety + payout | Top 30% |
| Greenblatt EBIT/EV | Value | Sector-neutral percentile only (NOT absolute screen) | Top 30% in sector |
| Lynch GARP | Value | Value Ratio = (g% + div yield%) / P/E ≥ 2.0 | ≥ 2.0 |
| 12-1 Momentum | Momentum | Trailing 12-month return skipping last month | Top 30% |
Magic Formula as a primary screen is dead post-2010 (Novy-Marx-Medhat 2025). EBIT/EV survives only as sector-neutral relative percentile. See references/02-frameworks.md for full specifications.
Read references/01-conviction-scoring.md in full before computing CS100 (Stage 3-4). Do not load before reaching Stage 3 — earlier stages don't compute CS100. The formula has 5 stock-type buckets (compounder / cyclical / financial / special-situation / turnaround) each with different framework weights — equal 1/3 across the board fails on financials, cyclicals at peak, and quality-floor cases (proven in CS100 stress test against MSFT, INTC, NVDA, JPM, GEV).
Output is a confidence RANGE not a point: e.g., CS100 = 72 ±5 (high conviction), CS100 = 58 ±15 (uncertain, edge case).
Composite weights summarized below; full routing logic in the reference:
| Stock Type | Quality | Value | Momentum | Notes |
|---|---|---|---|---|
| Wide-moat compounder | 60% | 20% | 20% | Buffett-archetype |
| GARP / Lynch fast grower | 35% | 35% | 30% | Standard balanced |
| Deep value / turnaround | 20% | 60% | 20% | Quality floor still applies |
| Cyclical | 30% | 40% (cycle-normalized) | 30% | EBIT must be normalized to mid-cycle |
| Financial | Custom — see sector playbook | — | — | ROE / P/TBV / CET1 / combined ratio replace standard metrics |
Special-situation conviction multipliers (apply AFTER CS100):
Every pick comes with EXPLICIT sell rules written down at entry (pre-mortem at purchase). Read references/04-sell-rules.md in full when generating the thesis memo's sell-rules section. Do not load when only computing CS100 or doing first-cut screening — the sell rules apply at thesis-memo time, not screen time. Summary of the 9 rules:
Sell rules are written in FUNDAMENTAL terms (ROIC < WACC for 2 years), not price-percentage terms (down 20%) — this is deliberate. Price-based stops induce momentum-trading behavior; fundamental triggers preserve thesis discipline.
Without a catalyst, value can stay cheap forever (Sears 15 years). Every pick must have ≥1 identified catalyst. Read references/05-catalysts.md in full when running Stage 5 catalyst inventory. Do not load during CS100 computation or first-cut screening — catalyst scoring is a Stage 5 step. Catalyst quality scored 0-125 on (probability × magnitude × time), maps to position-size multiplier 0.5x to 2.0x.
Half-Kelly default; quarter-Kelly for uncertain or edge-case cases. Hard caps: 25% single position, 40% sector. Capital-scale adjustments:
$5M: half-Kelly but liquidity-clamped to <5% of stock's 30-day ADV
Read references/07-position-sizing.md in full when computing final position size in the thesis memo. Do not load during screening — position sizing is the last Stage 6 step.
Standard frameworks BREAK for several sectors. Read references/03-sector-playbooks.md in full when ANY candidate in the deep-fundamentals universe (Stage 3) is in any of these sectors. Do not load if the universe contains zero candidates in the sectors listed below — that's wasted tokens.
Read references/06-red-flags-fraud.md in full before Stage 3 scoring — value-trap catalog (7 patterns), growth-trap catalog (6 patterns), and fraud detection layer (Beneish M-Score, Sloan accruals, Dechow F-score). The Beneish M-Score check is a HARD VETO, not a score component — any candidate above -1.78 is dropped from consideration even if every other signal is strong. Use scripts/compute-fraud-check.js TICKER at runtime. An overall_verdict of UNKNOWN means the veto could NOT compute (missing SEC facts) — treat it as UN-VETTED (manual review), never as a clean PASS.
Read references/09-macro-regime-2026.md in full at pipeline start (Stage 1 macro fetch + interpretation) — current (May 2026) regime read. Do not re-load after Stage 1 since the regime tilt is computed once per pipeline run. Critical 2026 context: CAPE at 42 (only second time in history above 40 — the prior was Dec 1999), Mag 7 -4.9% YTD, yield curve re-normalized after 26-month inversion (historically a recession precursor), Energy/Materials leading. The skill must inject this regime read as a ±5 tilt to CS100 and warn the user explicitly that we are in extreme overvaluation territory. The "patient cash" outcome is more likely than usual in this regime.
Before finalizing the pick, run the 20 second-level questions. Read references/10-second-level-questions.md in full when entering Stage 5 deep-dive. Do not load during earlier screening stages. At minimum, the thesis memo must answer: "What does the market believe about this stock that I think is wrong, and why is my view variant?"
The final output uses the canonical template. Read references/08-thesis-memo-template.md in full when entering Stage 6 thesis-memo generation. Do not load earlier in the pipeline. Required sections: one-line summary, conviction score with bundle breakdown, business description (2-minute monologue), variant perception (Steinhardt test), 3-scenario valuation, catalyst table, pre-mortem with "why we invest anyway" per risk, position size with Kelly rationale, entry zone with tranches, exit rules, tracking plan.
Always end with: the thesis memo (or "no pick — patient cash"), the picks-log entry confirmation, the "not financial advice" footer, and the next reassessment date. Full operational details (parallelization, rate limits, caching) live in execution-prompt.md — they are pipeline mechanics, not skill-body content.
data/base-rates.json (opens in a new tab)data/catalyst-types.json (opens in a new tab)data/sector-routing.json (opens in a new tab)data/superinvestor-ciks.json (opens in a new tab)execution-prompt.md (opens in a new tab)package-lock.json (opens in a new tab)package.json (opens in a new tab)references/01-conviction-scoring.md (opens in a new tab)references/02-frameworks.md (opens in a new tab)references/03-sector-playbooks.md (opens in a new tab)references/04-sell-rules.md (opens in a new tab)references/05-catalysts.md (opens in a new tab)references/06-red-flags-fraud.md (opens in a new tab)references/07-position-sizing.md (opens in a new tab)references/08-thesis-memo-template.md (opens in a new tab)references/09-macro-regime-2026.md (opens in a new tab)references/10-second-level-questions.md (opens in a new tab)scripts/compute-fraud-check.js (opens in a new tab)scripts/fetch-13f.js (opens in a new tab)scripts/fetch-financials.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/alpha-huntAggressive weekly stock-hunting engine: a concentrated 5-15 name conviction book from momentum, catalyst and event-driven signals for a long-only eToro agent-portfolio, every thesis attacked by an adversary fleet before sizing. Triggers: /alpha-hunt, what should I buy this week, aggressive or high-conviction ideas, catalyst trade, momentum book, weekly stock review, find me alpha. Not for patient single picks (/investment), eToro balances (/etoro), screener code, or market commentary./etoroGuides agents through creating, retrieving, and trading on behalf of eToro agent-portfolios. Covers the full lifecycle — creating an agent-portfolio, obtaining its user token, building a portfolio strategy, opening/closing positions, and rebalancing. Use when the user wants to create an agent portfolio, manage an existing one, or execute trades through one./Other plugins' skills for the same job
npx claudepluginhub tomaspalsson/flow --plugin finance