Logo Portfolio Allocator

Portfolio Allocator

Cộng đồng
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.

Tổng quan

Nhà phát hànhmariourquia
Kho mãcre-skills-plugin
Tên kỹ năngportfolio-allocator
Sao
51
Bản fork
12
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mariourquia công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Portfolio Allocator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/portfolio-allocator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Portfolio Allocator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Portfolio Allocator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Portfolio Allocator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Portfolio Allocator làm được gì?

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.

Vì sao nên dùng Portfolio Allocator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Portfolio Allocator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Portfolio Allocator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/portfolio-allocator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Portfolio Allocator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Portfolio Allocator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Portfolio Allocator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Portfolio Allocator có miễn phí không?

Kỹ năng này được mariourquia phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇