agentleFS
yogsoth-aiyogsoth-ai/convergence/skills/portfolio-optimization/SKILL.md

portfolio-optimization

Skill2 starsChanged 7 months agoApache-2.0View on GitHub

Portfolio Optimization Campaign — select balanced combinations from candidate sets optimizing value, diversity, risk, and robustness using Markowitz, Knapsack, Pareto, Real Options, MAP-Elites, and minimax regret methods.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Portfolio Optimization

Select balanced combinations from candidate sets by optimizing across multiple objectives simultaneously. This campaign applies portfolio theory concepts — originally from finance but broadly applicable — to any selection problem where you must choose a subset from many candidates while balancing competing concerns.

Strategy Routing

SignalStrategy
maximize total value / ROI / impact within budgetvalue-maximization
maximize coverage / diversity / avoid redundancydiversity-maximization
balance risk / hedge / diversify failure modesrisk-balancing
sequence / phase / timeline / dependenciestemporal-sequencing
robust under uncertainty / scenario-proofrobustness-under-uncertainty

Manifest

Strategies

StrategyDescription
value-maximizationMaximize total value within constraints using Knapsack, LP, Cost-benefit, NPV ranking
diversity-maximizationMaximize portfolio diversity using MAP-Elites, Niche coverage, Maximum dispersion
risk-balancingBalance risk-return using Markowitz mean-variance, CVaR, Risk parity, Kelly criterion
temporal-sequencingOptimal ordering using Real Options, Critical path, Dependency graph, Staged investment
robustness-under-uncertaintyPerform well across futures using Minimax regret, Robust optimization, Scenario planning

Tactics

TacticDescription
pareto-frontier-constructionBuild and visualize the Pareto frontier, then select from non-dominated solutions
niche-coverage-analysisMap candidates to niches, score coverage, identify gaps
scenario-stress-testingEvaluate portfolio performance across multiple future scenarios

SOPs

SOPDescription
objective-definitionDefine optimization objectives and constraints from context
optimization-runExecute multi-objective optimization to produce Pareto front
pareto-visualizationVisualize trade-offs along the Pareto frontier
selection-from-frontierSelect final portfolio from Pareto front given preferences
niche-definitionDefine niches within the solution space
niche-mappingMap candidates to defined niches
coverage-scoringScore coverage completeness and identify gaps
scenario-constructionConstruct distinct future scenarios from uncertainties
portfolio-evaluation-per-scenarioEvaluate a portfolio under a specific scenario
portfolio-synthesisSynthesize evaluations into final robust portfolio recommendation

Budget Table

DimensionM-tier Target
Candidates considered8-20
Objectives optimized>=2 simultaneously
Scenarios tested>=3 distinct futures
Pareto points generated>=5 non-dominated solutions

MCP Tools

  • mcp__wiki-vault__vault_search — retrieve prior portfolio analyses and candidate data
  • mcp__wiki-vault__vault_query_graph — traverse relationships between candidates
  • mcp__wiki-vault__vault_add_edge — record portfolio decisions and rationale

Context Management

  • Pass candidate list and objective weights between strategy and tactics
  • Pareto front data flows from optimization-run to visualization and selection
  • Scenario definitions are shared across all evaluation SOPs
  • Final synthesis aggregates all per-scenario evaluations

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.