Skip to content
Back to skills

Compute Env Setup

ASecurity

Set up a reproducible compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
ai-agentspythongit

Works with

  • cli

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add Yichen-ZJU/claude-for-research --skill compute-env-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compute Env Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compute Env Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yichen-zju-compute-env-setup/badge)](https://www.skillsdirectory.com/skills/yichen-zju-compute-env-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: compute-env-setup
description: Set up a reproducible compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.
---

# Compute Environment Setup

Use this skill before running a research job that needs a nontrivial runtime.

Workflow:

1. Identify the job type, hardware need, data size, package stack, secrets, and expected artifacts.
2. Choose the smallest working route: local notebook runtime, project virtualenv/conda, Modal, SSH/Slurm, or managed endpoint.
3. Verify credentials and CLIs through environment variables or CLI status checks without printing secret values.
4. Write an environment note containing package versions, install commands, cache paths, hardware, and failure modes.
5. Run a tiny smoke job before the expensive job and save the smoke logs.

The done state is a recorded, reproducible environment plus a successful smoke or a precise missing dependency.

## Environment failure escalation: search GitHub before replace

When a runtime failure resists the obvious fixes, do not conclude that the
machine, driver, or stack "cannot run" the workload, and do not propose
replacement (another machine, driver upgrade, migration, abandoning the
host) before an explicit external search:

1. Search GitHub issues and discussions for the exact error signature: the
   top function names, the error strings, and the version tuple (library,
   CUDA, driver). Do a general web search too. Record the queries and
   candidate hits in the campaign notes.
2. Exhaust library-level fixes before infrastructure-level conclusions.
   Many "hardware wall" failures are library bugs replaceable without root:
   pip-installable versions (e.g., NCCL, vLLM, torch), `LD_PRELOAD` for
   statically linked libraries, and library environment variables.
3. Report "this environment cannot run X" only after each applicable layer
   is ruled out with evidence. A BLOCKER whose options include replacing or
   abandoning the environment must cite the search performed and why each
   candidate fix does not apply.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.