hq-mode
/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…
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-hq-mode
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: research, 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/hq-mode
What's inside
- Skill name
hq-mode- Description
- /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.
- License
- MIT
- Instructions
- 89 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (48)
- SKILL.md
- openai.yaml · agents/
- benchmark-checklist.md · references/
- analysis.md · references/playbooks/
- close-the-session.md · references/playbooks/
- cluster-run.md · references/playbooks/
- docs-page.md · references/playbooks/
- experiment-plan.md · references/playbooks/
- figure-it-out.md · references/playbooks/
- figure.md · references/playbooks/
- grant-section.md · references/playbooks/
- improve-a-metric.md · references/playbooks/
- investigation.md · references/playbooks/
- land-the-tickets.md · references/playbooks/
- long-run.md · references/playbooks/
- message.md · references/playbooks/
- method-research.md · references/playbooks/
- paper-section.md · references/playbooks/
- refactor-analysis-code.md · references/playbooks/
- review-a-document.md · references/playbooks/
- talk.md · references/playbooks/
- principles.md · references/
- attack-the-premise.md · references/principles/
- boundary-discipline.md · references/principles/
- build-the-lever.md · references/principles/
- encode-lessons-in-structure.md · references/principles/
- exhaust-the-design-space.md · references/principles/
- experience-first.md · references/principles/
- explain-the-number.md · references/principles/
- fix-root-causes.md · references/principles/
- foundational-thinking.md · references/principles/
- guard-the-context-window.md · references/principles/
- laziness-protocol.md · references/principles/
- make-operations-idempotent.md · references/principles/
- migrate-callers-then-delete-legacy-apis.md · references/principles/
- minimize-reader-load.md · references/principles/
- model-the-domain.md · references/principles/
- never-block-on-the-human.md · references/principles/
- outcome-oriented-execution.md · references/principles/
- prove-it-works.md · references/principles/
- redesign-from-first-principles.md · references/principles/
- separate-before-serializing-shared-state.md · references/principles/
- sequence-verifiable-units.md · references/principles/
- subtract-before-you-add.md · references/principles/
- show-me-your-work.md · references/
- verification.md · references/
- working-style.md · references/
- log.sh · scripts/
SKILL.md (first lines)
# hq-mode
Read [references/working-style.md](references/working-style.md) in full before the first tool
call: asking, autonomy, delegation, the reply, the user's documents and the lab defaults. Its
always-pause list outranks every session override ("headless", "land it", "going to bed") and
every principle: an `sbatch` waits for the user's yes on the exact script, 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.
## Triggers
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` |
| 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 `lab-unslop-zh` when the output is Chinese. Docs, READMEs, PR bodies, protocols: `technical-writing`. Skills and agent docs: `writing-for-agents` |
| 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 it lasts: the repo's `AGENTS.md`, the skill, or memory. Then ask what would stop it recurring |
| The end of any playbook | The close-the-session playbook |
## Principles
[references/principles.md](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.
## Playbooks
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`.
### Science
- **analysis**: a question answered from data, ending in a checked number or figure.
- **cluster-run**: a pipeline or job array on a lab cluster.
- **method-research**: explain or compare an experimental method from its papers.
- **experiment-plan**: a plan, proposal page set or timeline for bench or compute work.
- **figure**: a data figure, schematic or illustration.
### Writing
- **paper-section**: a manuscript section, abstract, cover letter or co-author round.
- **grant-section**: a proposal section, a form or a CV within word limits.
- **talk**: a deck, its script, or a recorded talk.
- **review-a-document**: review the user's own document without editing it.
- **message**: polish a message the user drafted.
- **docs-page**: a page on a repo's docs site, its diagrams included.
### Code
- **land-the-tickets**: build a set of tickets through subagents and land them.
- **improve-a-metric**: one change, one measurement, keep or revert.
- **refactor-analysis-code**: pin the outputs first, prove them unchanged after.
- **investigation**: a read-only question. Change nothing.
### Any
- **long-run**: a task driven to a checkable predicate without stopping.
- **close-the-session**: nothing open when the session ends.
### Fallback
- **figure-it-out**: no playbook fits. Design one, then run it like an experiment.
## Attribution
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.From liuhlab/liulab-skills, MIT.
More from liuhlab/liulab-skills
- 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.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-hpc
liuhlab
Lab HPC clusters (arc/chimera GPU, ircbc CPU) and remote compute on them.
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
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.562score
domain-modeling
liuhlab
Build and sharpen a project's domain model.
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 13, 2026 (14 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
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.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-hpc
liuhlab
Lab HPC clusters (arc/chimera GPU, ircbc CPU) and remote compute on them.
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
hq-mode skill. Agent Mart. https://agentmart.dev/skills/liuhlab-hq-mode (last updated 2026-10-24)