Compare candidates of one design or search its parameter ranges with explicit objectives and constraints, and keep a family of sizes. Use when the person asks "which is best", wants the lightest, stiffest or cheapest version, a trade-off between two or more variants, or small, medium and large versions. For structurally different approaches to a new idea use concept-generation.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Explore Variants?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kaizensx-explore-variants)
---
name: explore-variants
description: Compare candidates of one design or search its parameter ranges with explicit objectives and constraints, and keep a family of sizes. Use when the person asks "which is best", wants the lightest, stiffest or cheapest version, a trade-off between two or more variants, or small, medium and large versions. For structurally different approaches to a new idea use concept-generation.
---
# Explore variants
FORM tools: `explore_alternatives()`, `optimize()`, `inverse_design()`, `get_inverse_design()`, `design_table()`,
`save_variant()`, `list_variants()`, `preview_change()`, `render()`, `compare_revisions()`, `commit_change()`.
1. State hard constraints before ranking: measured interfaces stay fixed, the envelope holds, the fit window holds.
Only vary `form` and `process` parameters unless the person asks otherwise.
2. Pick the search by the question:
| Question | Call |
|---|---|
| a small grid, 1-2 parameters, up to 5 values each | `explore_alternatives(axes=[{"key": ..., "values": [...]}], weights=...)` |
| one goal under constraints, 1-4 parameters | `optimize(vary=[{"key", "min", "max"}], objective={"minimize": "solid_mass_g"}, constraints=["statics.safety_factor >= 3"])` (solid_mass_g uses the design's material: set_appearance first) |
| a requirement and a trade-off (a Pareto front), each variant built and studied | `inverse_design(minimize=[...], require=["fea.safety_factor >= 3"])`, then `get_inverse_design()` |
| a family of sizes | `design_table(scales={"S": 0.8, "M": 1.0, "L": 1.25})` or `rows=[{name, values}]`; `save=True` keeps the good rows |
| keep one candidate by name without committing | `save_variant(project, name, values)`; `list_variants()` |
Every candidate is built by the kernel. Nothing is saved until you commit or save a variant.
3. Look at the best two or three: `render(values=..., view="sheet")` with the same views for each.
4. Recommend one with concrete trade-offs, then `preview_change()` and, with the person's agreement,
`commit_change()`.
Honesty
- Name the objectives that were actually evaluated and the finite set searched: "best of 40 builds", not "optimal".
A Pareto front is approximate; quote the budget it used.
- Mass and volume are computed from the solid; print time and filament come only from a real slice (simulated).
Never substitute solid volume for filament use or invent a print estimate.
- `statics.*` metrics are simple models. `fea.*` constraints solve the design's strength study on a bounded number of
candidates; say how many were solved. Neither is a strength qualification of a layered part.
- Aesthetic judgement and physical tests stay separate from the ranking. Ask the person only when the remaining
preference materially changes the design.