Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides SSH and Slurm remote compute for GPU, high-memory, and long-running jobs, with async submission, harvesting, and analysis.
41% 100%+59 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 9 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
This skill covers remote compute over SSH, including direct execution and Slurm submission:
listing hosts, creating handles, running short remote commands (callCommand), reading/writing host
knowledge docs, and the full async job lifecycle — submit → save job_id → read non-blocking
snapshots by that ID →
harvest → analysis turn → publish artifacts.
Where host.compute runs: host.compute lives ONLY on the control-plane REPL kernel — run
every example below with the repl_execute tool (JavaScript), the same kernel that hosts
host.mcp. The python/r data kernels have NO host.compute (SSH and approvals stay outside
the sandbox workspace); calling it from a python/r cell will fail with host.compute is undefined.
Use the execution mode returned by host.compute.listHosts() to select the file layout and launch options. Each external job requires its own approval, including the bound target, resource request and frozen inputs. SSH-only remote paths and named SSH environments do not apply.
kubernetes: The user configures the context, namespace, workload image and transfer image. The command runs in /workspace, where frozen inputs appear under their dstFilename. The app collects outputs from the job volume.hugging_face_jobs: The target supplies the billing namespace, flavor and image. Inputs are mounted read-only at /inputs/<dstFilename>. The command starts in /outputs. Declare the output globs there. After verified publication the app cleans the job's bucket prefix.ray_jobs: The driver starts in the uploaded working directory with each frozen input available by its dstFilename. Write output files under $RAY_JOB_OUTPUT_DIR and declare globs relative to that directory. Originals stay on the shared filesystem after collection.When a selected target has execution_mode equal to modal_sandbox, use submitJob and attachJob. The host authenticates with its local Modal profile or token and submits to the approved App and environment. The target selects the image, CPU, memory and GPU requests. Approval is required for each submission before any remote upload or Sandbox creation.
The host needs Python with modal==1.6.3 and a configured Modal identity. Set OPEN_SCIENCE_MODAL_PYTHON to the absolute path of the virtual environment’s Python interpreter if needed. The named App must already exist in the configured Modal environment. The workload image needs /bin/sh, cp, mkdir, mktemp, find, sha256sum, and mv.
The command starts with the frozen uploads in its working directory under their dstFilename names. Write results under $MODAL_JOB_OUTPUT_DIR and declare globs relative to that directory. An empty declaration archives no files. After verified publication, deleting the job volume also deletes undeclared scratch files. Incomplete collection retains the volume for recovery. If termination interrupts the final checksum inventory, inspect the retained volume in Modal.
const target = (await host.compute.listHosts()).find(
(entry) => entry.execution_mode === 'modal_sandbox' && entry.role === 'selected'
)
if (target) {
const c = host.compute.create(target.provider_id)
const job = await c.submitJob(
'Copy an input',
'cp table.csv "$MODAL_JOB_OUTPUT_DIR/result.csv"',
{
inputs: [{ src: 'table.csv', dstFilename: 'table.csv' }],
outputs: ['result.csv']
}
Next to this one in the catalogue, plus more from the same author.