Analyzes a user's investment portfolio for concentration, sector/region/asset-class exposure, cash allocation, currency mix, and risk fit (volatility, beta, drawdown). Triggers on phrases like 'diagnose my portfolio' or 'portfolio review'.
Ships in langalpha-research. 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.
A one-minute read of what the user holds, measured against what they told you they want. Every finding carries a number and what that number is compared with. No lecture and no trade calls.
.agents/user/profile/portfolio.json: the holdings. When this turn already read it, use that copy.## Investment Profile block in your system prompt: its Risk level, Investor type, Experience, Markets, Wants to trade, Analysis approaches, Investing styles, Holding horizon and Sectors lines. A line may hold an older profile's free text: read what is there. When the block has no line for what you need, an older profile may keep it in a free-text key of .agents/user/profile/preference.json, such as risk_tolerance or holding_period. With no risk level at all, report the risk numbers without a fit verdict.<mcp-servers>: take positions and cash balances from it, unless this turn already fetched them. Its quantities and market values win over the file. If they differ from portfolio.json, say so in one line and offer to re-import. Don't write the file here.execute_code callfrom tools.yf_price import get_multiple_stocks_history # 1y daily bars, many symbols
from tools.yf_fundamentals import get_company_info # sector, country, quoteType, category, currency
from tools.price_data import get_stock_data, get_asset_data # fallback bars; crypto and forex
get_multiple_stocks_history(symbols, period="1y") holding every position, the benchmark, and any currency pairs, with crypto as BTC-USD and pairs as HKDUSD=X. It keys results by canonical symbol (600519.SH, HKD-USD), not always your spelling. Retry what lands in errors with get_stock_data, or get_asset_data("BTCUSD", "crypto") and get_asset_data("HKDUSD", "forex"). When a server is missing from <mcp-servers>, use the other.SPY, Hong Kong 2800.HK, mainland China 510300.SH, Japan 1306.T, Europe EXSA.DE.sector, or for an ETF its category.us, .HK is hk, .SH/.SZ is cn, .T is jp, European exchanges are eu. Note it when a holding lists in one market and does business mainly in another.instrument_type.instrument_type shares with it (stock, etf, option, crypto, bond, fund), and skip that comparison when none of those is stated.Print only the figures the findings need, never the series. Save them, with the as-of date and the gaps, to portfolio-diagnosis/<YYYY-MM-DD>.json in a task directory. When an earlier run is there, lead with what changed since.
Rough bands, not rules:
| Risk level | Annualized volatility | Drawdown it can sit through |
|---|---|---|
| conservative | under 10% | about 10% |
| moderate | 10 to 15% | about 20% |
| growth | 15 to 22% | about 30% |
| aggressive | over 22% | 40% or more |
Read drawdown as the larger of the one-year figure and twice the volatility, since one calm year understates a bad one.
Worth a finding: a position over about 20% (a broad index ETF aside); effective N under about 8; one sector over about 40%; more than about 10% outside the stated markets or asset classes; volatility or drawdown past the band; beta far from 1 without the profile asking for it; cash over about 20%. When Investing styles includes income, add the weighted dividend yield.
Pitch the wording to Investor type and Experience: figures without definitions for professional or over_10y, and each term explained once for student or under_1y.
About 200 words, readable in a minute. At most one small table.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/3-statementsBuild or repair an integrated three-statement model: linked IS, BS and CF, supporting schedules, scenarios and a Checks sheet. Triggers on three-statement model, build me a model, link the statements, populate this template, make my balance sheet balance./catalyst-calendarDated events ranked by what they can change: earnings, regulatory decisions, flow events, macro releases, with prep owners and a weekly preview. Triggers on catalyst calendar, upcoming events, what is coming up, earnings calendar, event calendar, catalyst tracker, what should I prepare for./check-deckQC an investment deck (a .pptx) before it circulates: number consistency, chart and narrative alignment, source coverage, language, then a circulation verdict. Triggers on check this deck, deck QC, review my presentation, is this ready to send, proofread the pitch book./check-modelAudit a model somebody already built, and report on it without editing it: structure, formulas, integrity identities, source tie-out and reasonableness, ending in a routed issue log. Triggers on check my formulas, QA this spreadsheet, audit model, model review, something is off in my model, why does my balance sheet not balance./company-profileOne-page company profile slide, four quadrants of overview, financial summary, share price chart and key facts. Also the compact profile paragraph when it has to sit inside a memo, a deck or a chat reply. Triggers on one-page profile, tear sheet, company snapshot, profile slide, quick profile of [company]./competitive-analysisCompetitive landscape analysis: positioning, scorecards, moat assessment, market share trends. Triggers on competitive analysis, competitive landscape, competitor benchmarking, moat assessment, market share, who are the competitors./ginlix-ai-langalpha-research-plugins-langalpha-research:portfolio-diagnosisfrom langalpha-research
Generated from the plugin's indexed repository (ginlix-ai/langalpha) — no native marketplace selected
npx claudepluginhub p/ginlix-ai-langalpha-research-plugins-langalpha-researchOther plugins' skills for the same job