liulab-skills
Liu Lab's shared Agent Skills, packaged as a Claude
Code plugin marketplace (marketplace liulab, plugin lab; call a skill by
its own name, such as /lab-hpc). Codex and Kimi Code read the same
skills — SKILL.md follows the open Agent Skills standard.
Docs: https://liuhlab.github.io/liulab-skills/ — human-readable
guide (what this is, install, usage, one page per skill).
Current skills:
-
lab-hpc — the two lab clusters (arc/chimera GPU, ircbc CPU), the
local → GitHub → remote workflow, Slurm usage (partitions, cost/queue
guidance), safety rules, and a config preflight
(scripts/check-hpc-config.sh) that makes agents refuse HPC requests on
machines whose ~/.ssh/config isn't set up.
-
lab-jupyter — start or reuse a Jupyter Lab job on either cluster and
tunnel it to http://localhost:<port> on the local machine: arc/chimera
natively (zhoulab_gpu_priority job + ssh -L), ircbc inside the lab's
Singularity image (via lab-containers).
-
lab-containers — version-check, pull/build/update, and use the lab's
Singularity images (liulab-runtime envs) on ircbc, where compute nodes
have no internet: digest-sidecar update checks, crane pull on the login
node → sbatch build from docker-archive, and running commands, pixi-env
shells, or Jupyter inside the containers.
-
lab-edison — the Edison research platform, which Edison Scientific
runs: cited literature answers, precedent, molecules, and analysis of a
dataset you upload. It goes through edison-cli, a command that ships
with the plugin. No cluster involved. You invoke it yourself
(disable-model-invocation), it refuses until your key file
~/.claude/lab/edison.env is in place (edison-cli preflight), it
shows the job and the query before it spends, and it never transmits the
key. Kosmos is a chat session that fans out into many tasks, and the skill
will not start one unless you ask for that run.
-
lab-setup — type it once per machine, after installing. It sets
autoUpdate on the liulab marketplace in Claude Code, installs the
plugin in Codex, points Kimi Code's extra_skill_dirs at Claude Code's
marketplace clone, links edison-cli and lab-deck onto your PATH, and lists any skill
of yours that takes a name the plugin ships. It asks before each change and
removes nothing; its script (scripts/lab_setup.py) is safe to rerun.
-
hq-mode — type /hq-mode with a task to have the agent work the lab's
way: it reads one page of working rules, then follows the playbook that
fits (an analysis, a cluster run, a figure, a paper or grant section, a
talk, landing tickets, and more). Its always-pause list, which outranks "land it"
and "going to bed", keeps it from submitting Slurm work, spending Edison
credits or merging an unreviewed pull request without your yes.
-
lab-presentation — loads when you ask for slides, a deck, a talk or a
PowerPoint file. The agent asks who the audience is, agrees a text outline
with you, and only then builds slides. It checks every slide against a
short list of numbered rules: phrases in the body, a title that states the
conclusion, text large enough for the room, and colour only where it
means something.
-
unslop-zh — Chinese writing, strict translation and polishing. It loads
when the deliverable contains Chinese, including mixed and bilingual documents.
It writes directly in Chinese, keeps facts, terms and degree qualifiers, and
changes only what the task allows. Polishing preserves the author's voice and
can return natural text unchanged. Code, English and other protected content
stay intact.
-
roadmap — type /roadmap with a goal too big for one wayfinder
map. It files one issue with the final deliverable, the checks that say it
is done, and the stages; each stage then gets its own map, spec and tickets.
It also starts and ends stages and closes the roadmap when every check passes.
Skills taken from other projects keep their own names. These come from
mattpocock/skills. Most are
unchanged. A few carry a lab edit, which only adds what science work needs,
and the changelog names each one:
- Plan:
grilling, grill-me, grill-with-docs, wayfinder, to-spec,
to-tickets, to-questionnaire, triage.
- Build:
implement, implement-spec, tdd, prototype,
diagnosing-bugs, codebase-design, improve-codebase-architecture,
domain-modeling.
- Review and hand over:
code-review, pr, retro, handoff.
- Learn and write:
research, teach, writing-for-agents, wait-what.
- Set up a repo:
setup-matt-pocock-skills.
These four come from pstack,
three of them changed for lab work: