Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add staskh/trading_skills --skill whale-huntinggit clone --depth 1 https://github.com/staskh/trading_skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/staskh/trading_skills/whale-hunting)<a href="https://agentmods.dev/skills/staskh/trading_skills/whale-hunting"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/whale-hunting/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/staskh/trading_skills/whale-hunting"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/whale-hunting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.01728 |
| Opus 5.5 | $0.00017 | $0.00691 |
| Sonnet 5.5 | $0.00008 | $0.00346 |
| Haiku 4.5 | $0.00004 | $0.00173 |
Grade A, and why
whale-hunting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Whale Hunting
Scans option chains for a given underlying to identify institutional-sized trades using a two-step approach:
- Crude scan (Yahoo Finance) — finds contracts with anomalous daily investment vs the rest of the chain.
- Precise drill-down (Massive API) — fetches per-second bars for each candidate and flags seconds with outlier dollar invested. Minimum whale order is $50k per transaction; in thin contracts (fewer than 10 traded seconds in the day) any second averaging more than $50k per transaction is a whale.
The scan always covers a two-session window: the latest trading session plus the one before it. During market hours that means today so far plus the full previous day. Past dates are not supported because Yahoo option chains are a live snapshot.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python .claude/skills/whale-hunting/scripts/whale_hunting.py SYMBOL [--months N] [--sigma-z F] [--summary]
Arguments
SYMBOL— Underlying ticker (e.g.AAPL,NVDA,SPY)--months— Max months until option expiration to consider (default: 2)--sigma-z— Modified Z-Score threshold for outlier detection in both the crude scan and the per-second drill-down (default: 3.5)--summary— Also compute per-ticker summary and include it in the JSON output
Output
Returns JSON with:
underlying— The scanned symboltrading_date— Latest trading sessionwindow_dates—[previous session, latest session]; all totals cover bothsource—"massive"(per-second data) or"yahoo"(daily chain data fallback)total_whales— Total whale events foundfailed_fetches— Per-second drill-down requests (one per contract per session) that errored; each is logged to stderrtotal_call_invested— Sum of invested dollars in call whale eventstotal_put_invested— Sum of invested dollars in put whale eventscall_put_ratio— Call invested / put invested (null if no puts)put_call_ratio— Put invested / call invested (null if no calls)whale_call_wall/whale_put_wall—{strike, invested}: the strike with the most whale dollars per side (null if none)open_interest— Positioning from every fetched chain (expiries up to--months), not only whale contracts:call_oi,put_oi,put_call_oi_ratio(null if no call OI)call_wall/put_wall—{strike, open_interest}: the strike with the most open interest per side, summed across expiries (null if none)
directional_call_invested— Call invested where break-even is ≥ 1.5% above spotdirectional_put_invested— Put invested where break-even is ≥ 1.5% below spotdirectional_call_put_ratio— Directional call / directional put invested (null if no directional puts)whales— List of whale events:timestamp,ticker,type,strike,spot(underlying price at trade time),expiryclose,volume,transactions,invested,break_even,pct_from_spot(break-even distance from spot, %)- Missing values (e.g.
spotfor a trade before the first underlying bar) arenull
summary(present only when--summaryis passed) — List of per-ticker aggregates:ticker,type,strike,expiry,whale_count,total_invested,break_even
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago Changed · +10 lines 6b7192fa09b1
- 27d ago Changed · +5 lines 57e24b8030e9
- 3mo ago First seen · 92 lines · 42 tokens per session scan A fcbffb456f3c
whale-hunting is a skill published in the GitHub repository staskh/trading_skills (427 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 1,728 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
whale-hunting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| whale-huntingstaskh/trading_skills | Skill | 427 | today | MIT | A | 42 | Claude Code |
| find-cpa-firmnostrband/ServiceGraph | Skill | 58 | 6mo ago | MIT | A | 238 | Claude Code |
| nse-trading-toolkitBhala-Srinivash/nse-trading-skills | Skill | 74 | 9mo ago | MIT | A | 165 | Claude Code, Codex |
| clawby-dataopenclawby/openclawby-skills | Skill | 9 | 25d ago | MIT | C | 204 | Claude Code, Codex |
| fibonacci-tradingBhala-Srinivash/nse-trading-skills | Skill | 74 | 9mo ago | MIT | A | 101 | Claude Code, Codex |
| multi-timeframe-analysisBhala-Srinivash/nse-trading-skills | Skill | 74 | 9mo ago | MIT | A | 105 | Claude Code, Codex |
| position-sizingBhala-Srinivash/nse-trading-skills | Skill | 74 | 9mo ago | MIT | A | 96 | Claude Code, Codex |