Logotipo de Portfolio Concentration

Portfolio Concentration

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

Descripción general

Editormarian2js
Repositoriotrading-skills
Nombre de la habilidadportfolio-concentration
Estrellas
31
Forks
9
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por marian2js en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Portfolio Concentration en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/marian2js/trading-skills/tree/main/skills/trade-construction/portfolio-concentration
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Portfolio Concentration en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Portfolio Concentration automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Portfolio Concentration no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Portfolio Concentration en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Portfolio Concentration está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Portfolio Concentration en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/marian2js/trading-skills/tree/main/skills/trade-construction/portfolio-concentration. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Portfolio Concentration?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Portfolio Concentration?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Portfolio Concentration con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Portfolio Concentration?

Sí. marian2js la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇