lab-hpc
Lab HPC clusters (arc/chimera GPU, ircbc CPU) and remote compute on them.
Skill by liuhlab
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/liuhlab-lab-hpc
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/lab-hpc
What's inside
- Skill name
lab-hpc- Description
- 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.
- License
- MIT
- Instructions
- 51 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (6)
- SKILL.md
- arc-hpc.md · references/
- arc-slurm.md · references/
- ircbc-hpc.md · references/
- ircbc-slurm.md · references/
- check-hpc-config.sh · scripts/
SKILL.md (first lines)
# Lab HPC clusters & remote-compute workflow Per-cluster detail sits in `references/`: `arc-hpc.md` and `ircbc-hpc.md` for hosts, network and storage; `arc-slurm.md` and `ircbc-slurm.md` for partitions and submitting. ## Step 0 — before the first ssh 1. Run `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. 2. Read `~/.claude/lab/personal.md` — usernames, code dirs, the standing job, sbatch defaults. It **overrides** this skill. Say so if it is absent. 3. Ask which cluster unless context already pins it down. Then develop locally, push to GitHub, and `git pull` on the remote — code reaches a cluster through git, not scp. ## Work on a compute node, not the login node Get onto a compute node and stay there. A login node is a doorway, not a workspace: one shared machine per cluster, and a fan-out of "small" agent commands is what takes it down. `ssh arc '<cmd>'` is the wrong reflex even for a one-liner — and rarely needed, since the whole Slurm client (`squeue`, `sbatch`, `scancel`, `sinfo`) runs on the compute node. There are **two reasons, and only two**, to run anything on a login node: 1. **You hold no job**, so no compute node is yours yet. Only a login node can submit that first one. 2. **The compute node lacks what you need.** On ircbc that means internet (its compute nodes are offline) and `git` (not installed there). On **arc it means nothing at all** — arc compute nodes have direct internet and a full toolchain, so once you hold one, never leave. ## SOP — take a foothold, then keep it 1. **Find and reuse the node you already hold.** The lab parks a long-lived idle GPU job on arc for this. Check `personal.md`, then probe aliases with `ssh -o BatchMode=yes -o ConnectTimeout=10 <alias> true` — probes fail fast, so sweeping every alias is cheap. Judge by exit status, not stderr. 2. **Land and stay.** On arc, wrap commands in a login shell — `ssh <node> 'bash -lc "…"'` — or `pixi` and other user-installed tools are invisible. 3. **No node anywhere?** Only then use the login node, and only to fix that: show the exact sbatch/salloc, get confirmation, submit, poll to RUNNING, ssh in, and leave. Footholds are preemptible; if one dies, repeat this step. ## Hard rules - **Work on a compute node; the login node has exactly the two uses above.** Nothing else. - **Never submit sbatch/srun without showing the exact script and getting confirmation.** Read-only probes like `squeue` and `sbatch --test-only` need no permission. - **Reachable never means permitted.** ircbc lets you ssh to a node you hold no job on; working there steals from the scheduler. Hold an allocation, and never scancel a job you didn't start. - If ssh to `ircbc` hangs, **stop and tell the user to check the VPN** (atrust, managed by hand). arc is not behind it. Never retry in a loop.
From liuhlab/liulab-skills, MIT.
More from liuhlab/liulab-skills
- 0.592score
hq-mode
liuhlab
/hq-mode: take on a whole task the lab's way, such as an analysis, a cluster run, a figure, a paper or grant section, a talk, an experiment plan or landing…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
lab-edison
liuhlab
Run Edison research platform work from a lab machine: literature search, precedent, molecules, data analysis, Kosmos, dataset upload, task history and…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
lab-setup
liuhlab
Set this machine up for the lab plugin, once, after installing it: Claude Code auto-update, the plugin in Codex, Kimi Code reading the marketplace clone, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.588score
lab-jupyter
liuhlab
Start, reuse or reconnect to a Jupyter Lab or notebook on a lab HPC cluster (arc/chimera GPU, ircbc CPU), tunnelled to the local machine.
SkillAFreshness: A★ 1Claude Code +9 - 0.588score
lab-containers
liuhlab
Pull, build, update, version-check or use the lab's Singularity container images (SIF, ghcr.io liulab-runtime) on ircbc: run commands, pixi-env shells or…
SkillAFreshness: A★ 1Claude Code +9 - 0.567score
diagnosing-bugs
liuhlab
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
domain-modeling
liuhlab
Build and sharpen a project's domain model.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
code-review
liuhlab
Review 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…
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
codebase-design
liuhlab
Shared vocabulary for designing deep modules.
SkillAFreshness: A★ 1Claude Code +9 - 0.551score
implement
liuhlab
Implement a piece of work based on a spec or set of tickets.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Oct 12, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/liuhlab/liulab-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from liuhlab
- 0.592score
hq-mode
liuhlab
/hq-mode: take on a whole task the lab's way, such as an analysis, a cluster run, a figure, a paper or grant section, a talk, an experiment plan or landing…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
lab-edison
liuhlab
Run Edison research platform work from a lab machine: literature search, precedent, molecules, data analysis, Kosmos, dataset upload, task history and…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
lab-setup
liuhlab
Set this machine up for the lab plugin, once, after installing it: Claude Code auto-update, the plugin in Codex, Kimi Code reading the marketplace clone, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.588score
lab-jupyter
liuhlab
Start, reuse or reconnect to a Jupyter Lab or notebook on a lab HPC cluster (arc/chimera GPU, ircbc CPU), tunnelled to the local machine.
SkillAFreshness: A★ 1Claude Code +9 - 0.588score
lab-containers
liuhlab
Pull, build, update, version-check or use the lab's Singularity container images (SIF, ghcr.io liulab-runtime) on ircbc: run commands, pixi-env shells or…
SkillAFreshness: A★ 1Claude Code +9 - 0.567score
diagnosing-bugs
liuhlab
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
lab-hpc skill. Agent Mart. https://agentmart.dev/skills/liuhlab-lab-hpc (last updated 2026-10-24)