Portfolio optimizer

From CoWork-OS/CoWork-OS · View interactive version

Portfolio optimizer is an AI agent skill from the GitHub repository CoWork-OS/CoWork-OS. Modern portfolio theory optimization including Markowitz mean-variance, Black-Litterman, risk parity, and efficient frontier construction with constraints.

How to use this skill

Skill file

Portfolio Optimizer

Purpose

Modern portfolio theory optimization including Markowitz mean-variance, Black-Litterman, risk parity, and efficient frontier construction with constraints.

Routing

Trigger Examples

Positive

Negative

Parameters

| Name | Type | Required | Description |

| ------------ | ------ | -------- | ---------------------------------------------------------------------------------- |

| holdings | string | Yes | Current portfolio holdings and weights (e.g., SPY 40%, AGG 30%, GLD 10%, VWO 20%) |

| objective | select | Yes | Optimization objective |

| question | string | Yes | Your specific optimization question |

| constraints | string | No | Portfolio constraints (e.g., long-only, max 25% per position, no emerging markets) |

| targetReturn | string | No | Target annual return for optimization (e.g., 8%) |

Runtime Prompt

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.