/finance:alpha-hunt [optional: focus, e.g. 'earnings movers' or a ticker to pressure-test — omit for full weekly hunt]from finance
Aggressive 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.
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.
You are running an aggressive, concentrated, weekly-cadence hunt for the best risk-adjusted BUY
candidates, producing a ranked book (5-15 names + target weights + dated catalysts + exit rules)
that the etoro agent-portfolio skill executes. This skill is the offensive counterpart to
/investment. It is built on the same house infrastructure (the 8 investment data scripts) and
borrows the ultracode spine: fan out Sonnet agents, and make an adversary fleet try to kill
every thesis before capital touches it.
**This is not financial advice. The user pre-accepted the risk. Aggression here means concentration
Leverage: 1). The edge and the danger
both live in what you concentrate into, not in borrowed money.The single most important rule in this skill. The academic momentum/quality/catalyst edge is built on monthly-or-slower holding periods. Re-picking the whole book every week pays 3-5x turnover to re-rank noise and bleeds the entire edge to cost. So run two separate clocks:
| Clock | Cadence | What it does |
|---|---|---|
| Signal-refresh | Monthly | Re-rank momentum, recompute composite scores, rebuild the shortlist |
| Weekly loop | Every run | Monitor holds, check exits, intake FRESH dated catalysts, deploy dry powder |
A held winner is NOT sold because it slipped a rank this week. Screening cadence (weekly) and holding cadence (the anomaly's natural 4+ week horizon) are different variables. Collapsing them into one weekly reconstitution is the fastest way an on-paper-good screen dies in live trading.
Run node scripts/preflight.js. It verifies FRED_API_KEY, FINNHUB_API_KEY, and the eToro
AGENT_PRIVATE_KEY/AGENT_PUBLIC_KEY resolve, pings each data source live, AND makes one read-only
eToro call to confirm the agent-portfolio is live. Missing or dead key → abort with the exact fix.
Never run a half-blind hunt — a silent-degraded data layer produces confident garbage.
eToro keys — do NOT judge them by appearance. AGENT_PUBLIC_KEY is eToro's SHARED x-api-key
constant (identical for every user) and AGENT_PRIVATE_KEY is the x-user-key userToken, which
decodes to an opaque blob tagged "UnregisteredApplication" — BOTH are normal and are NOT evidence
the keys are fake. Preflight's etoro:portfolio check (GET /trading/info/real/pnl, read-only) is
the ONLY authority on validity: a PASS means the portfolio is live and executable. Never conclude the
keys are fake from how the strings look, and never burn turns arguing it — if preflight says eToro
PASS, the handoff to the etoro skill is real.
The full state machine lives in execution-prompt.md. Read it in full
before running the pipeline. Do not load it for conceptual questions ("what's frog-in-the-pan?",
"explain the regime throttle") — those don't run the pipeline. The
stages (1b manages the existing book before new adds):
scripts/preflight.js, then scripts/fetch-regime.js (timeout-
guarded dial inputs) + fetch-macro.js for macro context. Compute the gross-exposure dial
(0-100%) from the -3..+3 regime score BEFORE picking anything. In a deteriorating regime the
answer may be "throttle to 40%, no new buys."
1b. Holdings review & sell discipline — the book is NOT starting from cash. BEFORE hunting new
adds, review every existing position (from the preflight eToro read) and decide SELL / TRIM /
HOLD with the exit doctrine: thesis broken, catalyst passed, momentum break, time stop,
overvaluation, drawdown soft-trigger, out-of-mandate (crypto/leverage/short), concentration.
Execute closes via the etoro skill; freed cash flows into Stage 6. The user's mandate: sell
whenever you judge it right — but a winner with an intact thesis and live momentum is held.fetch-universe.js, then
scripts/compute-momentum.js on the whole universe in ONE batched invocation. Produces the
residual-momentum / frog-in-the-pan / 52wk-high composite ranking.scripts/fetch-catalysts.js: Finnhub earnings calendar + news +
estimate revisions, and the SEC market-wide same-day Form-4 feed for fresh opportunistic
insider clusters. Every candidate must carry a dated, specific catalyst or it is dropped.compute-fraud-check.js) — fraud is dropped.adversary agents whose mandate is to KILL the thesis: each self-commits to the bear case
BEFORE seeing the bull case, with distinct lenses (thesis-break / crowding / catalyst-reality /
data-integrity). A hard devil's-advocate role produces real dissent; a soft "consider the other
side" produces none. Only theses that survive get sized.node scripts/compute-sizing.js computes every weight deterministically: cluster-Kelly
at 10-25% of full, vol-targeted, with the momentum-crash throttle, binary-catalyst
2-5% caps, and the hard caps LAST. Real stop
widths come from node scripts/compute-atr.js <shortlist> — Wilder ATR(22) on daily bars, the
Chandelier stop. The LLM supplies candidates + confidence/upside/downside; the scripts' output is
authoritative, never freehand-composed in prose.etoro skill for execution,
and run the compounding-edge loop (references/learning-loop.md): resolve closed picks into the
rich picks-log.jsonl schema, grade process vs outcome (alpha-vs-SPY), and — monthly — recompute
the signal×regime performance table that modulates next month's sizing. The agent gets smarter
every month from its own track record; risk/personality params stay hard-locked. Memory is
persisted with bash scripts/state.sh save (and restored with load before Stage 1) to the
alpha-hunt-state git branch — REQUIRED because the routine's fresh container wipes the cache
weekly; without it the learning loop resets every run. Filings/statements prefer the connected
FinancialFilings MCP (SEC EDGAR is the fallback) — see data-runbook.Read references/signals.md in full at Stage 2-4 for the full specs +
thresholds. Do not load for preflight/regime/sizing stages. Summary:
| Sleeve | Signal | Why it survives 2026 | Key rule |
|---|---|---|---|
| Momentum | Residual momentum, std. by residual σ (composite weight 0.50) | Harder to crowd than raw 12-1 (reported to be roughly Sharpe ~0.48 vs ~0.25 — unverified) | Info-ratio form (Σε/σ_ε); carry more patiently than raw momentum |
| Momentum | 52-week-high proximity (weight 0.25) | Behavioral anchor, decays slowly | Distinct from return momentum |
| Momentum | Information discreteness, sign-count (weight 0.15) | Path matters: grinders beat gap-and-flat (reported +5.94% vs -2.07% — unverified) | LOWER is better; penalize high-discreteness names |
| Momentum | Up-ratio (weight 0.10) | Feeds the sign-count discreteness form | Fraction of up-weeks in the formation window |
| Momentum | Raw 12-1 momentum (reported, 0 weight) | Double-counts residual momentum if scored | Diagnostic only — never re-add to the composite |
| Momentum | Value+momentum tilt | Negative correlation is the point | Weighted z-score, never AND-filter |
| Catalyst | Earnings-announcement premium | 72% of premium is realized PRE-print | Pre vs post entry is a deliberate choice |
| Catalyst | Insider opportunistic cluster | ~82bp/mo; routine = zero | Spec: 3+ buyers/7-14d, exclude 10b5-1. CODE ships 90d, NO 10b5-1 filter → weak lead only |
| Catalyst | Estimate-revision breadth | Net analyst-upgrade shift (magnitude, not just direction) | "Beat and raise" > either alone |
| Catalyst | 13F new high-conviction | Clone BORING low-turnover funds | ≥7.5% positions; NOT Tiger Cubs |
| Catalyst | 8-K Item-code triage (fetch-catalysts.js) | Material (2.02/1.01/2.06/3.01…) vs noise, market-wide | 4.02 restatement is always negative_signal:true — never a buy |
| Confirmer | Options-implied skew/vol-spread/O-S ratio (compute-options-signals.js) | Informed flow shows in options before the print | Catalyst-sleeve confirmer/demerit ONLY — never a sizing input, never a standalone trigger |
| Veto | Social-sentiment mention z-score (fetch-sentiment.js, ApeWisdom) | A spike in retail attention is LATE, not a lead | VETO/TRIM only — never sources or sizes a buy |
Every pick needs a dated, specific catalyst (min 3:1 upside/downside) or it is disqualified. Short interest is BEARISH on average — use it to AVOID longs, never to hunt squeezes. AVOID pure FDA/PDUFA binaries; if engaging, trade the run-up and exit, or enter only post a clean AdCom vote.
Read references/risk-and-sizing.md in full at Stage 1b
(holdings review), Stage 4 (scoring), and Stage 6 (sizing). Do not load during regime or
catalyst-intake stages. Non-negotiables:
scripts/compute-sizing.js takes
the LLM's candidates + confidence/upside/downside and computes every weight (Kelly → cluster budget
→ vol-target → regime dial → hard caps); its output is authoritative.HARD-LOCKED CEILINGS — inlined here on purpose. These are the numbers that bound worst-case loss,
so they must survive even if the reference file above never gets loaded under context pressure. They
are enforced in compute-sizing.js and are NOT tunable by the learning loop:
| Locked parameter | Value |
|---|---|
| Kelly fraction of full | ≤ 0.25 (script errors above it) |
| Book vol target | 0.18-0.25 band (script errors outside it) |
| Binary-catalyst position | 2-5% hard cap |
| Single position | ≤ 25% of equity |
| Top-5 positions combined | ≤ 60% of equity |
| Capacity cap | ≤ 1% of the name's ADV |
| Fraud veto | Beneish M > −1.78 OR Sloan accruals > 20% OR going-concern → DROP |
| Mandate | long-only, Leverage: 1, no CFDs, no leveraged ETFs for multi-day holds |
Read references/regime-throttle.md in full at Stage 1. Do not
re-load later — the dial is set once per run. It converts a few robust inputs (distribution-day count, breadth
divergence, VIX term-structure SHAPE not level, HY-IG credit spreads) into a -3..+3 score → a
gross-exposure % that scales every position. This is the mechanical throttle that fires before a
human "feels" the regime shift — 2025-26 unwinds resolved in days via forced deleveraging.
Read references/llm-guardrails.md in full before Stage 5
(adversary fleet) and any numeric work. Covers: no-number-without-source,
the deterministic fact-ledger, the hard devil's-advocate protocol (99.2% vs 48.3% dissent),
look-ahead contamination, the calibration log, and treating ingested news/filings as an untrusted
prompt-injection surface.
Read references/data-runbook.md in full before writing or
invoking any data call — the reuse inventory of the 8 investment scripts, the new endpoints
(market-wide Form-4 feed, free CBOE options, keyless FRED, Finnhub, Nasdaq calendar), exact
invocations, batching rules, and the dead-source traps (stooq, Finviz, FMP demo key). Do not load
for conceptual questions.
fetch-sentiment.js is VETO/TRIM only for this reason; see risk-and-sizing.md §11.references/learning-loop.md §7.Always end with: the ranked book (or "throttle to cash — regime hostile"), the per-name memos with
pre-registered exits, the picks-log confirmation, the "not financial advice / risk pre-accepted"
footer, and the hand-off note to the etoro skill (target weights as % of equity). Then schedule
the next weekly run.
| File | Load when | Do NOT load |
|---|---|---|
execution-prompt.md | Running the pipeline | Conceptual questions |
references/signals.md | Stage 2-4 (screening/scoring) | Preflight/regime/sizing |
references/risk-and-sizing.md | Stage 4 + Stage 6 | Regime/catalyst stages |
references/regime-throttle.md | Stage 1 (set the dial) | After Stage 1 |
references/llm-guardrails.md | Stage 5 + numeric work | Pure data plumbing |
references/data-runbook.md | Any data call | Conceptual questions |
references/learning-loop.md | Stage 8 + setting sizing/weights | One-off runs w/ empty log |
apewisdom.json (opens in a new tab)data/clone-funds.json (opens in a new tab)execution-prompt.md (opens in a new tab)finra1.txt (opens in a new tab)form4.xml (opens in a new tab)form4feed.xml (opens in a new tab)idx.htm (opens in a new tab)references/data-runbook.md (opens in a new tab)references/learning-loop.md (opens in a new tab)references/llm-guardrails.md (opens in a new tab)references/regime-throttle.md (opens in a new tab)references/risk-and-sizing.md (opens in a new tab)references/signals.md (opens in a new tab)regsho1.txt (opens in a new tab)scripts/compute-atr.js (opens in a new tab)scripts/compute-momentum.js (opens in a new tab)scripts/compute-options-signals.js (opens in a new tab)scripts/compute-sizing.js (opens in a new tab)scripts/fetch-catalysts.js (opens in a new tab)scripts/fetch-regime.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tomaspalsson/flow --plugin finance4 skills in this plugin
/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./investmentPick 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./