Skip to content
Back to skills

Genetic Algorithms

ASecurity

"Use scikit-opt GA-family APIs for Gray-coded, elitist, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
businessgoapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill genetic-algorithms --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Genetic Algorithms?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Genetic Algorithms
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-genetic-algorithms/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-genetic-algorithms)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: genetic-algorithms
description: "Use scikit-opt GA-family APIs for Gray-coded, elitist, and
  real-coded optimization."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# genetic-algorithms

Use this sub-skill for bounded optimization with `GA`, `EGA`, and `RCGA`, including integer or mixed-precision search, continuation with repeated `run(max_iter)` calls, history extraction, and safe `register()`-based operator swaps.

## Read these bundled files
- `references/api-reference.md` — exact constructor signatures, parameter meanings, result/history fields, and the `GA_TSP` handoff note. Read this when you need precise argument names or return values.
- `references/workflows.md` — which GA-family class to choose, how to continue a run, how to set integer or mixed precision, and when to route problem workflows elsewhere. Read this before planning a solution.
- `references/custom-operators.md` — `SkoBase.register`, operator signatures, built-in `ranking`/`selection`/`crossover`/`mutation` helpers, and a safe custom selection pattern. Read this when replacing defaults.
- `references/troubleshooting.md` — fixes for even-population assertions, objective shape issues, bound/precision mismatches, penalty surprises, custom operator errors, and stochastic convergence. Read this when a run fails or behaves oddly.
- `scripts/smoke_genetic_algorithms.py` — tiny deterministic import-and-run smoke for GA, EGA, RCGA, and `register()` behavior. Run this after changes or before handoff.

## Route elsewhere when needed
- Route DE, PSO, SA, and AFSA continuous optimizers to `continuous-optimizers`.
- Route full TSP or routing workflows to `routing-and-combinatorial`; treat `GA_TSP` only as a handoff marker here.
- Route run-mode, vectorization, cache, multiprocessing, and `GA.to(device)` details to `objective-functions-and-speedups`.

This sub-skill stays small on purpose: the bundled references carry the exact API and workflow detail, while the runtime tree remains self-contained.

Files in this skill

  • SKILL.md2 KB
  • references/api-reference.md4.1 KB
  • references/custom-operators.md2.4 KB
  • references/troubleshooting.md2.3 KB
  • references/workflows.md3 KB
  • scripts/smoke_genetic_algorithms.py4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.