lab-hpc
Lab HPC clusters (arc/chimera GPU, ircbc CPU) and remote compute on them.
Skill by liuhlab
Chalk Labs
Need help deploying lab-hpc?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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 is in `references/`: `*-hpc.md` for hosts, network and storage; `*-slurm.md` for partitions and submitting. Before designing a large-data pipeline or starting a long data job, read and apply [`cluster-run`](../hq-mode/references/playbooks/cluster-run.md), including on a held node. ## 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 pins it down. Then develop locally, push to GitHub, and `git pull` on the remote — code reaches a cluster through git, not scp. ## Shell and environment - **The local shell on lab Macs is zsh.** Quote every URL (`?` and `*` are globs). An unquoted `$var` is not split into words, so use an array. End a probe that may find nothing with `|| true`, so an empty result doesn't hide real errors. - **Run project code on a cluster through `pixi run`,** not the system `python3`. ## Work on a compute node, not the login node Get onto a compute node and stay there. A login node is one shared machine per cluster, and a fan-out of "small" agent commands takes it down. `ssh arc '<cmd>'` is the wrong reflex even for a one-liner: the whole Slurm client (`squeue`, `sbatch`, `scancel`) runs on the compute node. Only **two reasons** justify 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, internet and `git`. On **arc, nothing**: its compute nodes have 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`. 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. Put each probe's commands into one ssh call: every call is a connection through the login node. If ssh hangs after a network drop, clear the stale shared connection with `ssh -O exit <alias>`, then retry once. 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. If a foothold is preempted, repeat this step. ## Watching a job Poll a job only with `bash scripts/watch-job.sh <alias> <jobid> [file]` in the background, never a `sleep` loop; `-h` lists its exit codes. Every job-watching subagent's brief names it. ## Hard rules - **Work on a compute node; the login node has exactly the two uses above.** - **No sbatch/srun outside an approved run plan.** Approved before the pilot, sized for the full run, scripts shown: work folder, partitions, most CPU, memory and wall time per job, most jobs at once, target measure and range. Inside it, submit and cancel its own jobs unasked. A job or pilot estimate past a limit needs a revised plan. Cancelling a job the plan did not start, and writes to shared data or the shared package store, need a yes. Post it on the run's issue (or work folder README); quote it verbatim in subagent briefs. It ends with the run. No plan: a yes per script. Probes like `squeue` need none. - **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. - 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 (19 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-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.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.567score
diagnosing-bugs
liuhlab
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: A★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get lab-hpc running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
lab-hpc skill. Agent Mart. https://agentmart.dev/skills/liuhlab-lab-hpc (last updated 2026-10-24)