Portfolio Optimize — Development skill for Claude Code
Optimize portfolio allocation using mean-variance, risk parity, or factor-based methods.
How to install Portfolio Optimize
Installs to ~/.claude/skills/brainbytes-dev-everything-claude-trading-portfolio-optimize/SKILL.md
mkdir -p ~/.claude/skills/brainbytes-dev-everything-claude-trading-portfolio-optimize && curl -fsSL https://raw.githubusercontent.com/brainbytes-dev/everything-claude-trading/HEAD/commands/portfolio-optimize.md -o ~/.claude/skills/brainbytes-dev-everything-claude-trading-portfolio-optimize/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Portfolio Optimize does
description: Optimize portfolio allocation using mean-variance, risk parity, or factor-based methods
/portfolio-optimize
What This Command Does
Runs portfolio optimization to determine optimal asset weights given your objectives, constraints, and risk tolerance. Supports mean-variance (Markowitz), Black-Litterman, risk parity, minimum variance, and factor-based approaches. The portfolio-manager agent leads the optimization.
When to Use
- You need to determine target weights
Alternatives in Development
- API — All methods are exposed as MCP tools 1.7k ★
- Haft — Engineering decisions engine that know when they're stale 1.4k ★
- Network Traffic Analysis For Claude Code WebSocket Protocol — This document records methods to capture and analyze network traffic for understanding the Claude Code WebSock 232 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Factor Analysis
Decompose portfolio returns by factor exposures and identify unintended bets
Index Funds
Monthly analysis of your index fund portfolio in a tax-advantaged account (Swedish ISK by default, per investo
Factor Risk
Factor and implementation risk SRA-FACTOR-RISK
Logic Reducer
Act as a Senior Formal Methods Architect and Perl SDET. Apply syllogistic logic, deductive reasoning, and bool
Portfolio Risk
Portfolio concentration and risk analysis for a set of holdings — sector breakdown, beta, volatility, and risk
Polymarket Agent MCP
The most comprehensive MCP server for Polymarket — 48 tools spanning direct trading, market discovery, smart m
Related Agents
Fg Quant Analyst
Finance Guru Quantitative Analysis Specialist (Dr. Priya Desai). Statistical modeling, risk metrics, portfolio
Stat Arb Specialist
Statistical arbitrage specialist for pairs trading, mean reversion strategies, cointegration analysis, and mar
Halal Portfolio Builder Agent
Subagent invoked by the halal-portfolio-builder skill. Does the heavy MCP fan-out (candidate search, screening