nsga2 SKILL.md skillA

nsga2 from optima-cityu/llm4ad_next is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add optima-cityu/llm4ad_next/nsga2@git:20260825.2005c66

Pins git:20260825.2005c66 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
optima-cityu/llm4ad_next
Path
skills/algo-design/nsga2/SKILL.md
Versions recorded
1
Latest version
git:20260825.2005c66, committed Aug 25, 2026
Size
2,529 bytes
Repository stars
674
License
BSD-3-Clause

NSGA-II multi-objective evolutionary method skill. USE WHEN the user explicitly requests NSGA-II / Non-dominated Sorting Genetic Algorithm, or wants multi-objective optimization with non-dominated sorting and crowding distance selection.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# NSGA-II Skill

> **Paper**: Deb et al., "A fast and elitist multiobjective genetic algorithm: NSGA-II", IEEE TEC 2002.

## 1. Method Essence

NSGA-II is a classic multi-objective GA with a two-step selection mechanism:

1. **Non-dominated sorting**: Divide the population into layers — Pareto front layer (not dominated by anyone), second layer (dominated only by front layer), etc.; earlier layers have higher priority for survival
2. **Crowding distance**: Within the same layer, sort by "neighbor sparsity" in objective space; sparse individuals are preserved first (maintains uniform front coverage)

Overall cycle: Generate offspring → merge parent-offspring → non-dominated sorting → truncate to pop_size by layer + crowding → next generation. LLM version uses LLM operators (E1/E2/M1/M2) instead of traditional genetic operators for offspring generation.

## 2. Recommended Parameters

See `params.yaml` in this directory for the recommended parameter configuration.

**Note**: The number of objectives is determined by the length of `objective_metrics`.

### What Happens During Evolution

1. Population initialized; evaluate all individuals
2. Each generation:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add optima-cityu/llm4ad_next/nsga2@sha256:fa985c1b6f75b920

The line at the top of this page pins the label git:20260825.2005c66, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dzo7igukxcpzuesf.svg)](https://markdownregistry.com/a/art_dzo7igukxcpzuesf)

6 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 25, 2026.

versioncommittedcommitsizeaudit
git:20260825.2005c66 latest2026-08-25 2005c66 2,529 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2529 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

optima-cityu/llm4ad_next · 674 stars · license BSD-3-Clause · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dzo7igukxcpzuesf
GET https://markdownregistry.com/api/v1/resolve?ref=optima-cityu/llm4ad_next/nsga2
GET https://markdownregistry.com/api/v1/blob/fa985c1b6f75b920a8dab8d8642509d5840832373c6bd5376c62393a2437b660

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from optima-cityu/llm4ad_next

AGENTS.md AGENTS.md file
optima-cityu/llm4ad_next · AGENTS.md
git:20260830.69fa0ab · audit A · 674 stars
CLAUDE.md CLAUDE.md file
optima-cityu/llm4ad_next · CLAUDE.md
git:20260812.3a82775 · audit A · 674 stars
writing-plans SKILL.md skill
optima-cityu/llm4ad_next · docker/knowledge-parser/skills/writing-plans/SKILL.md · Use before a multi-step document restructuring task to map the source, preserve important relationships, and decide…
git:20260920.4c71fce · audit A · 674 stars
diverse-island-ga SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/diverse-island-ga/SKILL.md · Diverse Island Genetic Algorithm skill. USE WHEN the user explicitly requests Diverse Island GA / diversity-oriented…
git:20260908.f40b41b · audit A · 674 stars
dyca SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/dyca/SKILL.md · DyCA (Dynamic Clustering Algorithm) method skill. USE WHEN the user explicitly requests DyCA / dynamic clustering…
git:20260908.f40b41b · audit A · 674 stars
eoh SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/eoh/SKILL.md · Evolution of Heuristics (EOH) method skill. USE WHEN the user explicitly requests EoH / Evolution of Heuristics, or…
git:20260825.2005c66 · audit A · 674 stars
funsearch SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/funsearch/SKILL.md · FunSearch (Program Search) method skill. USE WHEN the user explicitly requests FunSearch / Program Search, or wants…
git:20260825.2005c66 · audit A · 674 stars
island-ga SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/island-ga/SKILL.md · Island Genetic Algorithm (IslandGA) method skill. USE WHEN the user explicitly requests IslandGA / island genetic…
git:20260908.f40b41b · audit A · 674 stars
mcts-ahd SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/mcts-ahd/SKILL.md · Monte Carlo Tree Search for Automatic Heuristic Design (MCTS-AHD) method skill. USE WHEN the user explicitly requests…
git:20260825.2005c66 · audit A · 674 stars
meoh SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/meoh/SKILL.md · Multi-objective Evolution of Heuristics (MEoH) method skill. USE WHEN the user explicitly requests MEoH /…
git:20260825.2005c66 · audit A · 674 stars
moead SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/moead/SKILL.md · MOEA/D (Multi-objective Evolutionary Algorithm based on Decomposition) method skill. USE WHEN the user explicitly…
git:20260825.2005c66 · audit A · 674 stars
reevo SKILL.md skill
optima-cityu/llm4ad_next · skills/algo-design/reevo/SKILL.md · Reflective Evolution (ReEvo) method skill. USE WHEN the user explicitly requests ReEvo / Reflective Evolution, or wants…
git:20260825.2005c66 · audit A · 674 stars

Every file in optima-cityu/llm4ad_next

Browse by kind, by grade A, or by owner.