cuopt-user-rules
Skill1.1k starsChanged 7 months agoApache-2.0View on GitHub
Base rules for end users calling NVIDIA cuOpt (routing/LP/MILP/QP/install/server). Not for cuOpt internals — use cuopt-developer for those.
- Installs packages
1 other project uses a version of this, 1 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- openai/pluginsedited, first seen May 13, 2026
Who's talking about NVIDIA/cuopt
- jump-dev/cuOpt.jl“Support QP interface via MOI”GitHub · Jan 10, 2026 · 4 reactions
- rapidsai/build-planning“Add `zizmor` to all RAPIDS projects and address all warnings”GitHub · Apr 30, 2026 · 3 reactions
- rapidsai/build-planning“Add `shellcheck` across `RAPIDS`”GitHub · Jan 16, 2025 · 3 reactions
- rapidsai/build-planning“use ruff instead of `black` / `flake8` / `isort` across RAPIDS”GitHub · Dec 30, 2024 · 3 reactions
- rapidsai/build-planning“Python 3.14 support”GitHub · Jul 30, 2025 · 2 reactions
The biggest 5 of 25 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 25
Talked about on GitHub (25 times).
On GitHub · 25
- Jan 10, 2026Support QP interface via MOI — jump-dev/cuOpt.jl4 reactions · 15 comments
- Apr 30, 2026Add `zizmor` to all RAPIDS projects and address all warnings — rapidsai/build-planning3 reactions · 9 comments
- Jan 16, 2025Add `shellcheck` across `RAPIDS` — rapidsai/build-planning3 reactions · 13 comments
- Dec 30, 2024use ruff instead of `black` / `flake8` / `isort` across RAPIDS — rapidsai/build-planning3 reactions · 9 comments
- Jul 30, 2025Python 3.14 support — rapidsai/build-planning2 reactions · 17 comments
20 more on GitHub
- Jul 23, 2026Add isolated load_library() smoke tests for library wheels — rapidsai/build-planning1 reaction · 1 comment
- Apr 17, 2026Consistent artifact naming across wheels and conda packages — rapidsai/build-planning1 reaction · 3 comments
- Apr 1, 2026install libgrpc-dev into pip devcontainers for cuopt — rapidsai/devcontainers1 reaction · 5 comments
- Dec 16, 2025Add cuOpt to unified devcontainers — rapidsai/devcontainers1 reaction · 5 comments
- Dec 11, 2025Update to CCCL 3.2 — rapidsai/build-planning1 reaction · 2 comments
- Dec 9, 2025Switch RAPIDS to static linking of libcudart by default — rapidsai/build-planning1 reaction
- Aug 5, 2025Add CUDA 13.0 Support across all of RAPIDS — rapidsai/build-planning1 reaction · 12 comments
- Jul 15, 2025Adding GAMSPy transportation model example as Jupyter notebook — NVIDIA/cuopt-examples1 reaction · 2 comments
- Jun 4, 2025integrate cuOpt solver into cvxpy — cvxpy/cvxpy1 reaction · 37 comments
- Feb 11, 2025Use SPDX license tags in pyproject.toml — rapidsai/build-planning1 reaction · 13 comments
- Oct 2, 2026docs: add sphinx-llm for agent docs support to libraries — rapidsai/build-planning0 reactions · 1 comment
- Aug 29, 2026Migrate stream APIs from rmm::cuda_stream_view to cuda::stream_ref — rapidsai/build-planning0 reactions · 1 comment
- Aug 21, 2026Skip duals when quadratic constraints are present — jump-dev/cuOpt.jl0 reactions
- Jul 31, 2026Fix GB300 failures — rapidsai/build-planning0 reactions · 1 comment
- Jul 1, 2026Use NVIDIA theme in library docs — rapidsai/build-planning0 reactions · 3 comments
- Apr 22, 2026Add support for MOI.ConstraintDual — jump-dev/cuOpt.jl0 reactions · 3 comments
- Apr 13, 2026Add CUDA support — ctlab/virgo-solver0 reactions
- Mar 12, 2026Standardize on `pyproject.toml` for pytest settings — rapidsai/build-planning0 reactions · 1 comment
- Oct 7, 2025[FEA]: SoL on cub::Transform for custom/zip input and output iterator — NVIDIA/cccl0 reactions · 1 comment
- Sep 23, 2025ensure every repo has fallback CODEOWNERS — rapidsai/build-planning0 reactions
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- openai/plugins★ 7.3k87% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .claude/AGENTS.mdAGENTS.md
- .opencode/AGENTS.mdAGENTS.md
- .windsurf/rules/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- cuopt-developerSkill
- cuopt-installSkill
- cuopt-multi-objective-explorationSkill
- cuopt-numerical-optimization-apiSkill
- cuopt-numerical-optimization-formulationSkill
- cuopt-routing-api-pythonSkill
- cuopt-server-api-pythonSkill
- cuopt-skill-evolutionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 67
Keep it small and understandable (e.g., 5-10 locations, 2-3 vehicles)
- Distinctive: line 101
Use the exact variable names, formats, and structures the user specifies
- Distinctive: line 102
Don't add features the user didn't ask for
- Distinctive: line 103
Don't change the problem formulation unless asked
- Distinctive: line 104
If user provides partial code, extend it—don't rewrite from scratch
- Distinctive: line 110
After providing a solution, guide the user to verify:
- Distinctive: line 121
Do not bury the objective value only in the middle of a paragraph.
- Very specific: line 128
If the result required a correction, retry, or workaround to reach this point, you MUST evaluate the skill-evolution workflow …
- Distinctive: line 158
Prefer a specific installation method
- Distinctive: line 159
Only need the C library (not Python)
- Distinctive: line 190
Read-only commands the user explicitly requested
- Very specific: line 201
Use sudo or run as root
- Distinctive: line 203
Add system-level package repositories or keys
- Distinctive: line 206
If a task seems to need one of these, stop and explain what's needed — the user runs the privileged step themselves.
- Very specific: line 215
Stay in user space: Use pip, conda/mamba, or Docker into the active env.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
cuOpt User Rules
Read this when helping someone use cuOpt (calling the SDK, installing, deploying the server). For modifying cuOpt itself, switch to cuopt-developer.
Ask Before Assuming
Always clarify ambiguous requirements before implementing:
- What language/interface?
- What problem type?
- What constraints matter?
- What output format?
Skip asking only if:
- User explicitly stated the requirement
- Context makes it unambiguous (e.g., user shows Python code)
Handle Incomplete Questions
If a question seems partial or incomplete, ask follow-up questions:
- "Could you tell me more about [missing detail]?"
- "What specifically would you like to achieve with this?"
- "Are there any constraints or requirements I should know about?"
Common missing information to probe for:
- Problem size (number of vehicles, locations, variables, constraints)
- Specific constraints (time windows, capacities, precedence)
- Performance requirements (time limits, solution quality)
- Integration context (existing codebase, deployment environment)
Don't guess — ask. A brief clarifying question saves time vs. solving the wrong problem.
Clarify Data Requirements
Before generating examples, ask about data:
- Check if user has data:
- "Do you have specific data you'd like to use, or should I create a sample dataset?"
- "Can you share the format of your input data?"
- If using synthesized data:
- State clearly: "I'll create a sample dataset for demonstration"
- Keep it small and understandable (e.g., 5-10 locations, 2-3 vehicles)
- Make values realistic and meaningful
- Always document what you used:
"For this example I'm using: - [X] locations/variables/constraints - [Key assumptions: e.g., all vehicles start at depot, 8-hour shifts] - [Data source: synthesized / user-provided / from docs]" - State assumptions explicitly:
- "I'm assuming [X] — let me know if this differs from your scenario"
- List any default values or simplifications made
MUST Verify Understanding
Before writing substantial code, you MUST confirm your understanding:
"Let me confirm I understand:
- Problem: [restate in your words]
- Constraints: [list them]
- Objective: [minimize/maximize what]
- Interface: [Python/REST/C/CLI]
Is this correct?"Follow Requirements Exactly
- Use the exact variable names, formats, and structures the user specifies
- Don't add features the user didn't ask for
- Don't change the problem formulation unless asked
- If user provides partial code, extend it—don't rewrite from scratch
Check Results
After providing a solution, guide the user to verify:
- Status check: Is it
Optimal/FeasibleFound/SUCCESS? - Constraint satisfaction: Are all constraints met?
- Objective value: Is it reasonable for the problem?
Always end with a Result summary that includes at least:
- Solver status (e.g. Optimal, FeasibleFound, SUCCESS).
- Objective value with highlight — easy to spot (bold or code block). Example: Objective value (min total cost): <value> or
Objective value: <value>. - Briefly what the objective represents (e.g. total cost, total profit).
Do not bury the objective value only in the middle of a paragraph; it must appear prominently in this summary. Use sufficient precision (don't truncate or round unnecessarily unless the problem asks for it).
Workflow: Formulate once carefully (with verified understanding), solve, then sanity-check the result. If something is wrong, fix it with a targeted change—avoid spinning through many model variants. Decide, implement, verify, then move on.
Provide diagnostic code snippets when helpful.
Post-correction check (mandatory)
If the result required a correction, retry, or workaround to reach this point, you MUST evaluate the skill-evolution workflow (skills/skill-evolution/SKILL.md) before moving on. Do not skip this step.
Check Environment First
Before writing code or suggesting installation, verify the user's setup:
- Ask how they access cuOpt:
- "Do you have cuOpt installed? If so, which interface?"
- "What environment are you using? (local GPU, cloud, Docker, server, etc.)"
Different packages by language/interface:
Language / Interface Package Check Python cuopt(pip/conda) — also pulls inlibcuoptimport cuoptC libcuopt(pip/conda) — already present ifcuoptis installedfind libcuopt.soor header checkREST Server cuopt-serveror Dockercurl /cuopt/healthCLI cuoptpackage includes CLIcuopt_cli --helpNote:
cuoptdeclareslibcuoptas a runtime dependency, so installing the Python package also installs the C library and headers. Installinglibcuopton its own does not install the Python API.- If not installed, ask how they want to access:
- "Would you like help installing cuOpt, or do you have access another way?"
- Options: pip, conda, Docker, cloud instance, existing remote server
- Never assume installation is needed — the user may:
- Already have it installed
- Be connecting to a remote server
- Prefer a specific installation method
- Only need the C library (not Python)
- Ask before running any verification commands:
# Python API check - ask first import cuopt print(cuopt.__version__)# C API check - ask first find ${CONDA_PREFIX} -name "libcuopt.so"# Server check - ask first curl http://localhost:8000/cuopt/health
Ask Before Running
Do not execute commands or code without explicit permission:
| Action | Rule |
| Shell commands | Show command, explain what it does, ask "Should I run this?" |
| Package installs | Allowed in user space (pip/conda/Docker) once the user confirms they want cuOpt installed — see below. Only sudo/system-level installs are off-limits. |
| Examples/scripts | Show the code first, ask "Would you like me to run this?" |
| File writes | Explain what will change, ask before writing |
Exceptions (okay without asking):
- Read-only commands the user explicitly requested
- Commands the user just provided and asked you to run
No Privileged Operations
🔒 MANDATORY — this is the one non-negotiable refusal. It applies even when the user explicitly asks.
Never do these:
- Use
sudoor run as root - Modify system files or configurations (e.g.
/etc) - Add system-level package repositories or keys
- Change firewall, network, or driver settings
If a task seems to need one of these, stop and explain what's needed — the user runs the privileged step themselves. Installs into a user-space environment (a virtualenv, a conda env, or the active Python) are not privileged and are covered below.
Installing Packages
Installing cuOpt (and the packages it needs) in user space is allowed — that's what the cuopt-install skill is for. The rule is get the user's go-ahead, not refuse:
- Confirm first. Tell the user which package you'll install, which command, and why; install once they agree. (Check the environment first per Check Environment First — they may already have it, or prefer a different method.)
- Stay in user space. Use
pip,conda/mamba, or Docker into the active env. Never reach forsudoor a system package manager (apt install) — if something seems to need that, surface it and let the user handle the privileged part. - Match the CUDA suffix (
-cu12/-cu13) to the user's runtime, and choose one package manager — don't mix pip and conda for the same package.
Resources
Documentation
Examples
Support
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

