Detect institutional whale activity in options for a given underlying. Use when the user asks about unusual options activity, large block trades, whale trades, or institutional options flow for a specific symbol.
npx skills add https://github.com/staskh/trading_skills --skill whale-hunting
Scans option chains for a given underlying to identify institutional-sized trades using a two-step approach:
> Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.
uv run python .claude/skills/whale-hunting/scripts/whale_hunting.py SYMBOL [--months N] [--date YYYY-MM-DD] [--sigma F] [--sigma-z F] [--summary]
SYMBOL — Underlying ticker (e.g. AAPL, NVDA, SPY)--months — Max months until option expiration to consider (default: 2)--date — Trading date to analyze in YYYY-MM-DD format (default: latest trading day)--sigma — Std-deviation multiplier for crude outlier threshold (default: 3.0)--sigma-z — Modified Z-Score threshold for per-second small-sample detection (default: 3.5)--summary — Also compute per-ticker summary and include it in the JSON outputReturns JSON with:
underlying — The scanned symboltrading_date — Date analyzedsource — "massive" (per-second data) or "yahoo only" (daily chain data)total_whales — Total whale events foundtotal_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)whales — List of whale events:timestamp, ticker, type, strike, expiryclose, volume, transactions, invested, break_evensummary *(present only when --summary is passed)* — List of per-ticker aggregates:ticker, type, strike, expiry, whale_count, total_invested, break_even# Hunt whales for AAPL (latest trading day)
uv run python .claude/skills/whale-hunting/scripts/whale_hunting.py AAPL
# Hunt whales for NVDA on a specific date
uv run python .claude/skills/whale-hunting/scripts/whale_hunting.py NVDA --date 2026-03-13
# With per-ticker summary
uv run python .claude/skills/whale-hunting/scripts/whale_hunting.py HOOD --months 3 --summary
# Looser detection threshold
uv run python .claude/skills/whale-hunting/scripts/whale_hunting.py SPY --sigma 2.0
After running the script, present the results as follows.
Header line:
> Whale activity for {underlying} on {trading_date} — source: {source}
> Call flow: ${total_call_invested:,.0f} | Put flow: ${total_put_invested:,.0f} | C/P ratio: {call_put_ratio:.2f}
When --summary was requested, render the summary array as a table:
| Time (ET) | Ticker | Type | Strike | Expiry | # Events | Total Invested | Break Even |
|-----------|--------|------|--------|--------|----------|----------------|------------|
| {timestamp} | {ticker} | {type} | {strike} | {expiry} | {whale_count} | ${total_invested:,.0f} | {break_even} |
Sort by total_invested descending. For multi-event rows use the time range of first–last event (e.g. 11:46–12:33).
Interpretation guidance:
source: "massive" — High-confidence; per-second block trade data from Massive APIsource: "yahoo only" — Fallback; daily-level data (Massive API key missing or no intraday data)transactions: 1 — Single block trade; strongest whale signalMASSIVE_API_KEY environment variable for per-second data. Without it, falls back to Yahoo Finance daily data.All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take staskh/whale-hunting from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.