portfolio-optimizer

Optimize asset allocations and plot efficient frontiers for investment portfolios.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/silva2kand/silva-ide --skill portfolio-optimizer-silva2kand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: portfolio-optimizer
Source: https://github.com/silva2kand/silva-ide/tree/main/_cowork_os_pack/package/resources/skills/portfolio-optimizer
Command: npx skills add https://github.com/silva2kand/silva-ide --skill portfolio-optimizer-silva2kand

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps investors and financial analysts optimize portfolio allocations to maximize returns and manage risk effectively.

Core Features & Use Cases

  • Efficient Frontier Construction: Generate optimal portfolios along the risk-return spectrum for strategic investment decisions.
  • Risk and Return Optimization: Calculate the best asset weights based on user-defined goals such as maximizing Sharpe ratio or targeted returns.
  • Use Case: A fund manager wants to rebalance a mix of stocks and bonds to achieve an 8% annual return with minimum volatility, using historical data and constraints.

Quick Start

Ask the AI to optimize your current investment holdings based on your target return and risk preferences.

Frequently Asked Questions about portfolio-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize asset allocation for an investment portfolio?

Portfolio optimization involves calculating optimal asset weights to balance risk and reward. You provide target return parameters and risk constraints, and the analysis generates an efficient frontier to guide strategic investment decisions.

Can I rebalance stocks and bonds to target an 8% return with minimum volatility?

Yes, risk and return optimization calculates the best asset weights based on user-defined goals like targeted returns. It evaluates your mix of stocks and bonds using historical data to minimize volatility while achieving your target.

What is efficient frontier construction and when do I need it?

Efficient frontier construction generates optimal portfolios along the risk-return spectrum. You need it when making strategic investment decisions to visualize the best possible expected returns for defined levels of portfolio risk.

How do I maximize the Sharpe ratio for my current holdings?

You maximize the Sharpe ratio by calculating the best asset weights based on your risk preferences. The optimization analysis adjusts allocations to achieve the highest risk-adjusted return within your specified constraints.

Does portfolio optimization work for individual investors or only financial professionals?

Portfolio optimization works for both financial professionals and individual investors. It is suitable for anyone aiming to balance risk and reward within specified constraints, regardless of professional status.

What data do I need to calculate optimal asset weights for risk management?

You need your current investment holdings and historical data. Providing your target return goals and risk preferences allows the analysis to calculate optimal asset weights and manage risk effectively.