agentleFS
yogsoth-aiyogsoth-ai/de-anthropocentric-research-engine/skills/portfolio-optimization/SKILL.md

portfolio-optimization

Skill505 starsChanged 2 months agoApache-2.0View on GitHub

Formalize objectives/constraints, construct a Pareto frontier, stress across scenarios, and select a robust portfolio.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not perform called SOP operations inline.

    line 22
  2. Very specific:

    If the selected portfolio needs a strong challenge before commitment, consider adversarial-deliberation as the next tactic.

    line 34
  3. Distinctive:

    Stop synthesis when a required object is absent, a precondition is violated, or a counterexample invalidates the proposed conclusion.

    line 53

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

portfolio-optimization

Purpose

Formalize objectives/constraints, construct a Pareto frontier, stress across scenarios, and select a robust portfolio.

Input contract

required: [candidate_set, objective_vector, resource_constraints, scenario_set]
optional: [assumptions, prior_findings, evidence_updates]
constraints: [consume named scientific objects; preserve provenance; keep unresolved uncertainty visible]

Execution protocol

Do not perform called SOP operations inline; each loaded SOP owns its contract and thresholds.

  1. You MUST load skill define-objective to declare outcome directions, hard constraints, stakeholder scope, horizon, and permissible tradeoffs before comparing candidates.
  2. You MUST load skill optimize-pareto-frontier to remove infeasible candidates and retain only points not dominated across the normalized objective dimensions.
  3. You MUST load skill construct-scenario to stress each surviving candidate or portfolio under a fixed scenario and expose impact, tradeoffs, and failure triggers.
  4. You MUST load skill evaluate-scenario-impact to evaluate the current portfolio inside each scenario using stable criteria, explicit missingness, and counterexamples.
  5. You MUST load skill select-from-frontier to apply the preference policy and document the chosen point, sacrificed objectives, and nearest alternatives.
  6. You MUST load skill measure-portfolio-diversity to quantify coverage and reveal concentration and niche collapse.
  7. You MUST load skill map-dependencies to map dependencies, cycles, critical paths, and independent branches before committing to an execution order.
  8. You MUST load skill sequence-work to topologically order the dependent work while surfacing fail-fast and high-risk branches.
  9. You MUST load skill evaluate-optionality to compare immediate, deferred, staged, and information-gathering actions by reversibility, delay cost, and trigger conditions.
  10. You MUST load skill evaluate-scenario-robustness to aggregate scenario results and state which portfolio assumptions remain fragile. If the selected portfolio needs a strong challenge before commitment, consider adversarial-deliberation as the next tactic.

Deviation: reorder only when a dependency is already satisfied or unavailable; record the reason and confidence effect.

Output contract

produces: [pareto_frontier, selected_portfolio, scenario_risk_summary]
delta_fields: [findings, decisions]

Thresholds and quality gates

  • Each output is traceable to an input object, operation, and evidence reference.
  • Scope, assumptions, and unresolved alternatives remain explicit.
  • Retain $\alpha$ 0.05 and power 0.8 wherever the predeclared statistical design requires them.

Failure and counterexamples

Stop synthesis when a required object is absent, a precondition is violated, or a counterexample invalidates the proposed conclusion; return the partial delta with the failure recorded.

Provenance map

  • intermediate: portfolio-optimization [campaign]
  • resolved: value-maximization
  • resolved: diversity-maximization
  • resolved: risk-balancing
  • resolved: temporal-sequencing
  • resolved: robustness-under-uncertainty
  • resolved: pareto-frontier-construction
  • resolved: scenario-stress-testing
  • resolved: niche-coverage-analysis

Preserved source criteria ledger

sourcecriteriontreatment
resolved v3 entries abovenode-specific criteriaretained and specialized to the v4 object contract
experiment-execution/statistical-testing$\alpha$ = 0.05fixed value retained where applicable
experiment-execution/sample-size-estimationpower = 0.8fixed value retained where applicable

Context checkpoint / Delta notes

Return the node-specific research-state delta and preserve findings, evidence updates, uncertainties, decisions, open questions, and recommended jumps as applicable.

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.