$npx skillfedfor your agent

asset-allocation

This skill teaches portfolio optimization from theory to implementation, covering Modern Portfolio Theory, Black-Litterman blending, risk budgeting, and all-weather allocation strategies. It includes five configurable optimizers—equal volatility, risk parity, mean-variance, maximum diversification, and turnover-aware—each suited to different market conditions and cost constraints.

Asset Allocation optimizes your portfolio weights using MPT, risk parity, and other proven frameworks.

AI-generated summary based on this skill's SKILL.md

28,096 4,557 MITupdated by HKUDS

Decision gist · record as of 2026-07-27

Asset Allocation optimizes your portfolio weights using MPT, risk parity, and other proven frameworks. This skill teaches portfolio optimization from theory to implementation, covering Modern Portfolio Theory, Black-Litterman blending, risk budgeting, and all-weather allocation strategies. It includes five configurable optimizers—equal volatility, risk parity, mean-variance, maximum diversification, and turnover-aware—each suited to different market conditions and cost constraints.

manual: git clone https://github.com/HKUDS/Vibe-Trading → cp -r Vibe-Trading/agent/src/skills/asset-allocation ~/.claude/skills/asset-allocation
agent/src/skills/asset-allocation/SKILL.md · version 5b869429

Use it when

  • asset-allocation covers both frameworks.
  • asset-allocation implements rebalancing triggers and frequency for asset allocation maintenance as a core feature.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

HKUDS/Vibe-Trading/asset-allocation · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I build a balanced portfolio using asset-allocation?

asset-allocation teaches portfolio optimization from theory to implementation. Start by understanding your risk tolerance and investment horizon, then use the skill's five configurable optimizers—equal volatility, risk parity, mean-variance, maximum diversification, and turnover-aware—to construct allocations suited to your market conditions and cost constraints. The skill covers Modern Portfolio Theory fundamentals to guide weight selection across stocks, bonds, gold, and other assets.

What's the difference between risk parity vs mean variance in asset-allocation?

asset-allocation covers both frameworks. Mean-variance optimization (Markowitz) maximizes risk-adjusted returns by balancing expected returns against portfolio variance. Risk parity, by contrast, allocates capital so each asset contributes equally to total portfolio risk, often performing better in diversified, low-correlation environments. The skill lets you compare both approaches and choose based on your market outlook and constraints.

How often should I rebalance my portfolio using asset-allocation?

asset-allocation implements rebalancing triggers and frequency for asset allocation maintenance as a core feature. Rather than fixed schedules, the skill helps you configure trigger-based rebalancing—rebalancing when allocations drift beyond thresholds—and turnover-aware optimization that balances drift correction against transaction costs. This approach prevents excessive trading while maintaining your target allocation.

How does asset-allocation use the Black-Litterman model?

asset-allocation includes the Black-Litterman model for incorporating investor views into allocations. This advanced framework blends market-implied returns (from equilibrium pricing) with your own return forecasts, producing more stable and intuitive allocations than pure mean-variance optimization. The skill provides a tutorial on applying Black-Litterman to refine portfolio weights based on your market convictions.

What correlation structures does asset-allocation analyze?

asset-allocation teaches understanding correlation structures and diversification benefits across assets as a key principle. The skill helps you build correlation matrices for your asset mix, identify low-correlation asset combinations that reduce portfolio variance, and calculate diversification ratios to measure how effectively your allocation spreads risk. These insights guide construction of all-weather portfolios resilient across market regimes.

Which optimization algorithms does asset-allocation support?

asset-allocation configures and compares five optimization algorithms: equal volatility (equal risk contribution), risk parity (equal risk budgeting), mean-variance (Markowitz), maximum diversification (highest diversification ratio), and turnover-aware (minimizes rebalancing costs). Each suits different market conditions and constraints. The skill teaches you to select and tune the right optimizer for your portfolio goals and trading costs.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Asset Allocation and Portfolio Optimization

Overview

From asset allocation theory to practical implementation, this skill covers classical frameworks (MPT, BL, risk budgeting, all-weather) and the usage of the four optimizers built into this system. The output can be written directly into config.json.

Asset Allocation Theory

1. Modern Portfolio Theory (MPT, Markowitz)

Core idea: maximize expected return for a given level of risk (the efficient frontier).

Optimization problem:
min  w'Σw              (portfolio variance)
s.t. w'μ = target_return
     Σw = 1
     w ≥ 0              (no shorting)
Advantages Disadvantages
Mathematically rigorous Extremely sensitive to inputs (garbage in, garbage out)
Efficient frontier is visualizable Concentrated-allocation problem (often produces extreme weights)
Foundational framework Assumes normality and ignores fat tails

Practical advice: do

(truncated - see the full file via the links below)

File tree — 1 file
agent/src/skills/asset-allocation/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Optimize portfolio weights using modern portfolio theory and risk-based frameworks”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

strategy-generate
by HKUDS · HKUDS/Vibe-Trading

strategy-generate lets you design trading strategies by defining entry/exit logic, then automatically backtests them across stocks, crypto, and other instruments. Write your signal engine in Python, configure your parameters, and the skill handles data loading and performance analysis—no boilerplate required.

MITupdated Jul 2026
★ 28,096repo stars
asset-allocation
by JoelLewis · JoelLewis/finance_skills

Asset Allocation guides you through strategic and tactical frameworks for distributing capital across investments. It covers mean-variance optimization, Black-Litterman blending, risk parity, and age-based glide paths—plus liability-driven strategies for investors with defined obligations. Use it to build policy portfolios, evaluate 60/40 allocations, or structure core-satellite approaches.

MITupdated Jul 2026
★ 159repo stars
macro-analysis
by HKUDS · HKUDS/Vibe-Trading

Macro-analysis interprets economic indicators and policy signals from the Fed, PBOC, and ECB to pinpoint where the economy sits in its cycle—recovery, overheat, stagflation, or recession. It then translates that positioning into actionable asset allocation tilts, helping you understand which asset classes should be favored given current growth and inflation trends.

MITupdated Jul 2026
★ 28,096repo stars
hedging-strategy
by HKUDS · HKUDS/Vibe-Trading

Build hedging strategies that match your portfolio's risk profile using beta hedging, protective options, collars, or tail-risk approaches. The skill walks you through hedge-ratio calculation, cost estimation, and execution planning across linear instruments like futures and nonlinear tools like puts and spreads.

MITupdated Jul 2026
★ 28,096repo stars
options-strategy
by HKUDS · HKUDS/Vibe-Trading

options-strategy lets you backtest complex option portfolios—from covered calls and protective puts to iron condors and butterflies—by synthesizing theoretical prices via Black-Scholes and tracking Greeks exposure across time. The engine accepts daily underlying data, applies historical volatility, and outputs trade-by-trade records, daily Greeks aggregates, and performance metrics for strategy validation.

MITupdated Jul 2026
★ 28,096repo stars
bet-sizing
by JoelLewis · JoelLewis/finance_skills

Bet Sizing guides you through position sizing frameworks including the Kelly criterion for maximizing long-term wealth growth, fractional Kelly approaches for practical risk management, and risk budgeting methods. Learn to scale positions by volatility, set concentration limits, and weight bets by conviction strength.

MITupdated Jul 2026
★ 159repo stars

More skills options-payoff (MIT)

Tags
portfolio-optimizationrisk-managementdiversification-strategyrebalancing-rulescorrelation-analysisefficient-frontiersharpe-ratioallocation-frameworkvolatility-weightingtrading-costs