pymoo

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

A Python framework for optimization, including problems where several goals conflict and no single solution is best for every goal.

In plain words
What is it for?
Use it for engineering design, constrained problems, evolutionary algorithms, benchmark studies, and selecting among competing design objectives.
Why use it?
It helps search for trade-offs under constraints and presents Pareto fronts, which show solutions that cannot improve one objective without worsening another.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for engineering design, constrained problems, evolutionary algorithms, benchmark studies, and selecting among competing design objectives.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dralkh/iktinah/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/iktinah --skill pymoo
Clone the repo
git clone --depth 1 https://github.com/dralkh/iktinah

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/iktinah/pymoo/github.svg)](https://agentmods.dev/skills/dralkh/iktinah/pymoo)
Your own site
<a href="https://agentmods.dev/skills/dralkh/iktinah/pymoo"><img src="https://agentmods.dev/badge/skills/dralkh/iktinah/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/iktinah/pymoo"><img src="https://agentmods.dev/badge/skills/dralkh/iktinah/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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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 $0.00023 $0.02531
Sonnet 5 $0.00009 $0.01013
Haiku 4.5 $0.00005 $0.00506

Measured 5d ago against content hash e32a8655174c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 5d 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

1 near-identical copy found in the catalogue:

  • 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. 5d 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/iktinah (77 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 5,063 once invoked, about $0.0002 per session on Opus 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-03.

Related

Other skills, from other repositories

sci-extract

Read an academic paper end to end and extract professional research insights, figures, metadata, and critique. Use this skill whenever the user shares a scientific paper, review paper, survey paper, systematic review, meta-analysis, scoping review, arXiv link, DOI, PDF, or pasted paper text and asks to read…

ShZhao27208/Aut_Sci_Write · 143 tokens

sci-polish

Two-stage academic paper polishing skill. Stage A reduces AI detection traces (targeting GPTZero, Turnitin, Originality.ai). Stage B performs 8-dimension quality improvement (grammar, tone, coherence, conciseness, terminology, structure, argument clarity, journal compliance). Use whenever the user asks to polish…

ShZhao27208/Aut_Sci_Write · 90 tokens

sci-ppt

Generate professional academic PowerPoint (PPTX) presentations from paper PDFs, structured outlines, or plain text. Use for thesis defense, seminar reports, literature presentations, and graduate school applications. Supports automatic figure extraction, LaTeX formula rendering, and bilingual (Chinese/English) layouts.

ShZhao27208/Aut_Sci_Write · 63 tokens

econ-compass

Your compass for navigating economics literature. Find the most important, must-read papers in any economics field or research area — from broad subfields like labor economics or macroeconomics to narrow topics like 'carbon pricing' or 'digitalization and firm innovation'. This skill curates essential reading lists by…

mimaowang/econ-compass · 195 tokens

kami-deck

A lab-meeting deck on gut-microbiome links to sleep quality — the design, the results, the caveats, and the next experiment. Built as a decision-grade academic research deck for lab group, PI.

linyeping/Metis · 49 tokens

html-ppt-zhangzara-monochrome

A grant proposal on CRISPR base-editing for sickle-cell disease — the hypothesis, the approach, the milestones, and the risk. Built as a decision-grade academic research deck for grant review committee.

linyeping/Metis · 54 tokens