Logotipo de Investment Policy

Investment Policy

Comunidad
JoelLewis
investment-policy

Elabora declaraciones de política de inversión completas que definan los objetivos de rentabilidad, la tolerancia al riesgo y las restricciones de la cartera. Úsalo cuando el usuario pregunte cómo crear una IPS, fijar objetivos de rentabilidad, evaluar la tolerancia al riesgo, definir restricciones de inversión o establecer políticas de rebalanceo y de índices de referencia. Actívalo también si menciona «plan de inversión», «cartera de referencia», «capacidad frente a disposición para asumir riesgos», «tasa de gasto de una dotación», «desembolso de una fundación», «criterios de selección de gestores» o pregunta cómo documentar su estrategia de inversión.

Add to TypingMind

Descripción general

EditorJoelLewis
Repositoriofinance_skills
Nombre de la habilidadinvestment-policy
Estrellas
217
Forks
37
Archivos incluidos
Solo instrucciones
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.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

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

Instalación

Instala la habilidad de IA Investment Policy 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/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/investment-policy
  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/JoelLewis/finance_skills.git /tmp/finance_skills
mkdir -p .claude/skills
cp -r /tmp/finance_skills/plugins/wealth-management/skills/investment-policy .claude/skills/investment-policy
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Investment Policy 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 Investment Policy 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 Investment Policy 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á.

Investment Policy Statement Construction

Core Concepts

Investment Policy Statement (IPS)

The IPS is the governing document for all investment decisions. It specifies objectives (return and risk), constraints, asset allocation ranges, rebalancing policy, benchmark selection, and review schedule. Every portfolio action should be traceable back to IPS provisions.

Return Objective

The required return is the rate that funds all future liabilities and goals.

  • Required return: Solve for the discount rate that equates the present value of assets to the present value of future liabilities/spending needs.
  • Spending rate (endowments/foundations): Typically set as a percentage of a rolling average of portfolio value (e.g., 5% of 3-year rolling average AUM). The required nominal return must cover spending + inflation + fees.
    • Required nominal return = spending rate + expected inflation + investment management fees

Risk Tolerance

Risk tolerance has two dimensions that must be assessed independently:

  • Ability (financial capacity): Determined by time horizon, wealth relative to liabilities, income stability, and liquidity needs. Longer horizons and greater surplus increase ability.
  • Willingness (psychological comfort): Determined by behavioral assessment, past responses to losses, and stated preferences.
  • Conflict resolution rule: When ability and willingness conflict, the lower of the two governs. A client with high ability but low willingness should be invested conservatively (with education to potentially raise willingness over time).

Constraints (LLTU+U)

Five categories of constraints must be addressed in every IPS:

  • Liquidity: Anticipated cash needs, emergency reserves, near-term spending requirements
  • Legal/Regulatory: ERISA rules, trust provisions, foundation payout requirements, prudent investor standards
  • Time horizon: Single-stage or multi-stage; longer horizons generally permit more risk
  • Tax: Taxable vs tax-deferred vs tax-exempt status; impact on asset allocation and rebalancing
  • Unique circumstances: ESG/SRI restrictions, concentrated stock positions, employer stock, legacy holdings, personal preferences

Asset Allocation Policy

Strategic Asset Allocation (SAA) defines long-term target ranges:

  • Example ranges: equity 50-70%, fixed income 20-40%, alternatives 0-15%
  • Ranges permit tactical tilts within policy bounds
  • Policy allocation is the primary driver of long-term returns (commonly cited as explaining ~90% of return variability across time)

Rebalancing Policy

Specifies when and how the portfolio is brought back to target weights:

  • Calendar-based: Rebalance at fixed intervals (quarterly, semi-annually)
  • Threshold-based (percentage-of-portfolio): Rebalance when any asset class drifts beyond a specified band (e.g., ±5% absolute)
  • Combined: Check at calendar intervals, rebalance only if thresholds are breached
  • Wider bands reduce transaction costs but allow more drift; narrower bands maintain discipline but increase costs

Benchmark Selection

An appropriate benchmark must be:

  • Investable: Represents a viable passive alternative
  • Measurable: Returns can be calculated on a timely basis
  • Specified in advance: Chosen before the evaluation period, not after
  • Appropriate: Matches the portfolio's asset classes, style, and risk profile
  • Owned by the manager: The manager should agree the benchmark is fair

Manager Selection Criteria (The Five Ps)

  • Philosophy: Clear, coherent investment belief system
  • Process: Systematic, repeatable approach consistent with philosophy
  • People: Experienced, stable team with aligned incentives
  • Performance: Track record evaluated against appropriate benchmark over full market cycles
  • Price: Fees competitive relative to peers and value added

Review Schedule

  • Annual IPS review: Reassess objectives, constraints, and circumstances
  • Quarterly performance review: Evaluate returns, attribution, and benchmark comparison
  • Trigger-based review: Major life events, market dislocations, or material changes in circumstances

Key Formulas

FormulaExpressionUse Case
Required nominal returnR_nom = spending_rate + inflation + feesEndowment/foundation return target
Required return (goal-based)Solve: PV(assets) = Σ [CF_t / (1+R)^t]Individual required return
Real return from nominalR_real ≈ R_nom - inflationConverting between real and nominal
Spending amount (rolling avg)Spend = rate × (1/3)(AUM_t + AUM_{t-1} + AUM_{t-2})Endowment annual distribution
Rebalancing triggerw_actual - w_target

Worked Examples

Example 1: IPS for a 45-year-old pre-retiree

Given: Age 45, current portfolio $2M, needs $100K/year (today's dollars) starting at age 65, life expectancy 90, inflation 2.5%, portfolio fees 0.5%. Calculate: Required nominal return and the resulting allocation guidance. Solution:

  1. Time horizon: 20 years to retirement + 25 years in retirement = two-stage horizon.
  2. At retirement, need $100K × (1.025)^20 = $163,862/year in nominal terms.
  3. Required nest egg at 65 (25-year payout, assuming the retirement portfolio earns ~5% real, roughly 7.5% nominal at 2.5% inflation): the inflation-growing withdrawals are a level annuity in real terms, so N = $163,862 × [1 - 1.05^(-25)] / 0.05 = $163,862 × 14.094 ≈ $2.31M (in age-65 dollars).
  4. Required return (no additional contributions): solve $2M × (1+R)^20 = $2.31M → R = (2.31/2.0)^(1/20) - 1 ≈ 0.7% nominal net of fees (≈1.2% gross adding the 0.5% fee). That is below the 2.5% inflation assumption — the required real return is roughly -1.7%.
  5. If the client also contributes $30K/year, the required return falls to essentially zero. Return needs alone do not compel an equity-heavy portfolio.
  6. Allocation logic: ability to take risk is high (20-year accumulation horizon, assets large relative to the goal), so willingness governs the choice within a wide acceptable range. The required return is modest, but a 45-year total horizon, longevity beyond age 90, and inflation risk argue for substantial equities; if willingness is moderate, a 60/40 allocation is comfortable, and the client could de-risk to 40/60 and still expect to meet the goal. Document in the IPS that the equity allocation is held for inflation protection and longevity risk, not because the return target demands it.

Example 2: Endowment spending policy

Given: $50M endowment, 5% spending rule on 3-year rolling average, expected inflation 2.5%, investment fees 0.5%. Calculate: Required nominal return to maintain real value. Solution:

  1. Annual spending = 5% × $50M = $2.5M (assuming stable AUM at $50M).
  2. To maintain purchasing power, the endowment must grow by at least inflation: 2.5%.
  3. Required nominal return = spending rate + inflation + fees = 5.0% + 2.5% + 0.5% = 8.0%.
  4. This implies a growth-oriented allocation (e.g., 70% equity, 20% fixed income, 10% alternatives).
  5. If 8% seems aggressive, the board may need to reduce spending rate or accept gradual real erosion.

Common Pitfalls

  • Setting return objectives higher than risk tolerance allows — the return target must be achievable within the risk budget
  • Ignoring inflation in required return calculations — understating the true return hurdle
  • Not revisiting the IPS when circumstances change — life events, market regimes, and regulatory changes demand updates
  • Confusing risk ability with risk willingness — they are separate assessments and must be reconciled
  • Setting constraints too rigid (reduces flexibility and increases costs) or too loose (provides no discipline)
  • Choosing benchmarks after the fact to make performance look better
  • Ignoring the interaction between constraints (e.g., tax considerations affecting asset allocation ranges)

Cross-References

  • tax-efficiency (wealth-management plugin): asset location and withdrawal sequencing affect IPS constraint section
  • performance-attribution (wealth-management plugin): benchmark selection in IPS directly feeds performance evaluation
  • liquidity-management (wealth-management plugin): liquidity constraint in IPS depends on cash flow analysis
  • savings-goals (wealth-management plugin): return objectives often derived from goal-based planning
  • emergency-fund (wealth-management plugin): emergency reserve requirement feeds into IPS liquidity constraint
  • client-review-prep (advisory-practice plugin): IPS provides the reference framework for evaluating drift and suitability during reviews
  • financial-planning-workflow (advisory-practice plugin): the financial plan informs and is codified in the investment policy statement
  • tax-loss-harvesting (wealth-management plugin): IPS may specify TLH policy parameters (minimum loss threshold, approved replacement pairs)
  • estate-gifting (wealth-management plugin): trust structures and multi-generational transfer objectives feed the IPS legal/regulatory and time-horizon constraints
  • retirement-decumulation (wealth-management plugin): the IPS spending policy documents the withdrawal rate, guardrail rules, and rebalancing discipline used in decumulation

Preguntas frecuentes

¿Qué hace la habilidad de IA Investment Policy?

Elabora declaraciones de política de inversión completas que definan los objetivos de rentabilidad, la tolerancia al riesgo y las restricciones de la cartera. Úsalo cuando el usuario pregunte cómo crear una IPS, fijar objetivos de rentabilidad, evaluar la tolerancia al riesgo, definir restricciones de inversión o establecer políticas de rebalanceo y de índices de referencia. Actívalo también si menciona «plan de inversión», «cartera de referencia», «capacidad frente a disposición para asumir riesgos», «tasa de gasto de una dotación», «desembolso de una fundación», «criterios de selección de...

¿Por qué usar Investment Policy en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Investment Policy 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 Investment Policy en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/investment-policy. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Investment Policy?

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 Investment Policy?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Investment Policy 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 Investment Policy?

Sí. JoelLewis 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 👇