portfolio-review
Skill41 starsChanged 55 days agoMITView on GitHub
Use when reviewing a portfolio's construction and exposure. Covers concentration, correlation, factor and sector exposure, hidden bets, and whether the portfolio expresses the intended view. Trigger on "review my portfolio", "am i actually diversified", "is too much of my money in tech". Do not use for setting drawdown limits or stop rules — see the risk-management skill.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- VinodBobby/skillstheir own version, first seen Nov 29, 2026
- atishbits/claude-skillstheir own version, first seen Nov 29, 2026
- kanjiandahai/skills-collectiontheir own version, first seen Nov 29, 2026
- PatrickSUDO/fadacai-portfoliotheir own version, first seen Nov 26, 2026
- StalkC/stalkchain-plugintheir own version, first seen Nov 22, 2026
- CSPulse/customer-success-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use thesis-tracker and investment-research.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillthesis-tracker
Use when building or updating Public Equity Investing thesis trackers. Do not use for generic news summaries, trade pitches, or first-pass memos.
Also in 3 projects that use this
edinetdbSkillinvestment-research
特定の日本株1銘柄について、企業概要・セグメント経済性・財務トレンド・株主構成・ガバナンス・リスク要因・競争優位の仮説・バリュエーション素材までを網羅した総合リサーチレポートを作る時に使う。「トヨタを分析して」「〇〇の株を調べて」のように1社を深掘りする指示で発火する。
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- digitalinnovationone/dio-agent★ 2.8ksame name
- PatrickSUDO/fadacai-portfolio★ 146same name
- Shubhamkumartrichy/claude-trading-skills-india★ 64same name
- Mozurok/fhorja.dev★ 10same name
- rgourley/quant-garage★ 7same name
- StalkC/stalkchain-plugin★ 4same name
- CSPulse/customer-success-skills★ 2same name
- ryanbaumann/fieldwork★ 2same name
- shashu10/personal-finance-skills★ 2same name
- tusharagg1/aifolimizer★ 2same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository137 other files it gives its agents.
- agent-instructionsSkill
- agent-memorySkill
- hooksSkill
- plugin-developmentSkill
- skill-authoringSkill
- skill-reviewSkill
- slash-commandsSkill
- subagentsSkill
- agent-designSkill
- context-engineeringSkill
- fine-tuningSkill
- llm-cost-optimizationSkill
- llm-evaluationSkill
- llm-integrationSkill
- mcp-serverSkill
- ml-pipelineSkill
- model-selectionSkill
- prompt-engineeringSkill
- ragSkill
- structured-outputSkill
- api-designSkill
- background-jobsSkill
- cachingSkill
- djangoSkill
- event-driven-architectureSkill
- fastapiSkill
- graphqlSkill
- microservicesSkill
- nestjsSkill
- realtime-websocketsSkill
- spring-bootSkill
- competitive-analysisSkill
- lead-researchSkill
- product-analysisSkill
- resumeSkill
- user-researchSkill
- database-performanceSkill
- data-modelingSkill
- data-qualitySkill
- pandasSkill
- postgresSkill
- sparkSkill
- brand-guidelinesSkill
- generative-artSkill
- themingSkill
- ui-reviewSkill
- visual-designSkill
- architecture-decisionsSkill
- bug-fix-protocolSkill
- cli-developmentSkill
- code-reviewSkill
- debuggingSkill
- design-patternsSkill
- domain-modelingSkill
- git-workflowSkill
- legacy-modernizationSkill
- refactoringSkill
- repository-explorationSkill
- simple-designSkill
- system-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
After a drawdown, to understand what actually drove it.
- Distinctive: line 20
Before adding a position, to see what it does to the whole.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Portfolio Review
Purpose
Determine what a portfolio is actually betting on, which is frequently not what its owner thinks. A portfolio of twenty names can be a single concentrated bet, and the position list will not tell you that.
When to Use
- Periodic review of holdings and exposure.
- After a drawdown, to understand what actually drove it.
- Before adding a position, to see what it does to the whole.
- Assessing whether diversification is real or nominal.
Capabilities
- Concentration analysis: position, sector, factor.
- Correlation and effective number of positions.
- Factor exposure: size, value, momentum, quality, volatility.
- Hidden-bet identification.
- Attribution: what actually drove the return.
Inputs
- Holdings, weights, and cost basis.
- Return history for correlation and factor analysis.
- The stated investment thesis, so the portfolio can be checked against it.
Outputs
- What the portfolio is actually exposed to.
- Divergences between the intended and the actual bet.
- Concentration risks that are not visible in the position list.
Workflow
- Compute the effective number of positions — Twenty names with a 0.85 average correlation is not twenty bets. The effective number tells you how many independent bets you actually hold, and it is usually far lower than the count.
- Aggregate by sector and by factor — Sector exposure is visible. Factor exposure — a portfolio that is entirely long-duration growth, whatever the sector labels say — usually is not.
- Find the hidden bet — Ten names in different sectors that all depend on the same input (interest rates, the price of oil, one customer) is one bet. This is what a correlation matrix reveals and a position list conceals.
- Attribute the return — What actually drove performance? If the portfolio is up 12% and 11 points came from one position, the strategy has not been validated; one position has.
- Compare with the thesis — Does the portfolio express the intended view? A portfolio built on a "value" thesis whose factor exposure is momentum has drifted.
- Stress it — What does this portfolio do in a 20% market decline, a 200bp rate move, or a sector rotation?
Best Practices
- Correlation rises in a crisis. A portfolio that appears diversified in normal conditions can become a single position at the worst possible moment, and that is when it matters.
- The effective number of bets is the honest diversification measure. Position count is not.
- Attribution matters more than the total return. A profitable quarter driven entirely by one position tells you nothing about whether the process works.
- Factor exposure is the most common hidden bet. Every high-growth name is a bet on rates, regardless of what sector it is classified in.
- A position you have not reviewed in a year is a position you have forgotten why you own. Re-derive the thesis or exit.
- Compare against a relevant benchmark. Beating the market by taking three times its risk is not skill.
Examples
What a portfolio is actually betting on:
def review(portfolio: Portfolio, returns: pd.DataFrame) -> PortfolioReview:
weights = portfolio.weights
corr = returns[portfolio.symbols].corr()
# The effective number of independent bets. A position count is a fiction
# when correlations are high.
w = weights.values
portfolio_variance = w @ returns[portfolio.symbols].cov().values @ w
weighted_avg_variance = (w**2 @ returns[portfolio.symbols].var().values)
effective_n = float(weighted_avg_variance / portfolio_variance) if portfolio_variance else 0
# Groups of positions that move together: these are ONE bet, not several.
clusters = cluster_by_correlation(corr, threshold=0.70)
# Factor exposure via regression against factor returns.
factor_betas = regress(portfolio.returns, FACTORS[["mkt", "size", "value", "momentum", "quality"]])
return PortfolioReview(
position_count=len(weights),
effective_positions=effective_n,
clusters=clusters,
factor_betas=factor_betas,
top_5_weight=float(weights.nlargest(5).sum()),
sector_exposure=portfolio.by_sector(),
)A review that finds the bet nobody placed deliberately:
Portfolio: 22 positions, "diversified across sectors".
Position count : 22
Effective positions : 3.4 <- this is the real number
Correlation clusters (rho > 0.70):
Cluster 1 (58% of book): NVDA, AMD, AVGO, TSM, ASML, MU, ARM, MRVL
Labelled: Technology, Semiconductors
Actual bet: AI capital expenditure. One bet, eight ways.
Cluster 2 (21%): PLTR, SNOW, DDOG, NET, CRWD
Labelled: Software, Technology
Actual bet: also AI capital expenditure, plus long-duration growth.
Correlation with cluster 1: 0.74. It is not a separate bet.
Cluster 3 (14%): JPM, BAC
Cluster 4 (7%): XOM, CVX
Factor exposure:
Market beta : 1.42 <- 42% more market risk than the index
Momentum : +0.71 <- a large, unintended momentum bet
Value : -0.58 <- short value
Quality : +0.12
Attribution, trailing 12 months (+31%):
NVDA alone : +19 points
Everything else: +12 points across 21 positions
Findings:
1. This is a leveraged bet on AI capex, wearing the costume of a diversified
22-position portfolio. 79% of the book is in two clusters that correlate
at 0.74 with each other.
2. Beta of 1.42 means a 20% market decline implies roughly -28% before any
idiosyncratic damage.
3. The return is one position. The process has not been validated.
4. The stated thesis is "quality growth at a reasonable price". The actual
factor exposure is momentum, short value. The portfolio has drifted from
its thesis, or the thesis was never what was being executed.Notes
- The gap between 22 positions and 3.4 effective positions is the single most useful thing a portfolio review produces. It is invisible in a position list and obvious in a correlation matrix.
- A market beta of 1.42 is a leverage decision, whether or not it was made deliberately. Most portfolios have never had it computed.
- This is educational material about portfolio-analysis methodology, not financial advice or a recommendation regarding any holding.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

