Skip to content

update cuopt_on_nemoclaw for nemoclaw 0.0.55#155

Open
tmckayus wants to merge 1 commit into
NVIDIA:mainfrom
tmckayus:addclaw
Open

update cuopt_on_nemoclaw for nemoclaw 0.0.55#155
tmckayus wants to merge 1 commit into
NVIDIA:mainfrom
tmckayus:addclaw

Conversation

@tmckayus

Copy link
Copy Markdown
Collaborator

No description provided.

@rgsl888prabhu rgsl888prabhu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see several skills, is it possible to collapse few into one and move details parts or units under references folder in skills.

Also observed there are several cuOpt specific details, would it make sense to move any non nemo claw specific details to cuOpt any may be there are few which are duplicates.

@@ -0,0 +1,98 @@
---
name: always-tool-discovery

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we expecting users to copy skills from openclaw-skills and put it in skills folder or it would be automated ?

@@ -0,0 +1,98 @@
---
name: always-tool-discovery
description: READ FIRST in every NemoClaw sandbox session. STOP before "I can't read files", "no read tool", "no exec", "can't list directory", "please paste ls/cat output", or "I only have tool_search/tool_describe/tool_call". Real tools (read, write, exec, edit, process) are NOT missing — tools.toolSearch hides them. Use tool_call tool_search query shell or read, then tool_describe, then tool_call the real tool. Never ask the user to paste filesystem output. Applies to ALL tasks including cuOpt, CSV uploads, and scheduling — run tool_search before claiming any file or shell capability is absent.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please refer to cuOpt skill structure so that when we move or add CI, there will not be too many changes.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And may be we can reduce the length of the description. We can move other details to skills.


# Sandbox Tool Discovery (NemoClaw / OpenClaw catalog)

**If you find yourself thinking "I don't have an exec / read / python /

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be worded towards positive, like use tool search to look for available options for these.

The correct response to "my tool list looks too short" is to run
`tool_search`. It is **not** to:

- Apologize to the user and ask them to paste shell output.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be this would not be required

`tool_call`, that is **the expected state** — the real tools are
reachable via the catalog, not absent.

## How the catalog works

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be use tool catalog in description

@@ -0,0 +1,117 @@
---
name: cuopt-first
description: MANDATORY in NemoClaw sandbox. If you only see tool_search/tool_describe/tool_call, run tool_search (query read or shell) BEFORE claiming you cannot read files or run commands — see always-tool-discovery. STOP before any schedule/heuristic/draft-plan output. FIRST actions: (1) tool_search→exec if needed, (2) probe_cuopt.py, (3) cuopt-remote-env + smoke with CUOPT_REMOTE_HOST/PORT. Do NOT use from cuopt import milp — MILP is cuopt.linear_programming.problem.Problem with INTEGER vars; see cuopt-python-api. Do NOT wait for user to say "use cuOpt". Triggers: schedule, league, CSV upload, minimize, assign, MILP, doubleheader, ImportError, ModuleNotFoundError, wrong import path.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets keep description small and simple, move details below.

@@ -0,0 +1,107 @@
---
name: cuopt-python-api
description: STOP on ImportError, ModuleNotFoundError, or guessed imports (from cuopt import milp, import cuopt.milp, cuopt.solve). LP/MILP/QP share ONE Python entrypoint cuopt.linear_programming.problem.Problem — MILP uses INTEGER variables, not a separate milp module. With CUOPT_REMOTE_HOST/PORT set before Python starts, remote gRPC MILP works in this sandbox. One failed import is NOT proof cuOpt is unavailable — run the verify command below, then read cuopt-numerical-optimization-api-python. Triggers: scheduling MILP, assignment, import failed, wrong API path.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same suggestion for description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants