nvwb-project
Skill156 starsChanged 7 days agoApache-2.0View on GitHub
Apply when working in a directory containing .project/spec.yaml — provides NVIDIA AI Workbench project awareness for in-container development. This skill provides context about project structure, environment configuration, and rebuild/restart requirements.
- Reads credentials
- Installs packages
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- module-1Skill
- module-2Skill
- module-3Skill
- module-4Skill
- module-5Skill
- module-6Skill
- module-7Skill
- nvwbSkill
- setup-workshop-nemoclaw-operatorSkill
- setup-workshop-nemoclawSkill
- setup-workshopSkill
- workshopSkill
- module-1Skill
- module-2Skill
- module-3Skill
- module-4Skill
- module-5Skill
- module-6Skill
- module-7Skill
- nvwb-projectSkill
- nvwbSkill
- setup-workshop-nemoclaw-operatorSkill
- setup-workshop-nemoclawSkill
- setup-workshopSkill
- workshopSkill
- code-reviewSkill
- technical-writingSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
If .project/spec.yaml exists in the project root, this is a Workbench project.
- Distinctive: line 46
After editing a build-time or runtime file, always tell the user what action is needed.
- Very specific: line 54
If compose.yaml or docker-compose.yaml exists, multi-container services may be running alongside the project container:
- Very specific: line 62
If /project/agent-bridge/ exists, this project is set up for communication between inner agent (here, in the container) and outer agent (on …
- Very specific: line 65
Read common-context/context.md for current task state
- Very specific: line 66
Write a clear request to /project/agent-bridge/inner.md
- Distinctive: line 67
Wait for the user to relay it to outer agent on their local machine
- Very specific: line 68
Read the response from /project/agent-bridge/outer.md
- Very specific: line 70
Rules: Do not copy files into or out of agent-bridge/ — it is a communication channel, not a file staging area.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
NVIDIA AI Workbench — In-Container Project Awareness
This skill activates when Codex is working inside an AI Workbench project container (detected by .project/spec.yaml existing in or above the current working directory).
Detection
If .project/spec.yaml exists in the project root, this is a Workbench project. Read it first to understand the project's layout, apps, mounts, and resources.
Key Facts
- The project root is bind-mounted at
/project/inside the container - The
nvwbCLI is NOT available inside the container — allnvwbcommands must run on the user's local machine (the control plane) - This container may be running locally or on a remote — it does not matter for in-container work; the project files are always at
/project/ - Code in layout directories is live-mounted — edits take effect immediately
- The environment variable
AI_WORKBENCH_FLAG=truemay be set to detect Workbench context - Compose services are reachable by service name (e.g.
curl http://api:8080/) via the sharedworkbenchnetwork
What's Safe to Edit
Freely editable — no action needed:
- Any files in layout directories (code/, data/, models/ or custom paths from
spec.yaml) - Application code, scripts, notebooks
Requires rebuild — inform user to run nvwb build on the host:
apt.txt— system packagesrequirements.txt— pip packagespreBuild.bash— pre-install build scriptpostBuild.bash— post-install build script
Requires restart — inform user to run nvwb close then nvwb open on the host:
variables.env— runtime environment variables- Mount configuration changes in
.project/spec.yaml - App definitions in
.project/spec.yaml
Edit carefully — validate format:
.project/spec.yaml— do not break YAML structure; suggestnvwb validate project-specafter changes
When Informing the User
After editing a build-time or runtime file, always tell the user what action is needed. Examples:
I've updated
requirements.txtto add thetransformerspackage. You'll need to runnvwb buildon the host to rebuild the container with this change.
I've added
CUDA_VISIBLE_DEVICES=0tovariables.env. This will take effect after a container restart — runnvwb closethennvwb openon the host.
Compose Awareness
If compose.yaml or docker-compose.yaml exists, multi-container services may be running alongside the project container:
- Services communicate over a shared Docker network — use service names as hostnames (e.g.
http://api:8080/) /nvwb-shared-volume/is shared between containers- Changes to compose files require
nvwb compose down+nvwb compose upon the host — request this via the bridge if running as inner agent - Compose services exposed through the Workbench proxy use
NVWB_TRIM_PREFIX=trueas an environment variable in the service definition (not in spec.yaml)
Host↔Container Bridge
If /project/agent-bridge/ exists, this project is set up for communication between inner agent (here, in the container) and outer agent (on the user's local machine, where nvwb is installed).
When you need a local-machine action (compose restart, rebuild, nvwb command):
- Read
common-context/context.mdfor current task state - Write a clear request to
/project/agent-bridge/inner.md - Wait for the user to relay it to outer agent on their local machine
- Read the response from
/project/agent-bridge/outer.md
Rules: Do not copy files into or out of agent-bridge/ — it is a communication channel, not a file staging area. The content of inner.md and outer.md is unrestricted — include logs, snippets, and diagnostics as needed.
Sandbox: If hooks are configured, your actions are enforced — nvwb commands are blocked (use the bridge), sensitive environment variables are scrubbed from your shell commands, writes inside agent-bridge/ are restricted to your designated files, and reads of sensitive files and hook configuration are blocked. Do not attempt to modify hook configuration or settings files.
Note: if this project is running in a remote context, the bridge files live on the remote machine. The context name (from nvwb list contexts) is also the SSH alias — Workbench adds a matching entry to ~/.ssh/config. Outer agent can SSH directly using the context name to read and write bridge files without involving the user as a relay.
Requests can be rich prose — include what you changed, what you need done, and what you want reported back (logs, curl output, etc.).
See references/agent-bridge.md for templates and the full format guide.
Runtime Constraints
sudo is NOT available in the running container — the container runs as the workbench user without elevated privileges at runtime. If a task requires system-level changes, it must go in preBuild.bash or postBuild.bash.
Build Script Constraints
Build scripts (preBuild.bash, postBuild.bash) run during container image build:
- They CANNOT reference
/project/— the project directory is not mounted during build - Available variables:
$NVWB_UID,$NVWB_GIDfor file ownership - Both scripts run as the
workbenchuser (not root) — any write to a system directory requiressudo. This includesmkdir,npm install -g, writing to/usr/local/, etc. Shell redirections (>,>>) also run asworkbench, so usesudo teeinstead ofsudo command > /path.
References
See references/config-files.md for detailed information about each configuration file.
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.

