Логотип Portfolio Review

Portfolio Review

Спільнота
nimadorostkar
portfolio-review

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.

Add to TypingMind

Огляд

Видавецьnimadorostkar
РепозиторійClaude-Skills-collection
Назва навичкиportfolio-review
Зірки
34
Форки
4
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: nimadorostkar. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Portfolio Review у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/nimadorostkar/Claude-Skills-collection/tree/main/skills/finance/portfolio-review
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection.git /tmp/Claude-Skills-collection
mkdir -p .claude/skills
cp -r /tmp/Claude-Skills-collection/skills/finance/portfolio-review .claude/skills/portfolio-review
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Portfolio Review в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Portfolio Review, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Portfolio Review не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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:

python
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:

text
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.

Поширені запитання

Що робить навичка ШІ Portfolio Review?

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.

Навіщо використовувати Portfolio Review у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Portfolio Review — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Portfolio Review у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/nimadorostkar/Claude-Skills-collection/tree/main/skills/finance/portfolio-review. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Portfolio Review?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Portfolio Review?

Зі скількома забажаєте. У TypingMind ви можете використовувати Portfolio Review із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Portfolio Review?

Так. На GitHub цю навичку публікує nimadorostkar за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип affaan-m

Documentation Lookup

affaan-m
СпільнотаПопулярне

Використовуйте актуальну документацію бібліотек і фреймворків через Context7 MCP замість даних навчання. Для запитань про налаштування, довідки з API, прикладів коду або згаданого користувачем фреймворку (наприклад, React,…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Mle Workflow

affaan-m
СпільнотаПопулярне

Робочий процес інженерії машинного навчання для production-систем: контракти даних, відтворюване навчання, оцінювання моделей, розгортання, моніторинг і відкат. Використовуйте цю навичку під час створення, перевірки чи посилення ML-систем…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип mattpocock

Diagnosing Bugs

mattpocock
СпільнотаПопулярне

Цикл діагностики складних помилок і погіршення продуктивності. Використовуйте, коли користувач просить «діагностувати» чи «налагодити це» або повідомляє, що щось зламалося, викликає помилку, не працює чи працює повільно.

22.3K
264.4K
Файлів: 2
Відкрити
Логотип affaan-m

E2e Testing

affaan-m
СпільнотаПопулярне

Шаблони E2E-тестування з Playwright, Page Object Model, налаштування, інтеграція з CI/CD, керування артефактами та стратегії роботи з нестабільними тестами.

39.1K
261.1K
Інструкції
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇