AgentSkillsCN

portfolio-health-check

诊断现有投资组合中的风险与低效问题。当用户要求对当前持仓进行审查、审计或压力测试,评估投资组合的集中度,检查各因子的暴露情况,研判相关性风险,识别潜在的隐性偏斜,或为已有的投资组合提供切实可行的优化建议时,可调用此技能。

SKILL.md
--- frontmatter
name: portfolio-health-check
description: Diagnose risks and inefficiencies in an existing investment portfolio. Use when the user asks to review, audit, or stress-test their current holdings, evaluate portfolio concentration, check factor exposures, assess correlation risks, identify hidden tilts, or get actionable improvement suggestions for a portfolio they already own.
license: Apache-2.0

Portfolio Health Check

Act as a portfolio risk diagnostician. Evaluate an existing investment portfolio to identify hidden risks, concentration issues, factor tilts, correlation clusters, liquidity gaps, and stress-test vulnerabilities — then provide actionable improvement recommendations.

Workflow

Step 1: Ingest the Portfolio

Collect the user's current holdings:

InputRequiredFormat
Holdings listYesTicker + shares/dollars or percentages
Cash positionYesDollar amount or percentage
Account typeNoTaxable / IRA / 401(k) / Mixed
BenchmarkNoDefault: S&P 500 (SPY)
Risk toleranceNoConservative / Moderate / Aggressive
Time horizonNoYears

If the user provides incomplete data, ask clarifying questions. Normalize all positions to percentages of total portfolio value.

Step 2: Concentration Analysis

Assess concentration at multiple levels. See references/diagnostic-framework.md for thresholds.

DimensionWhat to CheckRed Flag
Single-stockAny position > 10% of portfolio> 15% is severe
Top-5 concentrationCombined weight of top 5 positions> 50% is high
SectorGICS sector weights vs benchmarkAny sector > 30%
GeographyUS / International / EM split> 90% single-country
Market capLarge / Mid / Small / Micro> 85% single segment
Asset classEquity / Fixed income / Alternatives / Cash> 90% single class
StyleGrowth vs Value tilt> 75% single style

Step 3: Correlation Cluster Detection

Identify groups of holdings that move together:

  1. Estimate pairwise correlations among all equity positions
  2. Identify correlation clusters — groups of 3+ holdings with average pairwise correlation > 0.7
  3. Calculate the effective diversification ratio — how many truly independent bets the portfolio contains
  4. Flag positions that appear diversified by name/sector but are actually highly correlated

Step 4: Factor Exposure Analysis

Decompose the portfolio into factor exposures:

FactorMetricBenchmark Neutral
Market betaPortfolio beta vs S&P 5001.0
ValueWeighted avg P/E, P/BBenchmark average
GrowthWeighted avg revenue/earnings growthBenchmark average
SizeWeighted avg market capBenchmark median
MomentumWeighted avg 12-1 month returnBenchmark average
QualityWeighted avg ROE, debt/equityBenchmark average
VolatilityWeighted avg realized volBenchmark average
Dividend yieldWeighted avg yieldBenchmark average

Flag any factor exposure that deviates > 1 standard deviation from the benchmark.

Step 5: Risk Metrics

Calculate portfolio-level risk metrics:

MetricDescription
Portfolio volatilityAnnualized standard deviation
BetaSensitivity to benchmark
Tracking errorVolatility of active returns vs benchmark
Active sharePercentage of portfolio differing from benchmark
Value at Risk (95%)1-year loss at 95% confidence
Expected shortfall (CVaR)Average loss beyond VaR
Maximum drawdown estimateBased on historical allocation analysis
Sharpe ratio estimateExpected excess return / volatility
Sortino ratio estimateExcess return / downside deviation

Step 6: Stress Testing

Run the portfolio through historical stress scenarios. See references/diagnostic-framework.md for scenario details.

ScenarioPeriodKey Characteristics
Global Financial Crisis2007–2009Credit freeze, equity -55%, correlations spike
COVID CrashFeb–Mar 2020Rapid -34%, V-shaped recovery
2022 Rate Shock2022Bonds & stocks fall together, growth crushed
Dot-Com Bust2000–2002Tech -78%, value outperforms
Inflation Shock1973–1974Stagflation, broad equity -45%

For each scenario, estimate portfolio impact and recovery timeline.

Step 7: Liquidity Assessment

Evaluate portfolio liquidity:

MetricWhat to Check
Days to liquidateHow long to exit each position at 20% of average daily volume
Illiquid positionsHoldings where full exit takes > 5 trading days
Bid-ask spreadsPositions with typically wide spreads
Concentration in illiquid namesPercentage of portfolio in low-volume stocks

Step 8: Diagnosis and Recommendations

Synthesize findings into a health report. Format per references/output-template.md:

  1. Health Score — 0–100 composite score across all dimensions
  2. Critical Issues — Problems requiring immediate attention
  3. Warnings — Issues to monitor or address opportunistically
  4. Strengths — What the portfolio does well
  5. Improvement Actions — Prioritized, specific recommendations with rationale
  6. Rebalancing Suggestions — Concrete trades to improve the portfolio

Data Enhancement

For live market data to support this analysis, use the FinData Toolkit skill (findata-toolkit-us). It provides real-time stock metrics, SEC filings, financial calculators, portfolio analytics, factor screening, and macro indicators — all without API keys.

Important Guidelines

  • Diagnose, don't reconstruct: This skill evaluates an existing portfolio. If the user needs a new portfolio from scratch, direct them to the Risk-Adjusted Return Optimizer.
  • Context matters: A 100% equity portfolio is fine for a 25-year-old with a 40-year horizon. Concentration that looks alarming in isolation may be appropriate in context.
  • Tax awareness: In taxable accounts, recommend improvements that consider tax implications of selling. Suggest tax-loss harvesting where applicable.
  • Behavioral sensitivity: Don't suggest massive overhauls. Investors have emotional attachment to holdings. Prioritize the highest-impact changes.
  • Benchmark appropriateness: A retiree's portfolio shouldn't be benchmarked against the S&P 500. Choose benchmarks that match the investor's goals.
  • Not personalized advice: Disclaim that this is educational analysis, not personalized investment advice. Individual circumstances require a qualified financial advisor.