executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
genetic-algorithmBuild, tune, run, persist, and troubleshoot pygad.GA for custom single- and multi-objective optimization.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to configure and operate pygad.GA directly: define a fitness function, shape the population and genes, choose selection/crossover/mutation operators, run single- or multi-objective optimization, inspect the best solution, persist a run, or debug GA validation/runtime errors.
benchmarks sub-skill.matplotlib, or detailed visual summaries: use the results-and-visuals sub-skill.neural-networks sub-skill.num_genes, sol_per_pop, value bounds/choices (gene_space), type/precision (gene_type), and whether the fitness is single-objective (return one number) or multi-objective (return list, tuple, or numpy.ndarray).(ga_instance, solution, solution_idx). With fitness_batch_size, the second/third arguments become batches and the return must contain one fitness value per solution.pygad.GA. Set at least num_generations, num_parents_mating, fitness_func, and either initial_population or both sol_per_pop and num_genes.parent_selection_type, crossover_type, mutation_type), then custom callables only when the built-ins cannot express the workflow.ga.run(), then ga.best_solution(ga.last_generation_fitness), ga.run_completed, ga.generations_completed, and ga.best_solution_generation.ga.save(filename_without_pkl) and restore with pygad.load(filename_without_pkl). The .pkl suffix is added automatically.--selector for NSGA variants and writes only temporary state.-loss or 1 / (loss + epsilon).save_solutions=True and save_best_solutions=True off for large populations unless the user explicitly needs full history.parallel_processing only when the fitness function is picklable and expensive enough to offset process overhead.