$npx -y skills add mphinance/alpha-skills --skill stock-deep-diveThe deepest single-stock pull we have — everything on ONE ticker in one shot, so when someone asks "do you like PLTR down here?" you can just check instead of looking it all up by hand. Pulls TickerTrace 13F ownership + recent fund changes, full technicals (RSI/ADX/EMA stack/stoc
| 1 | # Stock Deep Dive — everything on one ticker |
| 2 | |
| 3 | This is the **single-stock** counterpart to `stock-recap` (which scans the whole |
| 4 | market). Here the user hands you **one ticker** and wants the complete read fast. |
| 5 | It exists so Michael can ask *you* "do you like PLTR down here?" instead of pulling |
| 6 | up six tabs of technicals, options, ownership, and news himself. |
| 7 | |
| 8 | It pulls four legs for the ticker and you add a fifth (news): |
| 9 | |
| 10 | 1. **Technicals** — TD Pro `/api/agent/ticker/:SYM`: RSI, ADX, stoch, MACD, ATR, |
| 11 | the full EMA/SMA ladder (8/21/55/89/50/200), trend status, EMA stack, buy-zone, |
| 12 | squeeze ratio, Williams %R, CCI, Bollinger %B, pivots (S2→R2), fib retrace |
| 13 | (.382/.500/.618), Keltner channel, 90-day range, and bounce state. |
| 14 | 2. **Options positioning** — same endpoint: max pain, call wall (resistance), put |
| 15 | wall (support), expected move to next expiry, IV skew + dealer sentiment, |
| 16 | put/call OI ratio, and the biggest open-interest strikes (call vs put OI). |
| 17 | 3. **Options flow** — TD Pro `/api/agent/unusual-activity?ticker=SYM` over the last |
| 18 | week: net bullish vs bearish premium, call vs put premium, the largest trades, |
| 19 | institutional-alpha tier, and repeat-strike conviction. |
| 20 | 4. **Institutional ownership** — TickerTrace `/ticker/:SYM`: which funds/ETFs hold |
| 21 | it and at what weight, plus **recent 13F changes** (adds/trims, including option |
| 22 | overlays). Read the provider + type — a YieldMax/Roundhill option overlay is |
| 23 | income mechanics, not a directional conviction bet. |
| 24 | 5. **News / catalysts** — *not in the script* (no TD Pro news endpoint). After the |
| 25 | pull, **you WebSearch** for recent headlines, earnings dates, guidance, analyst |
| 26 | moves — whatever explains where price is — and fold it into the verdict. |
| 27 | |
| 28 | It also **renders a 90-day candlestick chart** (reusing the `stock-recap` skill's |
| 29 | Python venv + `render_chart.py` — no second install). |
| 30 | |
| 31 | ## How to run it |
| 32 | |
| 33 | 1. Run the dossier script with the ticker(s). Works from any directory — the |
| 34 | absolute path resolves the symlink back into the mphinance repo, so the API key |
| 35 | and the sibling `stock-recap` chart venv are found automatically: |
| 36 | |
| 37 | ```bash |
| 38 | node "$HOME/.claude/skills/stock-deep-dive/scripts/dossier.mjs" PLTR |
| 39 | ``` |
| 40 | |
| 41 | - One ticker is the norm; pass several (`… dossier.mjs PLTR NVDA SOFI`) for one |
| 42 | dossier each. |
| 43 | - Takes ~5–15s per ticker. Auto-reads `AGENT_API_KEY` from `.env_agent_api`, |
| 44 | hits production (TD Pro + TickerTrace), presents a browser UA. |
| 45 | - Writes `runs/<TICKERS>_<date_time>/<SYM>_dossier.md`, `charts/<SYM>.png`, and |
| 46 | `raw/<SYM>_*.json`. Prints the dossier to stdout and a final JSON line with |
| 47 | `{outDir, results}`. |
| 48 | |
| 49 | 2. **Read the generated `<SYM>_dossier.md`** for the full tables. |
| 50 | |
| 51 | 3. **Open the chart PNG** with the Read tool and actually look at it — 90-day |
| 52 | candles + EMA 8/21/55 + SMA200 + volume + RSI. Judge trend, structure, where |
| 53 | price sits vs the fast EMAs (pullback-to-support vs extended vs broken). The |
| 54 | visual read often **overrides the indicator table** — e.g. a name can look |
| 55 | oversold on RSI but the chart shows a clean breakdown you shouldn't catch. |
| 56 | |
| 57 | 4. **WebSearch for recent news/catalysts** on the ticker — last few weeks: earnings |
| 58 | (and the next earnings date), guidance, analyst rating/PT changes, sector news, |
| 59 | anything that explains the current price. *News follows price* — find what moved |
| 60 | it. (In any public/Substack write-up, the AI is "Sam," never "Claude.") |
| 61 | |
| 62 | 5. **Deliver the verdict to Michael — plain English, blunt, with a recommendation.** |
| 63 | Don't dump the file. Answer the question he actually asked ("do you like it |
| 64 | here?"). Structure: |
| 65 | - **One-line take** — bull/bear/neutral and why, in a sentence. |
| 66 | - **The setup** — where price is in its range, the trend, the chart read, the |
| 67 | levels that matter (put wall / EMA21 / SMA200 as support; call wall / pivots / |
| 68 | fib as resistance). Give a *where-would-you-buy* and *where's-it-wrong* level. |
| 69 | - **What the options say** — flow lean (net premium direction), dealer |
| 70 | positioning (max pain, walls, IV skew), expected move. Is smart money leaning? |
| 71 | - **Ownership** — are funds adding or trimming? Flag if the "ownership" is mostly |
| 72 | o |