/lab:hq-modefrom lab
/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 tickets. Reads the working-style page first, then follows a playbook. Never submits Slurm work, spends Edison credits or merges an unreviewed PR without the user's yes, whatever the session says. User-invoked only.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read references/working-style.md in full before the first tool
call: asking, autonomy, delegation, the reply and the user's documents. Its
always-pause list outranks every session override ("headless", "land it", "going to bed") and
every principle: an sbatch outside an approved run plan waits for the user's yes, and "close the
issue" never merges a PR nobody reviewed. A repo's own AGENTS.md wins over that page. Then
match the task below.
A skill written with a leading / is one the user types: suggest it, or read its SKILL.md
and follow it once the user has asked for that step. A bare name loads when you reach for it. Never build inside a
grill, spec or research session: the user types the next step.
| When | Go to |
|---|---|
| A question for the user | The asking rules first. A fact is never the user's to answer |
| An idea in a repo | /grill-with-docs; with no repo, /grill-me. Too big for one session: /wayfinder; too big for one map: /roadmap |
| A design question code can settle | prototype, bridged by /handoff when it needs its own folder |
| The idea is settled | /to-spec, /to-tickets, then the land-the-tickets playbook: /implement per ticket or /implement-spec for all, each driving tdd and code-review; pr writes the PR body |
| A build just ended | /retro |
| Something broken | diagnosing-bugs |
| Raw issues arriving | /triage |
| Reading legwork | research |
| The answer is in someone else's head | /to-questionnaire |
| Moving to a new session, folder or person | /handoff |
| Time for upkeep | /improve-codebase-architecture; a module's shape, codebase-design; the words, domain-modeling |
| A cluster, ssh, Slurm, a GPU | lab-hpc before the first ssh. Notebooks: lab-jupyter. Containers: lab-containers |
| Edison | Only when the user types /lab-edison |
| Prose a person reads | unslop as the last pass, or unslop-zh when the output contains Chinese. Docs, READMEs, PR bodies, protocols: technical-writing. Skills and agent docs: writing-for-agents |
| Slides, a deck or a talk | lab-presentation, through the talk playbook |
| A number you measured or will report | The explain-the-number principle; for a timing, references/benchmark-checklist.md |
| Work the user steps away from | The checks it rests on, per references/verification.md; a decision trail per references/show-me-your-work.md |
| A correction from the user | Write it at once where every session reads it. A lab-wide rule goes into the skill that owns it, or into an issue on liuhlab/liulab-skills when the session works in another repo. A repo rule goes into that repo's AGENTS.md or agent docs. A correction goes into memory only when it is a personal preference. Then ask what would stop it recurring |
| The end of any playbook | The close-the-session playbook |
references/principles.md indexes the principles, each with when it applies. Name each principle that shaped a decision in the reply, and only after reading its page in full.
Copy the matched playbook's steps into the todo list, verbatim, before any task todos. With no
todo tool, list them as a checklist in your first reply and give each step's state, done or
skip: <reason>, in your last. A step you skip stays with skip: <reason>. Each lives at
references/playbooks/<name>.md.
The shape and several playbooks come from pstack's poteto-mode and figure-it-out (MIT,
cursor/plugins), the flow in the trigger table from mattpocock/skills' ask-matt (MIT). Both
licenses are in the repo's upstream/ folder.
agents/openai.yaml (opens in a new tab)references/benchmark-checklist.md (opens in a new tab)references/playbooks/analysis.md (opens in a new tab)references/playbooks/close-the-session.md (opens in a new tab)references/playbooks/cluster-run.md (opens in a new tab)references/playbooks/docs-page.md (opens in a new tab)references/playbooks/experiment-plan.md (opens in a new tab)references/playbooks/figure-it-out.md (opens in a new tab)references/playbooks/figure.md (opens in a new tab)references/playbooks/grant-section.md (opens in a new tab)references/playbooks/improve-a-metric.md (opens in a new tab)references/playbooks/investigation.md (opens in a new tab)references/playbooks/land-the-tickets.md (opens in a new tab)references/playbooks/long-run.md (opens in a new tab)references/playbooks/message.md (opens in a new tab)references/playbooks/method-research.md (opens in a new tab)references/playbooks/paper-section.md (opens in a new tab)references/playbooks/refactor-analysis-code.md (opens in a new tab)references/playbooks/review-a-document.md (opens in a new tab)references/playbooks/talk.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub liuhlab/liulab-skills --plugin lab38 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".