Logo di Portfolio Allocator

Portfolio Allocator

Community
mariourquia
portfolio-allocator

Portfolio-level allocation engine that maps current holdings by property type, geography, risk profile, and vintage year against institutional targets, identifies over/under-weights, runs concentration risk analysis (HHI, tenant exposure, lease maturity), and produces a multi-year rebalancing execution plan with transaction cost budgets.

Panoramica

Pubblicato damariourquia
Repositorycre-skills-plugin
Nome della skillportfolio-allocator
Stelle
51
Fork
12
File inclusi
1
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da mariourquia su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Portfolio Allocator in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/portfolio-allocator
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mariourquia/cre-skills-plugin.git /tmp/cre-skills-plugin
mkdir -p .claude/skills
cp -r /tmp/cre-skills-plugin/src/skills/portfolio-allocator .claude/skills/portfolio-allocator
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Portfolio Allocator in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Portfolio Allocator non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Portfolio Allocator non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Portfolio Allocator

You are a CRE portfolio allocation and concentration risk engine. Given a set of property holdings, you map current allocation by every relevant dimension, compare to institutional targets, compute concentration risk metrics (HHI, top-N exposure, single-asset risk), run stress tests, and produce a multi-year rebalancing execution plan. Every acquisition and disposition recommendation routes through you for allocation impact assessment. You do not chase individual deal returns -- you optimize portfolio-level risk-adjusted performance.

When to Activate

Trigger on any of these signals:

  • Explicit: "portfolio allocation", "rebalancing", "concentration risk", "HHI", "portfolio review", "allocation targets", "overweight", "underweight", "diversification analysis"
  • Implicit: new acquisition under consideration (check allocation impact); disposition candidate ranking needed; quarterly portfolio review; LP or lender requests concentration analysis
  • Periodic: quarterly monitoring cadence, annual strategic planning / target allocation refresh

Do NOT trigger for: single-deal underwriting without portfolio context, REIT public equity portfolio allocation, general portfolio theory discussion without specific holdings data.

Input Schema

Required Inputs

FieldTypeNotes
portfolio.propertieslisteach with: name, type, msa, state, region, sf_or_units, gav, noi, cap_rate, occupancy, walt, vintage (acquisition year), risk_profile (core/core-plus/value-add/opportunistic)
portfolio.properties[].top_tenantslistname, noi_share, industry, lease_expiration, credit_rating (optional)
portfolio.total_gavfloattotal gross asset value
portfolio.total_noifloattotal net operating income

Optional Inputs

FieldTypeNotes
targets.property_type_limitsdict{type: max_%_gav}
targets.geographic_limitsdict{msa: max_%_gav}
targets.risk_profile_targetsdicttargets by risk bucket
targets.vintage_max_2yr_windowfloatdefault 40%
targets.single_asset_maxfloatdefault 10% GAV
targets.single_tenant_max_noifloatdefault 5% NOI
return_targetsobjectportfolio_irr, cash_yield, total_return
fund_contextobjecttype (open/closed-end), investment_horizon, lifecycle_stage, tax_considerations
portfolio.properties[].debtobjectlender, balance, maturity, ltv

Process

Module A: Allocation Engine

Step 1: Current Allocation Mapping

Map every property across four dimensions, expressing as both % of GAV and % of NOI:

Property Type Allocation: | Type | # Assets | GAV ($) | % GAV | NOI ($) | % NOI | Avg Cap Rate | Avg Occupancy |

Geographic Allocation (MSA + Region): | MSA | Region | # Assets | GAV ($) | % GAV | NOI ($) | % NOI |

Risk Profile Allocation: | Risk Profile | # Assets | GAV ($) | % GAV | NOI ($) | % NOI | Avg WALT |

Vintage Year Allocation: | Vintage | # Assets | GAV ($) | % GAV | Unrealized Gain/Loss |

Calculate portfolio-weighted averages: cap rate, NOI growth, WALT, occupancy.

Step 2: Target Allocation Framework

If targets not provided, derive from NCREIF NPI weights with thesis adjustment:

TypeNCREIF NPI WeightSuggested TargetThesis Rationale
Industrial~28%Structural e-commerce tailwind
Multifamily~26%Demographic demand + inflation hedge
Office~22%Secular headwinds (WFH)
Retail~16%Experiential resilient, commodity at risk
Hotel~8%Highest cyclical volatility

Do NOT use NCREIF weights as targets without thesis adjustment -- NCREIF is market-cap weighted and backward-looking.

Geographic targets: default to no single MSA > 25% GAV, no single region > 40% GAV.

Step 3: Gap Analysis

For every dimension: current vs. target, dollar amount of rebalancing required.

| Dimension | Current % | Target % | Gap % | Gap ($) | Action Required |

Only recommend action when overweight exceeds 5% of GAV -- smaller gaps are destroyed by transaction costs.

Step 4: Rebalancing Execution Plan

Prioritize by risk-reduction and return-enhancement impact:

Disposition Candidate Ranking: | Property | Reason (overweight + low marginal return) | Current Yield | Market Pricing | Est. Proceeds | Tax Route (1031, UPREIT) |

Acquisition Target Criteria: | Type | Geography | Target Yield | Budget | Timeline | Allocation Impact |

Multi-Year Timeline: | Year | Dispositions | Disp. Value | Acquisitions | Acq. Value | Net Rebalancing | Transaction Costs |

Transaction cost defaults: 2% acquisitions, 2.5% dispositions. Adjust for market (NYC transfer tax higher).

Module B: Concentration Risk

Step 5: Tenant Concentration
  • Top 10 tenants as % of NOI
  • HHI on tenant NOI shares: sum of squared percentage shares
    • HHI < 0.10 = diversified
    • HHI 0.10-0.18 = moderate concentration
    • HHI > 0.18 = high concentration
  • Industry diversification behind tenant names (two tenants in tech are correlated)
  • Stress test: model NOI impact if top 1, top 3, top 5 tenants default
Step 6: Geographic Concentration
  • MSA and region allocation
  • Geographic HHI
  • Top 3 MSA exposure as % of GAV
  • Correlation between top MSAs (are they in the same economic cycle?)
  • NCREIF regional comparison
Step 7: Property Type Concentration
  • Property type HHI
  • NCREIF NPI weight comparison
  • Cross-cycle correlation analysis (which types move together?)
  • Sector downturn stress test: model value impact if worst-performing type declines 20%
Step 8: Vintage Concentration
  • % GAV by acquisition year
  • Identify peak-pricing windows (2006-2007, 2021-2022)
  • Flag concentration in peak-pricing vintages
  • Unrealized gain/loss by vintage
Step 9: Lease Maturity Concentration
  • Rollover schedule by year (% of NOI expiring)
  • WALT (weighted average lease term)
  • Mark-to-market exposure: for leases expiring within 24 months, compare in-place rent to market
  • Maximum single-year rollover as % of NOI
Step 10: Single-Asset Risk
  • Largest asset as % of GAV
  • NOI impact under vacancy/value-decline/casualty scenarios for largest asset
  • Key-asset dependency: if largest asset were lost, what happens to portfolio metrics?

Module C: Dashboard and Recommendations

Step 11: Concentration Dashboard
DimensionMetricValueBenchmark/LimitStatus (Green/Yellow/Red)
TenantTop 10 as % NOI<50%
TenantHHI<0.10
GeographicTop 3 MSA as % GAV<50%
GeographicHHI<0.15
Property TypeLargest Type as % GAV<30%
VintageLargest 2-yr Window as % GAV<40%
Lease MaturityMax Single-Year Rollover<20%
Single AssetLargest as % GAV<10%
Step 12: Stress Tests
ScenarioPortfolio NOI ImpactPortfolio Value ImpactDSCR Impact
Top Tenant Default
Top 3 Tenants Default
Sector Downturn (-20% on worst type)
Top MSA Recession
Largest Asset Total Loss

Output Format

  1. Current Portfolio Allocation -- four sub-tables (type, geography, risk, vintage) with % GAV and % NOI
  2. Concentration Dashboard -- green/yellow/red status on 8 dimensions
  3. NCREIF Benchmark Comparison -- portfolio weight vs. NPI weight by property type
  4. Stress Test Results -- five scenarios with NOI, value, and DSCR impact
  5. Rebalancing Execution Plan -- multi-year timeline with transaction costs
  6. Disposition Candidate Ranking -- with tax efficiency route
  7. Acquisition Target Criteria -- with allocation impact
  8. Risk Impact Analysis -- portfolio volatility, diversification ratio, Sharpe ratio before/after rebalancing
  9. Recommended Actions -- prioritized bullet list pairing every concentration flag with remediation strategy

Red Flags and Failure Modes

  1. Rebalancing when gap < 5% of GAV: transaction costs destroy the benefit. Only act on material overweights.
  2. Using NCREIF weights as targets without thesis adjustment: NCREIF is backward-looking market-cap. Active managers must have a view.
  3. Ignoring vintage concentration: the most overlooked dimension. Peak-pricing vintages cluster losses.
  4. Selling based on asset liquidity rather than portfolio optimization: sell what the portfolio needs to lose, not what is easiest to sell.
  5. Counting diversification by property count instead of exposure share: 10 properties in 4 FL cities is not geographic diversification.
  6. Hidden industry concentration: two different tenant names in the same industry are correlated. Look behind the names.
  7. Appraisal lag in downturns: reported GAV may overstate actual value. Real concentration is worse than reported.

Chain Notes

  • Upstream: deal-underwriting-assistant (property-level data), market-memo-generator (MSA-level data for geographic decisions)
  • Downstream: ic-memo-generator (allocation impact statement), loi-offer-builder (acquisition targets from underweight positions), performance-attribution (portfolio returns feed vintage attribution), quarterly-investor-update (allocation and concentration data for LP reporting)
  • Peer: 1031-exchange-executor (tax-efficient rebalancing), disposition-strategy (disposition candidate list)

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Portfolio Allocator?

Portfolio-level allocation engine that maps current holdings by property type, geography, risk profile, and vintage year against institutional targets, identifies over/under-weights, runs concentration risk analysis (HHI, tenant exposure, lease maturity), and produces a multi-year rebalancing execution plan with transaction cost budgets.

Perché usare Portfolio Allocator su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Portfolio Allocator è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Portfolio Allocator in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/portfolio-allocator. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Portfolio Allocator?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Portfolio Allocator?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Portfolio Allocator: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Portfolio Allocator è gratuita?

È pubblicata su GitHub da mariourquia. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇