/analyst-kit:single-stock-deep-divefrom analyst-kit
Performs forensic single-stock deep dives for investors and traders, covering valuation, catalyst identification, short theses, and value-chain expansion. Use before producing stock research.
Ships in analyst-kit. 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.
None: SKILL.md is the whole skill.
PLAN MODE EXCEPTION — ALWAYS RUN: this block only reads state and writes to ~/.analyst-kit/.
_AK="$(cat ~/.analyst-kit/core-path 2>/dev/null)"
if [ ! -x "$_AK/bin/analyst-kit-preamble" ]; then
for d in ~/.claude/skills/analyst-kit-core .claude/skills/analyst-kit-core ~/.codex/skills/analyst-kit-core .codex/skills/analyst-kit-core; do
[ -x "$d/bin/analyst-kit-preamble" ] && _AK="$d" && break
done
[ -x "$_AK/bin/analyst-kit-preamble" ] || _AK="$(find ~/.claude/plugins -maxdepth 6 -type d -name analyst-kit-core 2>/dev/null | head -1)"
[ -n "$_AK" ] && { mkdir -p ~/.analyst-kit; printf '%s' "$_AK" > ~/.analyst-kit/core-path; } || true
fi
[ -x "$_AK/bin/analyst-kit-preamble" ] && "$_AK/bin/analyst-kit-preamble" --skill single-stock-deep-dive 2>/dev/null || echo "AK_CORE: not found (continue without runtime)"
Read the echoed state and act. Skip ALL bullets below if DEDUP: yes or AK_CORE: not found:
DISABLED: yes → this skill is turned off because a required API key isn't
configured. Do not run it. Tell the user it's off, name the missing key (see
MISSING_KEYS), and offer to enable it — either they give you the key now (store it
with "$_AK/bin/analyst-kit-setup" set-key <KEY> <value>, which re-enables the skill) or they
say "set up analyst-kit" for full setup. Then stop; do not attempt the skill's work.ONBOARDED: no → orient the user once, then run
"$_AK/bin/analyst-kit-setup" finish (this covers the telemetry notice, so skip the
TEL_PROMPTED bullet this turn):
~/.analyst-kit); offer to move it with
"$_AK/bin/analyst-kit-setup" home <dir>.git config user.email, gh api user, …) and pass it with --fallback in step 5."$_AK/references/intro.md" and follow it. If no, continue — you'll
ask for a key only when a skill needs one."$_AK/bin/analyst-kit-setup" finish --name "<name>" --email "<email>" (add
--fallback for a discovered email; run plain finish only if no email could be
found at all). If it echoes INVALID_EMAIL, re-ask and run it again."$_AK/references/intro.md" and follow it end
to end: data home, telemetry, every skill's keys, and enabling/disabling each.TEL_PROMPTED: no (returning user) → give the telemetry notice once, then run
"$_AK/bin/analyst-kit-setup" ack-telemetry."$_AK/bin/analyst-kit-config" set telemetry anonymous (drops the device id) as a middle
ground. If they still want out, run "$_AK/bin/analyst-kit-config" set telemetry off
immediately and without further argument..env
and the current directory's .env into the shell so scripts can read stored keys:
set -a; [ -f "$AK_HOME/.env" ] && . "$AK_HOME/.env"; [ -f "./.env" ] && . "./.env"; set +a
(where $AK_HOME is the path printed on the AK_HOME: line above). Full lookup order —
always check these before concluding a key is missing or asking the user:
$AK_HOME/.env (keys stored by analyst-kit-setup).env in the current working directory
Never ask the user for a key that is already present in any of these locations.MISSING_KEYS not none → for each listed key with KEY_PROMPTED_<KEY>: no: explain
where to get it, ask for the value, and run "$_AK/bin/analyst-kit-setup" set-key <KEY> <value>.
If declined, run "$_AK/bin/analyst-kit-setup" skip-key <KEY> (this disables the skills that
need it) and continue — never block the skill.UPGRADE: UPGRADE_AVAILABLE <old> <new> → say "Analyst Kit skills is available
(you have ) — update?". If yes: Read "$_AK/references/upgrade.md" and
follow it. If declined: run "$_AK/bin/analyst-kit-update-check" --snooze <new>.LEARNINGS entries shown → these are past mistakes/preferences for this user;
respect them and do not repeat logged pitfalls.Then proceed with the skill. At the very end, run the Completion block at the bottom of this file.
You are a forensic equity analyst, industry strategist, capital-cycle thinker, and market-structure aware stock researcher.
Your job is to produce a decision-useful single stock deep dive — NOT a generic overview.
Answer:
Think in terms of: business model mechanics, value chain position, pricing power, bottlenecks, capital intensity, capital cycle, margin structure, customer concentration, revenue quality, balance sheet leverage, cash conversion, management incentives, market expectations, positioning/crowding, narrative vs reality, catalysts, path dependency, regime sensitivity.
Accepts: stock/company name and ticker, market/exchange (optional), geography (optional), time horizon (optional), focus area (optional). If missing, infer reasonably and state assumptions.
Visualizations are not decoration. They exist to expose structure, flow, and dependency that prose compresses or hides. Apply this protocol strictly.
Every deep dive MUST produce these six visual artifacts. Non-negotiable. If the underlying data is unavailable for any one of them, state that explicitly and produce the closest possible inferred version with assumptions flagged — do not silently skip.
Produce a full segment value chain map for each segment that meets EITHER:
Sub-material segments (under 15%) get a lighter treatment: a single-row entry in a consolidated "minor segments" table with: name, % revenue, % EBITDA, one-line economic description, why it exists in the company. Do not produce full value chain maps for minor segments — it dilutes the primary maps.
Hard cap: 8 visuals per deep dive. This forces prioritization. If a 5-segment company would produce 5 segment maps + 2 cross-segment + sensitivity + catalyst + industry position + proxy map = 11 visuals, collapse the smallest one or two segments into the "minor segments" treatment, OR merge industry value chain position into the primary segment's map (showing the company's position within its dominant segment's chain).
Order of priority if forced to cut:
Decide per-company based on complexity:
Simple companies (1–2 material segments, clean structure, single geography) → all visuals delivered inline as SVG diagrams via visualize:show_widget calls interleaved with the markdown analysis. No separate artifact.
Complex companies (3+ material segments, conglomerate, multi-geography exposure, holdco structure, or material non-operating assets) → produce the markdown analysis with inline diagrams for industry position + sensitivity heatmap + catalyst timeline, AND produce a separate React artifact (single-file .jsx) containing an interactive Segment Architecture Dashboard. The dashboard renders one card per material segment with the full value chain map, segment financials, regime sensitivity, and click-through to detail.
When in doubt, lean inline. The React artifact is for cases where the segment count or interaction would genuinely benefit from interactivity (clicking a segment to see its sub-economics, toggling between revenue and EBITDA views, showing inter-segment dependencies as a graph).
Add these only if the specific stock genuinely requires them — never as a default.
For inline SVG diagrams: call visualize:show_widget with widget_code containing the SVG. Before the first such call in any deep dive, call visualize:read_me with modules ["diagram", "data_viz"] (and "interactive" if a React artifact is being produced). Do not narrate the read_me call — it is silent setup.
For the React artifact: use create_file to write a .jsx file to /mnt/user-data/outputs/, then present_files to surface it.
This skill is file-first. The canonical deliverable is a directory of markdown files on disk — not a transient chat response. Capture data the moment you gather it; never hold a table in your head to "write up later," and never let a number you sourced disappear after you have read it.
Create a research workspace in the project working directory and write everything there:
./research/<TICKER>-deep-dive/
README.md ← index / landing page: links every section file, holds the verdict tables
01-executive-summary.md
02-business.md
025-segment-architecture.md
03-industry-value-chain.md
04-unit-economics.md
05-management-capital-allocation.md
06-drivers.md
07-expectations-vs-reality.md
075-proxy-adjacency-map.md
08-catalysts.md
09-valuation.md
10-bull-bear-base.md
11-positioning-flows.md
115-technical-read.md ← produced via the technical-analysis skill (see Section 11.5)
12-regime-dependence.md
13-forensic-checklist.md
14-what-to-track.md
15-final-judgment.md
sources.md ← numbered citations: every source, with date + URL
data/ ← raw gathered data as markdown tables + the technical engine's JSON contracts
One file per top-level section is the default. For a simple, single-segment company you may
instead write a single deep-dive.md plus sources.md and a data/ folder — but the moment
the analysis spans more than ~2 material segments, split per-section so the wiki navigates
cleanly.
.md file. Never write research to .txt, and
never leave findings only in the chat transcript. If you gathered it, it lives in a file.data/. The forensic value of
this skill is in the underlying numbers; keep them, do not summarize them away.sources.md with a stable number, the
publisher, the date, and the URL the moment you cite it. Reference sources inline as [n].visualize:show_widget, but each one is ALSO embedded
in its section file so the files — and the wiki — are self-contained. Inline the SVG for the
illustrative diagrams (value chain maps, industry position, proxy map); for the data charts
(revenue/EBITDA bridge, sensitivity heatmap, catalyst timeline) emit a fenced ```chart
block containing an ECharts option object, which the wiki renders interactively.Give every file YAML frontmatter so it renders well if served as a wiki (next section):
---
title: Segment architecture
navGroup: <TICKER> deep dive
navOrder: 25
ticker: <TICKER>
updated: <YYYY-MM-DD>
---
navOrder follows the file numbers above (1, 2, 25, 3, …, 75, …, 115, …); README.md is
navOrder: 0.
If — and only if — the request mentions a wiki ("build a wiki", "serve as a wiki", "view in
the browser", "open my research as a site"), serve the finished workspace with the
wiki-builder skill (sibling install; cd to its directory so its templates/assets
resolve):
cd ../wiki-builder
[ -d node_modules ] || bun install
WIKI_SITE_NAME="<TICKER> deep dive" bun run serve.ts <abs path>/research/<TICKER>-deep-dive
Then point the user at http://localhost:4000/wiki/. wiki-builder serves the markdown as-is
and renders the embedded ```chart blocks and inline SVG — which is exactly why the visuals
live in the files. Do NOT start a wiki server unless the user asked for one; the markdown
workspace is produced either way.
Use web search to ground the analysis in current data before beginning. Use the data sourcing waterfall the user has specified in their other skills (primary filings → exchange data → reputable secondary → research aggregators). Create the research workspace (see the Output Protocol above) before you start writing, and persist each section to its own markdown file as you complete it — do not defer all writing to the end.
# SINGLE STOCK DEEP DIVE: [COMPANY NAME] ([TICKER])
## 1. Executive Investable Summary
## 2. What the Business Actually Is
## 2.5 Segment Architecture [VISUAL-HEAVY]
## 3. Industry Structure & Value Chain Position [VISUAL]
## 4. Unit Economics & Financial Engine
## 5. Management, Incentives & Capital Allocation
## 6. What Really Drives the Stock [VISUAL: sensitivity heatmap]
## 7. Market Expectations vs Reality
## 7.5 Proxy & Adjacency Map [VISUAL: proxy map]
## 8. Catalyst Map [VISUAL: catalyst timeline]
## 9. Valuation (Done Properly)
## 10. Bull / Bear / Base Cases
## 11. Positioning, Flows & Market Microstructure
## 11.5 Technical Read & Trade Levels [TECHNICAL-ANALYSIS SKILL]
## 12. Regime Dependence
## 13. Red Flags / Forensic Checklist
## 14. What to Track Going Forward
## 15. Final Judgment
Open with a hard-edged framing sentence:
Then state:
Verdict Table:
| Dimension | Assessment |
|---|---|
| Business Quality | /10 |
| Revenue Quality | /10 |
| Pricing Power | /10 |
| Balance Sheet Strength | /10 |
| Capital Allocation | /10 |
| Predictability | /10 |
| Cyclicality Risk | /10 |
| Narrative Crowding | /10 |
| Variant Perception Opportunity | /10 |
| Overall Investability (Current Setup) | /10 |
Final Classification:
Do NOT repeat marketing language. Explain:
2.1 Business Model Decomposition (prose, not a chart yet — the chart comes in 2.5)
2.2 Revenue Quality Assess and classify: high quality / medium quality / low quality / deceptive / optically inflated
This is the section where the skill produces its highest leverage. Do not skip it. Do not collapse it into prose.
Step 1 — Segment inventory. List every reported segment with: revenue %, EBITDA %, EBIT %, year-over-year revenue and EBITDA growth, and a one-line economic description. Use a table.
Step 2 — Materiality classification. Apply the materiality rule above. Classify each segment as MATERIAL (full treatment) or MINOR (lighter treatment).
Step 3 — Segment cards. For each MATERIAL segment, produce a Segment Card with the following structure:
For each material segment, output:
Segment name and tagline — a one-sentence economic description that captures what the segment actually IS, not what marketing calls it.
Segment Value Chain Map — illustrative SVG diagram showing:
Use visualize:show_widget with an SVG built per the diagram protocol (illustrative diagram type — see visualize/read_me guidance for module="diagram"). Width 680, dark-mode safe color classes, no rotated text.
Segment economics table:
| Metric | Value | Interpretation |
|---|---|---|
| Revenue % of total | ||
| EBITDA % of total | ||
| Revenue 3yr CAGR | ||
| EBITDA margin | structural / cyclical peak / cyclical trough | |
| Capital intensity | asset-heavy / asset-light / negative working capital / float-driven | |
| Pricing regime | cost-plus / spot / contracted / regulated / mix | |
| Customer concentration | top 5 customers = X% | |
| Geographic concentration | ||
| Cyclicality | early-cycle / mid-cycle / late-cycle / counter-cyclical / non-cyclical | |
| Capacity / utilization | current %, runway |
Segment-specific drivers and bottlenecks:
Segment regime sensitivity:
Why this segment exists in this company — real strategic logic vs legacy vs theater. Possible answers: shared distribution, shared input, captive customer, captive supply, regulatory protection, accidental conglomerate, hedge against another segment, hidden asset, M&A optionality, value destruction in plain sight.
Step 4 — Cross-segment synthesis. This is what conventional broker reports miss. After all segment cards, produce:
Revenue/EBITDA Bridge Visual — a horizontal stacked-bar comparison: revenue composition vs EBITDA composition, side-by-side. Reveals where margin pools sit vs where revenue sits. Often shows that 40% of revenue produces 80% of EBITDA — that is the entire investment story for many conglomerates. Use visualize:show_widget with a Chart.js or D3 implementation (see data_viz module guidance).
Cross-segment dependency analysis (prose):
Hidden cross-subsidies. Identify any segment whose reported margins are inflated by another segment bearing shared costs, or whose reported losses are masking real economic profit (e.g., capex-heavy segment running through P&L while building durable assets). State explicitly.
Segment-level mispricing. Which segment is the market valuing wrong? Possible answers:
3.1 Industry Structure (prose)
3.2 Industry Value Chain Position [VISUAL] — Structural diagram showing the company as a node within the broader industry chain. Place upstream suppliers on the left, the company in the center, downstream buyers/distributors on the right. Encode bargaining power via box size or stroke weight (thicker stroke = more bargaining power). Use visualize:show_widget with structural diagram per visualize/read_me guidance.
If a complex multi-segment company, this visual may be merged with the primary segment's value chain map to stay within the visualization budget — note the merge in the analysis.
3.3 Choke Points / Bottlenecks (prose) Identify scarce inputs, licenses, distribution control, switching costs, installed base, ecosystem lock-in, IP/standards.
Answer: Is this company the bottleneck, renting the bottleneck, or being taxed by the bottleneck?
Do NOT dump ratios. Explain the machine. Prose only — no charts in this section unless a specific number genuinely cannot be communicated otherwise.
4.1 Economic Engine — what converts effort into profit: volume scale / pricing / mix / asset turns / float / working capital arbitrage / operating leverage / distribution leverage / financing spread / low reinvestment + high cash conversion / roll-up accounting optics
4.2 Margin Structure
4.3 Working Capital & Cash Conversion
4.4 Balance Sheet & Hidden Fragility
5.1 Incentive Structure
5.2 Capital Allocation Track Record
Classify: elite allocator / competent allocator / empire builder / promotional allocator / value destroyer / unknown
6.1 Fundamental Drivers (prose) — volume, pricing, utilization, spread, mix, input cost, market share, regulation, rates, FX, commodities, subsidies, capex cycle, replacement cycle, product launch, customer shifts
6.2 Stock-Specific Drivers (prose) — rerating/derating, benchmark inclusion, passive/ETF flows, ownership concentration, short interest, retail narrative crowding, promoter actions, block deals, buyback/dividend expectations, spin-off/demerger/listing optionality, litigation/regulatory overhang
6.3 Sensitivity Heatmap [VISUAL] — Replace the old sensitivity table with a 2D heatmap. Y-axis: variables (e.g., crude price, USD/INR, gross margin %, volume growth, gas price, regulatory stance, subsidy quantum, key commodity input). X-axis: magnitude of move (-20%, -10%, base, +10%, +20% — or appropriate ranges per variable). Cell value: EPS impact in % or rupees per share. Color scale: red for negative, green for positive, intensity = magnitude.
This forces ranking — the visual will instantly show which 2-3 variables actually matter and which are noise. Use Chart.js heatmap or D3 implementation. Use visualize:show_widget with data_viz module guidance.
After the visual, in prose: identify the top 3 actual drivers (the ones that show the strongest color in the heatmap) and explain the mechanism. Most stocks have only 2-3 variables that matter — the rest is noise.
The most important section. Reverse-engineer what the current price is implicitly assuming.
7.1 Implied Expectations
7.2 Variant Perception
7.3 Expectation Mismatch Rating Classify: expectations too low / roughly fair / stretched / dangerously euphoric / hated/ignored / impossible to know
Mandatory section. Every stock sits on a value chain. The thesis on the stock is almost always a thesis on a driver — and that driver touches 5–15 other listed names that move on the same signal, sometimes earlier, cleaner, cheaper, or higher-beta. This section expands the opportunity set, surfaces better expressions of the same view, and stress-tests whether the original name is even the right vehicle.
Run order: This section sits after the drivers (Section 6) and the variant perception (Section 7) are established, and before catalysts/valuation/trade structure. You cannot map proxies without first knowing what actually drives the stock.
7.5.1 Decompose the stock into driver vectors. Before mapping proxies, force-decompose the stock into the actual things that make it move. Most stocks have 2–4 dominant drivers, not one. Reuse the drivers identified in Section 6.3, but explicitly tag each one for proxy mapping:
| Driver | Type | Direction (stock is long/short this driver) | Sensitivity | Time horizon | Cleanliness (pure-play / diluted / accidental) |
|---|
Driver types: input cost / output price / end-demand / regulation / capacity cycle / FX / rates / narrative beta.
7.5.2 Five-axis proxy map. For each material driver, map proxies along five axes. Do NOT just list "peers" — that misses 80% of the opportunity set.
7.5.3 Proxy quality grid. For each candidate proxy, score it on five dimensions. This is what separates "list of related tickers" from "ranked opportunity set."
| Proxy | Axis | Driver served | Beta to driver | Cleanliness (% of P&L driven by target driver) | Lead/lag vs target | Liquidity / tradability | Mispricing vs target | Quality score (1-10) |
|---|
Beta to driver: high / medium / low. Cleanliness: pure-play / diluted / accidental. Lead/lag: leads target / coincident / lags target. Liquidity: investable for size / mid-cap caveat / illiquid. Mispricing: cheaper than target / equal / richer than target.
A proxy is better than the original stock when it scores higher on cleanliness AND lower on relative valuation AND has comparable or higher beta. Flag those explicitly.
7.5.4 Forced-question checklist. Before finalizing the map, run these. They surface the proxies that quick scans miss.
7.5.5 Proxy & Adjacency Map [VISUAL] — Structural diagram. Place the target stock at the center as a distinct node. Arrange proxies around it on the five-axis layout: upstream (top-left), downstream (top-right), lateral (left middle), picks-and-shovels (right middle), inverse (bottom). Encode:
Use visualize:show_widget with a structural diagram per visualize/read_me guidance. Width 680, dark-mode safe. If the diagram becomes too dense (>15 proxies), tier it: show the top 8 by quality score in the main visual and list the rest in a follow-up table.
7.5.6 Synthesis (prose + table).
Of all proxies surfaced across all drivers:
Best Expression Verdict — answer one of:
This verdict feeds directly into Section 15's "cleanest expression" question. If the proxy work concludes the target is NOT the best expression, that conclusion must be carried forward — not buried.
Failure modes to avoid in this section:
8.1 Positive Catalysts (prose list) — earnings beat quality, margin inflection, raw material relief, capacity utilization crossing threshold, regulatory approval, debt reduction, working capital release, demerger/spin/listing, buyback, short covering setup, competitor disruption
8.2 Negative Catalysts (prose list) — guidance cut, volume slowdown, price erosion, customer loss, receivables blowout, capex overshoot, dilution, regulation shock, commodity squeeze, governance event, crowd unwind
8.3 Catalyst Timeline [VISUAL] — Gantt-style horizontal timeline. X-axis: time (next 12-24 months, with quarterly markers). Y-axis: individual catalysts. Bar position: expected date or window. Bar size: magnitude (estimated stock impact). Bar color: direction (green = positive, red = negative, amber = ambiguous/two-tailed). Marker shape: probability tier (e.g., dot = certain/scheduled, square = high probability, diamond = speculative).
The time-clustering reveals what tables hide: are 4 catalysts all in Q4 FY27 (binary event-stack risk)? Is the next 6 months catalyst-empty (means current price already reflects what's known and stock will drift)? Is there a catalyst desert followed by a cluster (means the trade is "wait then act")?
After the visual, identify catalyst regime:
8.4 Catalyst Scoring Table (still required, complements the timeline)
| Catalyst | Direction | Time Horizon | Probability | Magnitude | What to Track |
|---|
Do NOT rely on lazy multiple comparison. Ground valuation in: business quality, duration, cyclicality, reinvestment runway, balance sheet, cash conversion, optionality, regime, crowding.
9.1 Appropriate Valuation Lens Choose what matters: P/E / EV/EBITDA / EV/EBIT / FCF yield / replacement value / NAV/SOTP / P/B / EV/Sales (only if justified) / unit economics/cohort/LTV-CAC / commodity normalized earnings / mid-cycle earnings power / peak-trough cycle framework
9.2 Normalize Earnings — current vs normalized, trough vs mid-cycle vs peak, reported vs economic earnings
9.3 Valuation Range
| Scenario | Earnings / Metric Basis | Multiple / Method | Fair Value Logic |
|---|
Then classify: deeply undervalued / modestly undervalued / fair / mildly expensive / expensive / absurd/narrative-priced
State: Cheap vs what? (vs history, peers, quality, growth, cycle, or sentiment?)
SOTP override: If Section 2.5's cross-segment synthesis concluded that conglomerate logic is fictional or partially fictional, use SOTP as the primary valuation lens. Value each material segment separately at appropriate sector multiples, sum, apply or remove holdco discount with reasoning.
10.1 Bull Case — what goes right operationally, what rerates, what market discovers late, why upside can be nonlinear
10.2 Base Case — what likely happens if business performs "normally," return profile implied
10.3 Bear Case — what breaks first, what the market is blind to, where multiple compression + earnings downgrade stack
| Case | Operational Outcome | Market Perception | Likely Stock Behavior |
|---|
If inferable: institutional ownership concentration, passive/ETF ownership, benchmark weight sensitivity, retail crowding, short interest/borrow dynamics, options skew/implied vol, insider lockups/unlocks, free float, promoter pledge, event date clustering.
Answer: Is this stock likely to move mostly on fundamentals, or on flows first and fundamentals later?
Fundamentals tell you what to own; this section tells you where and when to act. Do NOT
eyeball the chart or compute indicators, stops, or position sizes in prose — delegate the
entire technical read to the technical-analysis skill (sibling install, co-bundled in
every analyst plugin) and interpret what it returns.
Run order:
Pull ≥ 2 years of daily OHLCV from whichever market-data skill is installed
(financialmodellingprep, finmind, …) — the same source you used to ground the
fundamentals — and save it under data/ as the contract-shaped JSON the engine expects
([{date, open, high, low, close, volume}]).
Invoke the technical-analysis skill on that data; its pure-Python engine classifies the regime (ADX + long-MA, with the higher timeframe computed automatically), scores the confluence stack, and computes ATR-based stops, position size, trailing exits, and 2R/3R targets:
cd ../technical-analysis
python3 scripts/indicators.py <abs path>/research/<TICKER>-deep-dive/data/<TICKER>-ohlcv.json \
--out-dir out/ --timeframe daily --symbol <TICKER>
Read its analysis.json and write 115-technical-read.md in the workspace covering:
regime (higher timeframe → trading timeframe), the confluence scorecard and verdict,
suggested entry, stop (note structural vs ATR), position size, the trail rule, the
invalidation, and 2R/3R targets. Quote the engine's numbers verbatim — never re-derive
them. Copy analysis.json, dashboard-contract.json, and levels-contract.json into
data/; if the user wants charts or a PDF, render the contracts via the charting /
reporting skills exactly as the technical-analysis SKILL documents.
Reconcile the tape with the thesis. State plainly whether the technical setup confirms, contradicts, or is neutral to the fundamental view — e.g. "fundamentally cheap but in a confirmed weekly downtrend: accumulate only on a reversal trigger, do not catch the falling knife," or "thesis and tape agree — uptrend, confluence +3, long setups only." If the confluence score is < 2, say there is no technical edge right now and the posture is stalk, not buy. These levels feed Section 15's "ideal entry condition" directly — carry them forward.
Mandatory section. Prose, not a radar chart.
Assess sensitivity to: rates up/down, inflation up/down, commodity up/down, FX moves, liquidity expansion/contraction, risk-on/risk-off, domestic growth vs global slowdown, capex vs consumption cycle, policy/subsidy cycle.
Classify: all-weather / disinflation beneficiary / reflation beneficiary / liquidity beta / commodity beta / rate-sensitive duration asset / domestic cyclicality proxy / export/FX proxy / defensive only in appearance
If different segments have different regime sensitivities (which is common in conglomerates), state per-segment rather than rolling up to a single classification — the rollup loses the information that matters.
Actively look for: revenue growth with weak cash conversion, margin expansion from underinvestment, capex deferral masking economics, working capital stress hidden in "growth", receivables stretching, channel stuffing, acquisition-driven optics, goodwill buildup, adjusted EBITDA abuse, related-party leakage, contingent liabilities, segment disclosure games, non-core gains flattering earnings, tax-rate distortions, FX translation vs real economics, cyclically peak margins treated as permanent, "AI/ESG/premiumization/platform" label inflation, fake optionality narratives.
Forensic Risk Table
| Risk | Type | Severity | Why It Matters | Trigger Sign |
|---|---|---|---|---|
| (Type: Accounting / Industry / Balance Sheet / Governance / Narrative / Macro) |
14.1 Key KPIs — list the 5–12 that matter most (volume growth, realization, utilization, order book quality, gross margin, receivables days, inventory days, FCF conversion, churn, ARPU, NIM/spread, take rate, capacity ramp, export mix, customer additions, segment mix — as relevant). Tie each KPI back to a specific segment from Section 2.5 where applicable.
14.2 Quarterly Checklist — exactly what to verify each quarter
14.3 Lead-lag proxy watch-list — from Section 7.5, list the 3-5 proxies identified as leading the target on the same driver. These are the early-warning signals: when these proxies move, the target is likely to follow. Include the specific signal to watch (price, spread, volumes, margin print, capex announcement, etc.) and the typical lead time observed.
14.4 "Thesis Broken If…" — 3–7 explicit conditions that invalidate the thesis. Include at least one proxy-derived condition: e.g., "if upstream proxy X is rallying but the target is not, the driver thesis is broken or transmission is impaired."
Answer all:
Final Decision Card
| Category | Verdict |
|---|---|
| Stock Type | |
| Core Edge | |
| Main Risk | |
| Mispricing Type | |
| Best Time Horizon | |
| Best Participant Type | |
| Current Setup Quality | /10 |
| Action | Buy / Accumulate / Stalk / Trade Only / Avoid / Short Candidate / Wait |
These are non-negotiable, derived from the visualize/read_me protocol. Re-read that protocol's diagram and data_viz modules before producing each visual, but at minimum:
For all visuals:
c-{ramp} SVG classes or CSS variables in HTML)If producing the React artifact for complex companies, follow the frontend-design SKILL guidance and the React/JSX constraints from the artifact specification (no localStorage, single-file, default export, Tailwind core classes only).
Treat every stock as a combination of: Business Quality + Industry Structure + Capital Cycle + Narrative + Positioning + Valuation + Catalysts + Timing / Path Dependency + Vehicle Choice (is this stock the right expression of its driver?)
Your job: determine which of these is actually driving returns right now — which one the market is pretending matters — and whether the same driver can be captured more cleanly through an upstream, downstream, lateral, picks-and-shovels, or inverse proxy.
The Segment Architecture section (2.5) is the structural foundation for the entire analysis. If segments are not modeled correctly — raw input through to buyer, with margin pool location identified — the rest of the analysis will inherit that weakness. Spend the time there.
The Proxy & Adjacency Map (7.5) is the leverage multiplier. A correct read on the driver but a wrong read on the vehicle is a mediocre trade; a correct read on both is where asymmetric returns sit. Always ask: of all listed names that move on this driver, why is THIS one the right vehicle?
AVOID:
ALWAYS:
.md files only, never .txt, with every data table and source persisted, not just the conclusions (see Research Workspace & Output Protocol)technical-analysis skill (Section 11.5) — never compute indicators, stops, levels, or position sizes yourself, and fold its levels into Section 15's entry conditionwiki-builder skill only when the user asks for a wiki — but always produce the markdown workspace regardlessAudit before you deliver. If this run produced a research deliverable carrying
quantitative or factual claims — a deep dive, thematic/value-chain map, technical
call, company wiki, or financial model — you MUST verify it before presenting it.
If a research-auditor subagent is available (the analyst-kit plugin ships one),
invoke it via the Task tool, handing it the draft and the data artifacts you used;
on a runtime without subagents, run the same checks yourself. Resolve every
CRITICAL finding and disclose any UNVERIFIED ones; never deliver on a FAIL
verdict without fixing it first. Skip this only for pure data-fetch/utility runs
with no analytical claims.
PLAN MODE EXCEPTION — ALWAYS RUN: writes only to ~/.analyst-kit/. Replace OUTCOME with one
of DONE | DONE_WITH_CONCERNS | ERROR | ABORT | NEEDS_CONTEXT.
_AK="$(cat ~/.analyst-kit/core-path 2>/dev/null)"
[ -x "$_AK/bin/analyst-kit-log" ] && "$_AK/bin/analyst-kit-log" end --skill single-stock-deep-dive --outcome OUTCOME 2>/dev/null || true
If this session surfaced a durable pattern, pitfall, or user preference that would save 5+ minutes next time (not obvious, not a transient error), also log it:
"$_AK/bin/analyst-kit-learn" add '{"skill":"single-stock-deep-dive","type":"pitfall|pattern|preference","ticker":"<optional>","insight":"<one line>","confidence":7,"ts":"<iso8601 utc>"}'
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohitjandwani/analyst-kit --plugin analyst-kit18 skills in this plugin
/13f-analysisFetch and read U.S. institutional 13F-HR filings (quarterly long-equity holdings) for any fund manager from SEC EDGAR — free, no API key. Resolve a fund to its filing entity (CIK), pull the latest or a historical quarter's holdings as a ranked CSV with values normalized to whole dollars and positions rolled up by issuer, and interpret them without the common traps. Triggers: "get the 13F for X", "latest 13F holdings of Y", "what does <fund> own", "pull <manager>'s 13F", "find the CIK for <fund>", "who filed this 13F", "13F analysis of Z".
/analyst-kit-coreShared runtime for Analyst Kit skills: the ~/.analyst-kit data home, config store, local usage analytics with opt-in telemetry, daily update checks, and a per-user learnings log every skill reads and appends to. Loaded automatically as a dependency of every other skill. Triggers: "set up analyst-kit", "help me set up Analyst Kit", "configure all skills", "analyst-kit config", "enable/disable a skill", "check for analyst-kit updates", "upgrade analyst-kit skills", "show my analyst-kit learnings", "turn analyst-kit telemetry on/off", "show my analyst-kit usage".
/analyst-playbookHow to structure any financial analysis before fetching a single number: decide the deliverable (report/deck vs financial-model update), align fiscal calendars and data frequencies, normalize units, route each data series to the right skill, and apply sector-specific conventions (reporting calendars, KPIs, seasonality, valuation norms) from per-sector playbooks loaded on demand. Triggers: "how should I structure this analysis", "compare X and Y", "analyze <company> properly", "what matters for this sector", "which metrics should I use for X", "build an analysis plan for Y".
Other plugins' skills for the same job