pymoo

pymoo is a skill for Claude Code from dralkh/seerai. It costs 46 tokens per session (5,063 once invoked), scanned A, original, MIT.

A Python framework for solving optimization problems with one or several competing goals. It includes evolutionary methods and can find Pareto fronts, which show the trade-offs between possible solutions.

In plain words
What is it for?
Use it for engineering design, constrained optimization, evolutionary algorithms, benchmark problems, and selecting among trade-off solutions.
Why use it?
It helps when improving one objective makes another worse, such as cost versus performance. It avoids implementing optimization algorithms, constraints, and trade-off analysis from scratch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for engineering design, constrained optimization, evolutionary algorithms, benchmark problems, and selecting among trade-off solutions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dralkh/seerai/pymoo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dralkh/seerai --skill pymoo
Clone the repo
git clone --depth 1 https://github.com/dralkh/seerai

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pymoo

README.md
[![agentmods](https://agentmods.dev/badge/skills/dralkh/seerai/pymoo/github.svg)](https://agentmods.dev/skills/dralkh/seerai/pymoo)
Your own site
<a href="https://agentmods.dev/skills/dralkh/seerai/pymoo"><img src="https://agentmods.dev/badge/skills/dralkh/seerai/pymoo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pymoo

Your own site · 80×15
<a href="https://agentmods.dev/skills/dralkh/seerai/pymoo"><img src="https://agentmods.dev/badge/skills/dralkh/seerai/pymoo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,063 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.05063
Opus 5.5 $0.00018 $0.02025
Sonnet 5.5 $0.00009 $0.01013
Haiku 4.5 $0.00005 $0.00506

Measured 2mo ago against content hash e32a8655174c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pymoo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/custom_problem_example.py, scripts/decision_making_example.py, scripts/many_objective_example.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • pymoo — 100% identical, 0 lines differ
  • pymoo — 100% identical, 4 lines differ
skills/pymoo/SKILL.md · 658 lines

How it starts

The opening of the file, as written. The whole thing — 658 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pymoo - Multi-Objective Optimization in Python

Overview

Pymoo is a comprehensive Python framework for optimization with emphasis on multi-objective problems. Solve single and multi-objective optimization using state-of-the-art algorithms (NSGA-II/III, MOEA/D, SPEA2), benchmark problems (ZDT, DTLZ), customizable genetic operators, and multi-criteria decision making methods. Excels at finding trade-off solutions (Pareto fronts) for problems with conflicting objectives. Current stable release: pymoo 0.6.1.6 (November 2025).

Installation

uv pip install pymoo

For reproducible environments, pin a version: uv pip install "pymoo==0.6.1.6".

Dependencies: NumPy (2.x compatible since 0.6.1.3), SciPy, matplotlib (visualization). Autograd is optional for gradient-based features (since 0.6.1.3).

Documentation: https://pymoo.org/ — LLM-friendly index: https://pymoo.org/llms.txt

When to Use This Skill

This skill should be used when:

  • Solving optimization problems with one or multiple objectives
  • Finding Pareto-optimal solutions and analyzing trade-offs
  • Implementing evolutionary algorithms (GA, DE, PSO, NSGA-II/III)
  • Working with constrained optimization problems
  • Benchmarking algorithms on standard test problems (ZDT, DTLZ, WFG)
  • Customizing genetic operators (crossover, mutation, selection)
  • Visualizing high-dimensional optimization results
  • Making decisions from multiple competing solutions
  • Handling binary, discrete, continuous, or mixed-variable problems

Core Concepts

The Unified Interface

Pymoo uses a consistent minimize() function for all optimization tasks:

from pymoo.optimize import minimize

result = minimize(
    problem,        # What to optimize
    algorithm,      # How to optimize
    termination,    # When to stop
    seed=1,
    verbose=True
)

Result object contains:

  • result.X: Decision variables of optimal solution(s)
  • result.F: Objective values of optimal solution(s)
  • result.G: Constraint violations (if constrained)
  • result.algorithm: Algorithm object with history

Read the full file on GitHub · 658 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 658 lines · 46 tokens per session scan A e32a8655174c

Subscribe to this mod's changes

pymoo is a skill published in the GitHub repository dralkh/seerai (97 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 5,063 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.

Related

pymoo compared with skills from other repositories

pymoo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pymoodralkh/seeraiSkill971mo agoMITA46Claude Code
biopythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
paper2codePrathamLearnsToCode/paper2codeSkill1.6k20d agoMITA72Claude Code, Codex
python-mathtrpc-group/trpc-agent-goSkill1.9kyesterdayApache-2.0A13Claude Code, Codex
biopythonai4protein/VenusFactory2Skill2553d agononeA81Claude Code, Codex
bio-alignment-ioPKU-YuanGroup/OpenAI4SSkill675todayMITA64Claude Code, Codex
datamoldralkh/iktinahSkill774mo agoMITA67Claude Code