compute-env-setup
Compute environment setup
Prepare one reproducible environment definition and instructions for one small user-managed host
activation file. Open-Science resolves submitJob(..., { environment: '<name>' }) by sourcing
~/.open-science/environments/<name>.sh before the workload. Existing ~/.openscience/environments/<name>.sh definitions remain readable in place. Before creating an activation, check both names: update the existing definition at its exact location; if both exist, ask the user which to retain. Never create a second activation just to rename the brand. The file contains activation only; it
does not install packages when a job starts.
The environment, package caches, images, and activation file are user-managed durable resources,
not Open-Science-owned components. This Skill may inspect them and prepare exact setup/removal
commands, but must not execute commands that create, replace, or remove those resources. The user
or host administrator runs those commands outside Open-Science and owns their lifecycle. Do not
interpret the ~/.openscience path as app ownership.
Use host.compute only in repl_execute JavaScript. Python and R data kernels do not expose it.
Start from the Session catalog and do not guess a provider id: