/lab:lab-hpcfrom lab
Lab HPC clusters (arc/chimera GPU, ircbc CPU) and remote compute on them. Use whenever a task involves ssh to a lab server, Slurm jobs (sbatch, srun, squeue, salloc), compute or login nodes, running code remotely, or moving files to a cluster. Read it BEFORE the first ssh of a session: it decides where every command runs. Covers the zhoulab_gpu_priority partition, syncing code local -> GitHub -> remote, host aliases, choosing a cluster, per-user config, and the rule that work belongs on a compute node, never on the shared login node.
Ships in lab. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Detail is in references/: *-hpc.md for hosts, network and storage; *-slurm.md for
partitions and submitting; remote-processes.md for processes, waits and the Mac shell;
browser-login.md for a tool's browser login.
Before designing a large-data pipeline or starting a long data job, read and apply
cluster-run, including on a held node.
bash scripts/check-hpc-config.sh (--live also tests ssh). If the cluster the task needs
is NOT CONFIGURED, refuse: name the missing aliases, point at the README's "Per-user
config", never improvise with raw addresses or keys, and resolve hosts from ~/.ssh/config only.
config dir: OLD LOCATION → refuse too, and relay the printed fix for the user to run.
Once you know your node, --live --node <alias> checks that pixi runs there.~/.claude/lab/personal.md — usernames, code dirs, the standing job, sbatch
defaults. It overrides this skill. Say so if it is absent.git pull on the remote — code reaches a cluster through git, not scp.timeout and maybe rm -i: see remote-processes.md.python3; on arc by its full path,
$HOME/.pixi/bin/pixi, since bash -lc does not find it. Other tools in your arc home
(uv, conda, mamba) need a login shell (arc-hpc.md).A login node is one shared machine per cluster, and a fan-out of "small" agent commands takes it down. Even a one-liner belongs on the compute node, where the whole Slurm client runs. Only three uses justify a login node:
git and a route to arc
(ircbc-hpc.md). On arc, nothing: its compute nodes have internet and a full toolchain,
so once you hold one, never leave.squeue --me (ircbc: squeue -u $USER).squeue in
remote-processes.md; never sweep node aliases. Name the node in every brief.ssh -O exit <alias>, then retry once.The main session owns every wait, one watcher per job; a subagent reports its job IDs and never
waits. Run bash scripts/watch-job.sh <alias> <jobid> [file] in the background, never sleep,
locally or on the node. -h lists its modes and exits; remote-processes.md says where to point it.
squeue need none.pkill -f; stop only your own process group.ircbc hangs, stop and tell the user to check the VPN. arc is not behind it.
Never retry in a loop.references/arc-hpc.md (opens in a new tab)references/arc-slurm.md (opens in a new tab)references/browser-login.md (opens in a new tab)references/ircbc-hpc.md (opens in a new tab)references/ircbc-slurm.md (opens in a new tab)references/remote-processes.md (opens in a new tab)scripts/check-hpc-config.sh (opens in a new tab)scripts/watch-job.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
38 skills in this plugin
/broRestate the last message in plain human language, with no jargon./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".Other plugins' skills for the same job
npx claudepluginhub liuhlab/liulab-skills --plugin lab