nvidia/cuopt-model-mapper
Map interpreted optimization problems into cuOpt-native models for the fast path with minimal clarifying questions.
npx skills add https://github.com/NVIDIA/cuopt-examples --skill cuopt-model-mapper
Use this skill in the fast path after the request has already been identified as an optimization problem and the data has been interpreted enough to support model construction.
This skill takes the working interpretation of the problem and maps it directly into cuOpt-native model objects.
The fast path should avoid unnecessary architecture.
This skill exists to:
This skill is not for replayable/auditable artifact design. That belongs to a different path.
Use this skill only when the following are already mostly clear:
If those conditions are not met, first use:
optimization-intent-routeroptimization-mode-router if execution mode may matter for replayability, audit, export, or reusetabular-optimization-ingestionFor the fast path, map directly from the interpreted data into cuOpt structures.
Do not introduce a replayable intermediate artifact unless the user asks for replayability, auditability, export, or reuse.
In NemoClaw sandbox: before building the cuOpt model, confirm
cuopt-sandbox gates completed (probe → select gRPC capability → smoke test).
Do not build a parallel heuristic assigner "first" — cuOpt is the first
and only solver for assignments/schedules.
Before building, confirm internally:
Use the unresolved blocker list from ingestion as the starting point; do not reopen broad exploratory questioning unless the current interpretation is clearly inconsistent.
If one non-retrievable modeling choice would change the meaning of the solve, ask exactly one concise blocking question.
Scheduling with no stated objective: Feasibility (no double-booking,
respect unavailability, assign every item) belongs in hard constraints.
Do not deliver a greedy feasible schedule first. Ask one objective
question if needed, or state a default secondary objective (e.g. balance
slot times, minimize penalty slacks), then solve with cuOpt.
Examples:
numerical-optimization-formulation for formulation disciplinecuopt-numerical-optimization-api-python (or cuopt-numerical-optimization-api-cli for MPS inputs)numerical-optimization-formulation for formulation disciplinecuopt-numerical-optimization-api-pythonrouting-formulationcuopt-routing-api-pythonEven in fast mode, keep enough working traceability to avoid confusion during the same interaction.
At minimum, be able to state:
Do this without building a full replayable artifact.
Return:
Typical direct mappings include:
Typical direct mappings include:
Interpreted problem:
profit column is objective coefficientlabor_hours and steel_units are resource coefficientsFast-path mapping:
Interpreted problem:
Fast-path mapping:
Interpreted problem:
Correct behavior:
Do not default to continuous variables when the decisions represent discrete units, counts, assignments, vehicles, workers, items, or yes/no choices.
Ask if unclear, but if the problem statement strongly implies discreteness, model it as MILP rather than LP.
Always report at least:
If relevant, also mention which constraint or resource appears to be most limiting.
numerical-optimization-formulationcuopt-numerical-optimization-api-python (or cuopt-numerical-optimization-api-cli for MPS inputs)cuopt-user-rulescuopt-sandbox (gates + selected gRPC path)before any LP/MILP solve
numerical-optimization-formulationcuopt-numerical-optimization-api-pythoncuopt-user-rulescuopt-sandbox (gates + selected gRPC path)before any QP solve
routing-formulationcuopt-routing-api-pythoncuopt-user-rulescuopt-sandbox (gates + REST)before any routing solve
This skill succeeds when the agent can go from:
to:
without introducing unnecessary replay/audit machinery.
Take nvidia/cuopt-model-mapper from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.