compute-env-setup
Qué hace
Esta skill enseña a un agente a preparar un archivo de activación para un servidor de cálculo remoto, para que los trabajos carguen los paquetes correctos. Escribe los pasos de configuración y comprueba el entorno, y deja la creación o eliminación de recursos en manos del usuario.
Cuándo usarla
- ✓Cuando un trabajo remoto necesita paquetes, módulos o ajustes de caché que el servidor no proporciona.
- ✓Cuando un usuario necesita una activación de entorno repetible para un servidor de cálculo de Open Science.
- ✓Cuando un trabajo remoto falla porque falta un paquete o un módulo en el servidor.
Link de la skill
https://github.com/aipoch/open-science/blob/main/resources/skills/compute-env-setup/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Mi trabajo remoto en el servidor de cálculo necesita un conjunto concreto de paquetes de Python. Prepara los pasos de configuración y un archivo de activación para ello.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente revisa las definiciones de entorno existentes, escribe un archivo de activación con los ajustes necesarios y da los comandos exactos de configuración. No ejecuta por su cuenta comandos que creen o eliminen los recursos del usuario.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
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.
Software environment setup and Slurm accounting service configuration are separate concerns.
An unavailable sacct service is not evidence that Python, Conda, modules, or the named activation
file are missing. Use the Remote Compute Skill's Slurm troubleshooting reference for scheduler
status and cancellation problems; do not make enabling accounting the only recovery path or assume
the user has administrator privileges.
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:
const hosts = await host.compute.listHosts()
const selected = hosts.filter((candidate) => candidate.role === 'selected')
const candidates = selected.length > 0 ? selected : hosts
Choose the requested host, or a suitable candidate when the user left the target open. Read its knowledge and probe snapshot before changing it:
const providerId = candidates[0].provider_id
const executionMode = candidates[0].execution_mode
const details = await host.compute.details(providerId, { mode: 'read' })
const compute = host.compute.create(providerId)
If no eligible host exists, or the selected host is unsuitable, explain the concrete blocker. Do not install locally as a substitute for a requested remote environment.
Define the environment
Keep the reproducible source in the user's project: an environment.yml, requirements or lock
file, container definition, or a short setup script appropriate to the stack. When installation
must run on a compute node, include exact user- or administrator-run staging and scheduler commands
in the plan; do not submit that installation through Open-Science. Do not store project package
lists or secrets in the host knowledge document.
Use a logical name containing 1–64 letters, numbers, periods, underscores, or hyphens, starting with a letter or number. Its host activation file is:
~/.open-science/environments/<name>.sh
The activation file itself and every path it references must be visible at the same path on the execution node. A shared home directory satisfies this. If login and compute nodes have separate homes, copy the activation file to the compute-node home at the same path and use shared software and data paths inside it; if the host offers no durable way to do that, explain the limitation.
Prefer the host's existing environment system:
- Conda or micromamba: create the environment from the project definition, then source the shell hook and activate it in the activation file.
- Modules: load the exact module versions in the activation file. Combine modules with a venv or conda environment when Python packages are also needed.
- Apptainer or Singularity: installation and image creation are cluster-specific. Use an existing
shared image when possible. Do not claim that
environmentwraps an arbitrary command in a container; the activation contract only sources shell setup.
Set cache paths and bounded thread variables in the activation file when the workload needs them.
Keep credentials out of it. Avoid sudo, system package changes, shell-profile edits, and
unrequested changes to other named environments.
Before installing, use one batched, read-only probe to identify the scheduler, available environment tools, relevant modules, quotas, and shared scratch. A typica
Preguntas frecuentes
¿El archivo de activación instala paquetes?
No. La skill indica que solo contiene la activación y no instala paquetes al iniciar un trabajo.
¿Qué pasa si el servicio de contabilidad está caído?
La skill indica que eso no significa que falte el entorno, y remite a la referencia de solución de problemas del planificador.
¿Quién gestiona el entorno?
Lo gestiona el usuario o el administrador del servidor, y la skill solo prepara los comandos.
Detalles
Descripción original del autor
Prepare reproducible setup instructions and validate a user-managed named software environment on an Open-Science SSH Compute Host, including direct SSH and Slurm hosts. Use when a remote job needs packages, modules, cache variables, or a repeatable activation that the host does not already provide.
repo: aipoch/open-science
Popularidad
- Estrellas en GitHub
- 5,4 mil
- Posición en el ranking
- #14853
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
alphafold2
5,4 milAyuda a tu agente a predecir la estructura 3D de una proteína a partir de su secuencia, incluidos complejos de proteínas, con AlphaFold2 a través del ejecutor ColabFold.
boltz
5,4 milAyuda a tu agente a predecir la estructura de complejos de proteínas, ADN, ARN y moléculas pequeñas con el modelo abierto Boltz-2, y estimar su afinidad.
borzoi
5,4 milAyuda a tu agente a predecir pistas de actividad genómica, como expresión y accesibilidad, a partir del ADN, y a comparar variantes por su efecto previsto.
chai1
5,4 milAyuda a tu agente a predecir complejos de proteínas, ácidos nucleicos y ligandos desde un solo archivo FASTA, con el modelo Chai-1 de licencia Apache.
Skills parecidas
openclaw-update
394 milAyuda a tu agente a actualizar una Gateway de OpenClaw que ya existe, eligiendo el método de actualización que encaja con cómo se instaló y manteniendo tu sesión activa.
diagnose-gateway
394 milAyuda a tu agente a averiguar por qué falla tu Gateway de OpenClaw, revisando ajustes, canales y puertos sin cambiar nada.
crabbox-apps
394 milAyuda a tu agente a abrir y ejecutar una app en una máquina temporal en la nube y mostrar su vista en el panel lateral de tu chat.