Agent skill

Remote Compute Nvidia

by PKU-YuanGroup in PKU-YuanGroup/OpenAI4S

Run GPU jobs on NVIDIA NIM microservices via host.compute.create('byoc:nvidia', ...).

Apache-2.0Auto-check passedBackend & APIs

Install Remote Compute Nvidia

skills CLI
$ npx skills add PKU-YuanGroup/OpenAI4S --skill remote-compute-nvidia -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PKU-YuanGroup/OpenAI4S remote-compute-nvidia --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/remote-compute-nvidia .claude/skills/remote-compute-nvidia && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
remote-compute-nvidia
GitHub stars
622
Token cost
~2.9k tokens
SKILL.md length
1,235 words
Files
5
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

Run GPU jobs on NVIDIA NIM microservices via host.compute.create('byoc:nvidia', ...).

  • Tasks that involve Microservices
  • SKILL.md covers Which form to pick, Workflow, submit_job details and When the user gives you a budget, plus 3 more sections
  • Runs Python scripts from its folder; calls curl, bash and docker; reaches integrate.api.nvidia.com; needs NVIDIA_API_KEY and NGC_API_KEY
  • Tasks that involve Third-party API integration

What it does

Remote Compute Nvidia is an agent skill from PKU-YuanGroup/OpenAI4S. Run GPU jobs on NVIDIA NIM microservices via host.compute.create('byoc:nvidia', ...). Covers both forms — selfhosted (an nvcr.io NIM container on a local GPU with --gpus all) and hosted (the fully-managed integrate.api.nvidia.com gateway, no local GPU) — sharing one submit→poll .result()→harvest flow. Load once you've decided to dispatch to NVIDIA NIM.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `README.md`, `README_zh.md` and `provider.json`).

It sits in Backend & APIs, covering Microservices and Third-party API integration. It works with NVIDIA AI Platform and Docker. The repository describes itself as: Open-source AI agent for scientific research. Analyze data in Python/R with Claude, GPT, Gemini, and more. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Microservices
  • Tasks that involve Third-party API integration

Example prompts

  • “byoc:nvidia”
  • “/remote-compute-nvidia”

Requirements

  • Python 3
  • Docker
  • A credential in NGC_API_KEY
  • A credential in NVIDIA_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 4a72e87. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • curl
    • bash
    • docker

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • integrate.api.nvidia.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NVIDIA_API_KEY
    • NGC_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Remote Compute Nvidia loads about 2.9k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 1,235 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PKU-YuanGroup/OpenAI4S at commit 4a72e87, republished under its Apache-2.0 licence (© PKU-YuanGroup). 1,235 words, ~2,891 tokens.

Download SKILL.mdSave it as .claude/skills/remote-compute-nvidia/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
remote-compute-nvidia
description
Run GPU jobs on NVIDIA NIM microservices via host.compute.create('byoc:nvidia', ...). Covers both forms — self_hosted (an nvcr.io NIM container on a local GPU with --gpus all) and hosted (the fully-managed integrate.api.nvidia.com gateway, no local GPU) — sharing one submit→poll .result()→harvest flow. Load once you've decided to dispatch to NVIDIA NIM.
license
Apache-2.0
origin
openai4s

You're dispatching to an NVIDIA NIM microservice. This provider speaks two forms that share ONE job contract, chosen per handle by provider_params={'nvidia': {'mode': ...}}:

  • self_hosted — pull and run an NVIDIA NIM container from nvcr.io on a local GPU host (--gpus all). The NIM server is the container's own long-lived process; the job curls it at http://localhost:8000 and health-gates on /v1/health/ready. Needs Docker + the NVIDIA Container Toolkit, plus an NGC API key (NGC_API_KEY) with pull access to the image.
  • hosted — no local GPU. A slim keepalive container is started and the job curls the fully-managed endpoint at https://integrate.api.nvidia.com with a Bearer nvapi-… key (NVIDIA_API_KEY). Use this when you have no local accelerator or just want the managed API.

Both forms create a Docker container that plays the "sandbox" role: inputs are untarred into /work, the job wrapper runs, and /work/out.tar.gz is harvested back into your workspace under hpc/<jobId>/ — identical to every other byoc: provider. The only prerequisite the open-source install needs is Docker (and, for self_hosted, the NVIDIA Container Toolkit for --gpus).

If compute.create('byoc:nvidia', …) returns unknown provider 'byoc:nvidia', the provider isn't discoverable in this install — confirm skills/remote-compute-nvidia/ ships both provider.json and provider.py.

Which form to pick

you havepickauth envwhere the job runs
a local NVIDIA GPU + Docker + Container Toolkitself_hostedNGC_API_KEYnvcr.io NIM container, localhost:8000
no local GPU, an nvapi-… keyhostedNVIDIA_API_KEYmanaged integrate.api.nvidia.com

self_hosted keeps weights and traffic on your machine and needs no per-request egress; hosted needs no GPU but every job request leaves for NVIDIA's gateway. Set the key in the environment before you submit — the host forwards only the declared vars (NGC_API_KEY, NVIDIA_API_KEY) to the confined helper, never the whole environment, and both are scrubbed from every log tail that leaves the sandbox.

Workflow

Every host.compute.* call here runs via the repl tool (the control-plane kernel), not the python tool — job submission opens the approval modal and talks to Docker from the orchestrator's own process, which must happen outside the sandboxed data workspace. The two kernels share your workspace directory but not memory, so the rhythm is: prepare inputs in a python cell, run create → submit_job in a repl cell and let the cell return (the kernel never blocks on compute), then poll .result() from a later repl cell until the status is terminal, and read the harvested hpc/<jobId>/ files back in the python tool.

host.compute.create('byoc:nvidia', provider_params={'nvidia': {...}}) is a stateless constructor — the tier card and the actual container creation both happen on the first submit_job(). submit_job/result/attach_job/close then work exactly as for SSH: .result() is non-blocking and is what drives the job forward — each call probes the container and, once the work is terminal, harvests out.tar.gz into hpc/<jobId>/. Nothing runs in the background: there is no daemon poller and no notification, so a job you never poll is never harvested.

Hosted form — call the managed API
python
# repl tool — cell ① submits and RETURNS
c = host.compute.create('byoc:nvidia', provider_params={'nvidia': {
    'mode': 'hosted',
}})
job = c.submit_job(
    intent='esmfold2 fold on target.fasta via NVIDIA hosted NIM',
    # the job script curls $OPENAI4S_NIM_URL with $NVIDIA_API_KEY —
    # never hard-code the endpoint or the key
    command='bash run_infer.sh',
    inputs=[{'src': 'run_infer.sh', 'dst_filename': 'run_infer.sh'},
            {'src': 'target.fasta', 'dst_filename': 'target.fasta'}],
    outputs=[{'glob': 'out/*.pdb', 'visibility': 'featured'},
             {'glob': '*.log', 'visibility': 'hidden'}],
    timeout_seconds=900)
print('JOB_ID:', job.job_id)  # ← cell ends here

The job's run_infer.sh reads the endpoint and key from the injected env, so it is form-agnostic:

bash
#!/usr/bin/env bash
set -eo pipefail
mkdir -p out
curl -sS -X POST "$OPENAI4S_NIM_URL/v1/biology/nvidia/esmfold2/predict" \
  -H "Authorization: Bearer $NVIDIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json > out/prediction.json
Self-hosted form — run a NIM container on your GPU
python
# repl tool — cell ① submits and RETURNS
c = host.compute.create('byoc:nvidia', provider_params={'nvidia': {
    'mode': 'self_hosted',
    'image': 'nvcr.io/nim/meta/esmfold2:1.0.0',   # the nvcr.io NIM image
}})
job = c.submit_job(
    intent='esmfold2 fold on target.fasta — local GPU NIM',
    command='bash run_infer.sh',
    inputs=[{'src': 'run_infer.sh', 'dst_filename': 'run_infer.sh'},
            {'src': 'target.fasta', 'dst_filename': 'target.fasta'}],
    outputs=[{'glob': 'out/*.pdb', 'visibility': 'featured'}],
    timeout_seconds=1800)
print('JOB_ID:', job.job_id)  # ← cell ends here

The NIM server boots inside the container; gate on readiness before the first request, then curl localhost:

bash
#!/usr/bin/env bash
set -eo pipefail
mkdir -p out
# health-gate: the NIM server takes a moment to load weights on cold start
for i in $(seq 1 60); do
  curl -fsS "$OPENAI4S_NIM_URL$OPENAI4S_NIM_HEALTH" && break
  sleep 5
done
curl -sS -X POST "$OPENAI4S_NIM_URL/v1/biology/nvidia/esmfold2/predict" \
  -H "Content-Type: application/json" \
  -d @request.json > out/prediction.json

OPENAI4S_NIM_URL is http://localhost:8000 (self_hosted) or https://integrate.api.nvidia.com (hosted); OPENAI4S_NIM_HEALTH is the /v1/health/ready path. Writing your job against these two variables means the same script runs unchanged on both forms.

Then exit the cell and poll from a later one. .result() returns {job_id, status, exit_code, featured_files, output_files, stdout_tail, stderr_tail, ...} once the job is terminal; while it's still running you get {'status': 'running', ...} — end the cell and call it again later rather than waiting inside the cell.

python
# repl tool — cell ② polls; re-run this cell until the status is terminal
r = c.attach_job('<JOB_ID>').result()  # one probe — harvests when terminal
print(r['status'])
if r['status'] == 'succeeded':
    for path in r['featured_files']:
        host.save_artifact(path)
    c.close()
# `unknown` is not a finished job — poll again rather than closing over it.

submit_job details

inputs= stage flat into the workdir root — dst_filename is a bare filename (a / is rejected at submit). src can be a path or the literal {{artifact:ID}} marker. Need a dir layout? mkdir -p it inside command=.

Only ./out/ (plus stdout.log/stderr.log) is harvested. If your tool writes elsewhere, end command= with cp -r <results> out/. outputs= globs are a post-harvest featured/hidden filter, not a what-to-collect directive.

command= is interpolated into a run.sh and run via bash run.sh. For anything beyond a single program-with-args — nested quotes, heredocs, pipelines — write the script to a workspace file, ship it via inputs=, and use command='bash script.sh'. Multi-layer shell escaping inside command= is the most common cause of syntax error near unexpected token.

timeout_seconds guards one job; at the deadline the job is TERMed, its partial outputs staged, and it lands as status: 'timed_out' (not a generic failure). Keep ./out/ checkpoints small — the harvest stream runs in a bounded window, so a multi-GB out/ risks harvest_failed.

The container has its own, separate clock: provider_params={'nvidia': {'timeout': N}} on create sets how long the sandbox itself lives. When you set it, the job is stopped with a harvest margin to spare rather than the container being reclaimed mid-run and taking the outputs with it — and because the first submit_job creates the container and later ones reuse it warm, a second job inherits the time already spent. Size the container lifetime for the whole sequence you intend to run through it, not for one job.

Show full SKILL.md (400 more words)Show less

When the user gives you a budget

host.compute.set_concurrency_limit(k) makes the user's ceiling a property of the session: call it once before delegating and the daemon counts every sub-agent's live job against the same k, holding any submit that would go over. The provider also has its own ceiling (max_concurrent, 8 by default) — host.compute.status() returns both your k and the provider ceiling so you can pick a value that actually queues rather than errors.

When the job fails

Read r['exit_code'], r['stdout_tail'], and r['stderr_tail']. The errors that come back as kind rather than a non-zero exit code map cleanly onto where to look:

unauthorized — NGC/nvcr.io rejected the credential. For self_hosted, check NGC_API_KEY has pull access to the NIM image; for hosted, check NVIDIA_API_KEY is a valid nvapi-… key. The user fixing the key is the whole fix — resubmit on a fresh handle.

provider_degraded — Docker or the NVIDIA Container Toolkit isn't available for --gpus. Install the Container Toolkit, or switch to mode='hosted' (no local GPU needed).

rate_limited — a request-rate throttle (hosted gateway) or an nvcr.io pull throttle. Back off ~60s and stagger fan-out submissions; closing containers frees nothing here.

not_found — the container was already gone (a preemption or a prior terminate). The submit cold-starts a fresh one; nothing to do beyond noting it.

A plain non-zero exit_code with logs is the NIM tool failing on inputs — inspect stdout_tail/stderr_tail. A 4xx/5xx in the curl output means the endpoint was reachable and answered: an application/request problem (wrong model path, malformed request body), not the provider.

Network egress from the job

For hosted, the job must reach integrate.api.nvidia.com (declared in this provider's egress). For self_hosted, the model call is to localhost inside the container and needs no outbound egress at all — only image pull and NGC login touch the network (nvcr.io, api.ngc.nvidia.com, authn.nvidia.com, also declared). Move big one-time fetches — model weights — into image build or a warmed container rather than a fetch inside every job.

Warm reuse and close()

One handle = one container. The first submit_job() creates it; subsequent calls reuse it warm (weights stay hot in the NIM server). A .result() harvest does not terminate the container — it runs until c.close(). Every handle ends with c.close() after its last job, which is what tears the container down (docker rm -f). Sequential only: each submit wipes /work, so call job N+1's submit_job() only after .result() has reported job N terminal; for parallel jobs use separate handles.

© PKU-YuanGroup, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files in skills/remote-compute-nvidia of PKU-YuanGroup/OpenAI4S.

  • SKILL.md
  • README.md
  • README_zh.md
  • provider.json
  • provider.py

Open the folder on GitHubat commit 4a72e87

Compare with similar skills

Remote Compute Nvidia next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Remote Compute Nvidia compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Remote Compute Nvidia this skillPKU-YuanGroup/OpenAI4S622—~2.9kAutomated safety check: PassApache-2.0
Vss Deploy Detection Tracking 2DNVIDIA/skills3.6k1 repos~4.5kAutomated safety check: PassApache-2.0
Deepstream SopNVIDIA/skills3.6k—~4.7kAutomated safety check: NotesApache-2.0
Evo2 NimNVIDIA/skills3.6k1 repos~2.4kAutomated safety check: NotesApache-2.0
Genmol NimNVIDIA/skills3.6k1 repos~1.4kAutomated safety check: NotesApache-2.0
Molmim NimNVIDIA/skills3.6k1 repos~1.9kAutomated safety check: NotesApache-2.0

Similar skills

  • Official

    A skill your agent uses when the user wants to deploy, run, debug, tear down, or call the REST API of the RTVI-CV 2D detection / tracking microservice.

    3.6k GitHub starsUsed in 1 repo~4.5k tokens
    Backend & APIsAuto-check passed
  • Deepstream Sop

    NVIDIA/skills

    Official

    A skill your agent uses when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether…

    3.6k GitHub stars~4.7k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Evo2 Nim

    NVIDIA/skills

    Official

    Generate and analyze DNA sequences using NVIDIA's Evo 2 BioNeMo NIM microservice.

    3.6k GitHub starsUsed in 1 repo~2.4k tokens
    DevOps & CloudAuto-check: notes
  • Genmol Nim

    NVIDIA/skills

    Official

    Generate novel drug-like molecules using the GenMol NIM microservice.

    3.6k GitHub starsUsed in 1 repo~1.4k tokens
    DevOps & CloudAuto-check: notes
  • Molmim Nim

    NVIDIA/skills

    Official

    A skill your agent uses for MolMIM, NVIDIA's BioNeMo NIM microservice for small-molecule latent-space generation and optimization.

    3.6k GitHub starsUsed in 1 repo~1.9k tokens
    DevOps & CloudAuto-check: notes
  • Openfold2 Nim

    NVIDIA/skills

    Official

    A skill your agent uses for OpenFold2, NVIDIA's BioNeMo NIM microservice for monomer protein structure prediction.

    3.6k GitHub starsUsed in 1 repo~1.8k tokens
    DevOps & CloudAuto-check: notes

More from PKU-YuanGroup/OpenAI4S

All 17 skills in this repo
  • Single Cell Rna Analysis

    PKU-YuanGroup/OpenAI4S

    Reproducible Scanpy workflow for human or mouse 10x scRNA-seq and snRNA-seq count matrices: single-sample descriptive QC, clustering and annotation, or comparative donor-aware pseudobulk DE and Milo…

    622 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Bioprobench

    PKU-YuanGroup/OpenAI4S

    Score an LLM's biological-protocol reasoning on the BioProBench benchmark: protocol QA, step ordering, error detection, protocol generation, and LLM-judged error reasoning; or generate the responses.

    622 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Reaction Atom Mapping

    PKU-YuanGroup/OpenAI4S

    Map atoms and changed bonds for a complete reaction with RXNMapper.

    622 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Reaction Forward Prediction

    PKU-YuanGroup/OpenAI4S

    Predict ranked products from reactants and reagents with ReactionT5v2-forward; use for outcome prediction or round-trip recovery.

    622 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Reaction Yield Estimation

    PKU-YuanGroup/OpenAI4S

    Estimate yield for a fully specified reactant/reagent/product record with ReactionT5v2-yield.

    622 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Rfdiffusion

    PKU-YuanGroup/OpenAI4S

    Generate de novo protein backbones with RFdiffusion for protein-target binders, hotspot-conditioned interfaces, motif scaffolding, partial diffusion, or symmetric assemblies.

    622 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Remote Compute Nvidia

What does Remote Compute Nvidia do?

Run GPU jobs on NVIDIA NIM microservices via host.compute.create('byoc:nvidia', ...). Remote Compute Nvidia is an agent skill from PKU-YuanGroup/OpenAI4S.).

When should I use Remote Compute Nvidia?

Remote Compute Nvidia fits situations like: tasks that involve Microservices; tasks that involve Third-party API integration.

How do I install Remote Compute Nvidia in Claude Code?

Run `npx skills add PKU-YuanGroup/OpenAI4S --skill remote-compute-nvidia -a claude-code`. Or copy the skill folder (skills/remote-compute-nvidia in PKU-YuanGroup/OpenAI4S) into .claude/skills/remote-compute-nvidia in your project. Claude Code loads it when a task matches its description.

How do I install Remote Compute Nvidia in Codex?

Run `npx skills add PKU-YuanGroup/OpenAI4S --skill remote-compute-nvidia -a codex`. Or copy the skill folder (skills/remote-compute-nvidia in PKU-YuanGroup/OpenAI4S) into .agents/skills/remote-compute-nvidia in your project. Codex loads it when a task matches its description.

Can I use Remote Compute Nvidia in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PKU-YuanGroup/OpenAI4S --skill remote-compute-nvidia -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/remote-compute-nvidia, .gemini/skills/remote-compute-nvidia, .github/skills/remote-compute-nvidia and .opencode/skills/remote-compute-nvidia in your project.

What does Remote Compute Nvidia need to run?

Going by SKILL.md and its folder, Remote Compute Nvidia needs Python for the scripts in its folder, the command-line tools its instructions call (curl, bash and docker) and credentials named NVIDIA_API_KEY and NGC_API_KEY. Our summary lists: Python 3; Docker; A credential in NGC_API_KEY; A credential in NVIDIA_API_KEY.

Does Remote Compute Nvidia access the network?

SKILL.md names 1 domain. In commands or code: integrate.api.nvidia.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Remote Compute Nvidia safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Remote Compute Nvidia use?

Remote Compute Nvidia is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Remote Compute Nvidia use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Remote Compute Nvidia?

Skills that share tags, products or a category with Remote Compute Nvidia: Vss Deploy Detection Tracking 2D (NVIDIA/skills, 3.6k stars), Deepstream Sop (NVIDIA/skills, 3.6k stars), Evo2 Nim (NVIDIA/skills, 3.6k stars) and Genmol Nim (NVIDIA/skills, 3.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Remote Compute Nvidia?

PKU-YuanGroup (a GitHub organization) maintains it in PKU-YuanGroup/OpenAI4S, which has 622 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 9, 2026.

Source: PKU-YuanGroup/OpenAI4S on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.