portfolio-optimization

Optimize project portfolio selection under constraints using mathematical optimization

509 stars

Best use case

portfolio-optimization is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Optimize project portfolio selection under constraints using mathematical optimization

Teams using portfolio-optimization should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/portfolio-optimization/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/domains/business/project-management/skills/portfolio-optimization/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/portfolio-optimization/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How portfolio-optimization Compares

Feature / Agentportfolio-optimizationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Optimize project portfolio selection under constraints using mathematical optimization

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Portfolio Optimization

## Overview

The Portfolio Optimization skill applies mathematical optimization techniques to project portfolio selection and balancing. It maximizes portfolio value while respecting budget, resource, and strategic constraints, enabling data-driven investment decisions.

## Capabilities

### Optimization Methods
- Apply constraint-based optimization (budget, resources)
- Calculate efficient frontier for risk-return tradeoff
- Support integer programming for project selection
- Model dependency constraints between projects
- Handle mutually exclusive project alternatives

### Multi-Criteria Analysis
- Support multi-criteria project scoring
- Apply weighted scoring models
- Perform pairwise comparison (AHP)
- Normalize heterogeneous criteria
- Calculate composite portfolio scores

### Scenario Analysis
- Perform scenario analysis on portfolio
- Calculate portfolio-level NPV and risk
- Identify project interdependencies
- Generate what-if analysis for portfolio changes
- Model constraint relaxation impacts

### Portfolio Balancing
- Support dynamic portfolio rebalancing
- Optimize resource allocation across projects
- Balance strategic alignment dimensions
- Model risk diversification
- Track portfolio composition metrics

## Usage

### Input Requirements
- Project candidates with attributes
- Scoring criteria and weights
- Constraint definitions (budget, resources)
- Strategic alignment factors
- Project dependencies and exclusions

### Output Deliverables
- Optimized portfolio selection
- Efficient frontier visualization
- Constraint analysis report
- Scenario comparison results
- Portfolio balance scorecard

### Example Use Cases
1. **Annual Planning**: Optimize project selection for budget
2. **Portfolio Review**: Rebalance in-flight portfolio
3. **Strategic Alignment**: Maximize strategic value
4. **Resource Planning**: Optimize under resource constraints

## Process Integration

This skill integrates with the following processes:
- portfolio-prioritization.js
- Resource Planning and Allocation
- benefits-realization.js
- Business Case Development

## Dependencies

- Optimization algorithms (linear, integer programming)
- Constraint solvers
- Financial models
- Visualization libraries

## Related Skills

- SK-009: NPV/IRR Calculator
- SK-011: Benefits Tracking Dashboard
- SK-019: Dependency Mapper

Related Skills

image-optimization

509
from a5c-ai/babysitter

Image formats, responsive images, lazy loading, and CDN integration.

bundle-optimization

509
from a5c-ai/babysitter

Bundle analysis, code splitting, tree shaking, and size optimization.

tensorrt-optimization

509
from a5c-ai/babysitter

NVIDIA TensorRT model optimization and deployment. Convert models to TensorRT engines, configure optimization profiles and precision modes, apply INT8 calibration, analyze kernel fusion, generate custom plugins, and profile inference performance.

shader-optimization

509
from a5c-ai/babysitter

Shader performance optimization skill for instruction counting, GPU profiling, and rendering efficiency.

mobile-optimization

509
from a5c-ai/babysitter

Mobile GPU optimization skill for thermal management.

asset-optimization

509
from a5c-ai/babysitter

Asset optimization skill for mesh and texture budgets.

synthesis-optimization

509
from a5c-ai/babysitter

Expertise in RTL optimization for FPGA synthesis tools. Analyzes synthesis reports, applies attributes, and guides resource inference for optimal QoR.

scipy-optimization-toolkit

509
from a5c-ai/babysitter

SciPy scientific computing skill for numerical optimization, integration, and signal processing in physics

nonlinear-optimization-solver

509
from a5c-ai/babysitter

Solve general nonlinear optimization problems

mixed-integer-optimization

509
from a5c-ai/babysitter

Mixed-integer linear and nonlinear programming

derivative-free-optimization

509
from a5c-ai/babysitter

Optimization without gradient information

convex-optimization-solver

509
from a5c-ai/babysitter

Solve convex optimization problems efficiently