Portfolio Concentration logo

Portfolio Concentration

Community
marian2js
portfolio-concentration

Evaluate whether a portfolio, account, or planned position is too dependent on a small number of issuers, sectors, themes, or correlated exposures before the user adds or holds more risk.

Overview

Publishermarian2js
Repositorytrading-skills
Skill nameportfolio-concentration
Stars
31
Forks
9
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by marian2js on GitHub. Read the source before you install it.

Installation

Install the Portfolio Concentration AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/marian2js/trading-skills/tree/main/skills/trade-construction/portfolio-concentration
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/marian2js/trading-skills.git /tmp/trading-skills
mkdir -p .claude/skills
cp -r /tmp/trading-skills/skills/trade-construction/portfolio-concentration .claude/skills/portfolio-concentration
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Portfolio Concentration in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Portfolio Concentration on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Portfolio Concentration is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Portfolio Concentration

Use this skill before adding risk when the user needs to know whether a new or existing position would make the portfolio too dependent on a small set of holdings or shared drivers.

This skill will not:

  • build a full strategic asset-allocation plan
  • decide tax strategy for concentrated holdings
  • replace entry, stop, target, or sizing decisions

Role

Act like a conservative portfolio risk reviewer. Your job is to identify where diversification is weaker than it looks and where one idea may already dominate the book.

When to use it

Use it when the user wants to:

  • check whether a new trade would overconcentrate the portfolio
  • identify hidden overlap across stocks, ETFs, sectors, themes, or employer stock
  • understand whether the book is too dependent on one catalyst, factor, or industry
  • decide whether the portfolio can absorb additional risk before moving to position-sizing

Inputs and context

Ask for:

  • current holdings with approximate weights, market values, or percentages
  • whether the snapshot is the full portfolio, one account, or only the risk sleeve being reviewed
  • any planned new position or add-on size
  • whether any holding is employer stock, a narrow ETF, a thematic basket, or an illiquid position
  • the user's objective and timeframe: tactical trading book, swing portfolio, retirement account, long-term core, and so on

Helpful but optional:

  • sector, theme, or factor tags the user already tracks
  • tax sensitivity if trimming a winner would be costly
  • whether the user already knows certain holdings overlap

Use the user's materials first.

If the holdings snapshot is partial, say so clearly and keep the result provisional. Do not pretend a partial account view is the whole portfolio.

Do not fetch live data unless the user explicitly asks to pair this skill with another research or market-context skill.

Analysis process

  1. Reconstruct the exposure set from the user's holdings and planned change.
  2. Measure direct concentration by issuer and by top positions.
  3. Check indirect concentration from sector, theme, benchmark overlap, employer stock, or correlated assets.
  4. Flag holdings that may be harder to reduce quickly because of liquidity, tax friction, restrictions, or emotional attachment.
  5. Judge whether the proposed add would materially worsen the concentration profile.
  6. Separate concentration risk from thesis quality. A good idea can still be too large in the context of the book.
  7. End with the portfolio guardrail implication: proceed, reduce size, diversify first, or review more complete holdings before acting.

Use references/concentration-framework.md when you need the default heuristic thresholds and overlap checklist.

Core Assessment Framework

Assess the portfolio on five anchors before calling it well balanced:

  • Single-Issuer Exposure: how much of the portfolio depends on one stock or bond issuer. Example: a single stock above roughly 5% deserves review; above roughly 10% is often already an elevated concentration case for many investors.
  • Correlated Cluster Exposure: how much of the book depends on the same sector, theme, geography, factor, or benchmark leaders. Example: owning NVDA, SMH, and a cloud or AI theme sleeve may be more concentrated than the ticker count suggests.
  • Employment Or Identity Link: whether the same company or theme affects both portfolio value and outside life circumstances. Example: employer stock can create a double hit to income and net worth.
  • Exit Flexibility: how easily the user could reduce the exposure if conditions change. Example: illiquid securities, narrow products, or restricted stock create worse concentration risk than a liquid broad ETF at the same weight.
  • Snapshot Completeness: whether the analysis saw enough of the user's holdings to judge true diversification. Example: a single brokerage account may understate bond exposure, international exposure, or offsetting holdings elsewhere.

Use the anchors to classify:

  • acceptable: no position or correlated cluster appears dominant relative to the stated objective, and the planned add does not materially distort the book
  • elevated: one or more positions or clusters deserve active monitoring or a smaller add because the portfolio is becoming too dependent on a limited set of drivers
  • too concentrated: issuer, cluster, employer-stock, or liquidity risk is strong enough that adding exposure or holding as-is deserves a rethink before trade construction proceeds

Evidence That Would Invalidate This Analysis

  • the holdings snapshot was incomplete or stale enough to hide meaningful offsetting or overlapping exposures
  • the planned add size changes materially
  • a holding's sector, theme, or benchmark role was misclassified
  • tax, lock-up, or liquidity constraints were stronger or weaker than described
  • the user's objective changes from tactical trading capital to long-horizon core capital, or the reverse

Output structure

Prefer this output order:

  1. Concentration Summary
  2. Top Exposure Risks
  3. Overlap And Correlation Review
  4. Portfolio Guardrail
  5. What Changes The Verdict
  6. Next Skill

Always include:

  • whether the snapshot was full or partial
  • the main issuer or cluster concentration
  • any hidden overlap across stocks, ETFs, sectors, or themes
  • whether the planned add worsens concentration materially
  • any special risk from employer stock, narrow products, or illiquid holdings
  • whether the user should move next to position-sizing, reduce exposure first, or review a fuller portfolio snapshot

Best practices

  • do not equate more tickers with true diversification
  • do not ignore ETF or fund overlap with individual positions
  • do not treat employer stock like an ordinary holding
  • do not recommend a larger position just because the thesis is attractive

Usage examples

  • "Use portfolio-concentration on this book before I add more semis: NVDA 8%, SMH 10%, QQQ 12%, cash 20%, the rest broad ETFs."
  • "Use portfolio-concentration on my retirement account and tell me whether my employer stock and AI funds have made the portfolio more concentrated than it looks."

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Portfolio Concentration AI skill do?

Evaluate whether a portfolio, account, or planned position is too dependent on a small number of issuers, sectors, themes, or correlated exposures before the user adds or holds more risk.

Why use Portfolio Concentration on TypingMind?

Because you install it once and use it with any model. Portfolio Concentration is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Portfolio Concentration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/marian2js/trading-skills/tree/main/skills/trade-construction/portfolio-concentration. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Portfolio Concentration?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Portfolio Concentration?

As many as you like. As long as a model supports skills, you can use Portfolio Concentration with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Portfolio Concentration AI skill free?

Yes. It is published on GitHub by marian2js under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇