/hpc-hokusai:hokusai-demofrom hpc-hokusai
Interactive walkthrough of HOKUSAI BigWaterfall2 (HBW2) covering configuration, cluster status, docs search, filesystem access, job submission, and monitoring.
Ships in hpc-hokusai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run each step in order — actually call the tools, don't just describe the
plan. Present results as a readable narrative, not raw JSON dumps. Use
markdown headers and tables to make it scannable. Pause after each step and
show the output before moving on. Every tool call uses facility="hokusai".
Call get_facility(facility="hokusai") — it needs no SSH and returns this
machine's static facts, so a good result proves config parsing works.
Summarize the partitions, storage tiers, and modules.
Then call get_projects(facility="hokusai") to prove SSH is actually
reachable, and show which projects can be billed.
If either call reports that the facility isn't configured, stop the demo
and switch to the hokusai-configuring skill. The error itself contains
the full setup directions for this machine — walk the user through those
rather than continuing.
Call get_resources(facility="hokusai"). Show a table of partitions with
allocated/idle/total nodes, and point out where a job would start soonest.
Call search_docs(facility="hokusai", query="how do I submit a job") on
the hpc-docs server. Show the top result and cite its section breadcrumb.
Call fs_ls(facility="hokusai", path=".") to show the top of the user's
home directory on this machine.
Call get_job_statuses(facility="hokusai", job_ids=[]) (an empty list
means "the last ~2 days"). If there are jobs, show them as a table: job ID,
name, state, partition, elapsed — and highlight any failed ones, offering to
investigate. If there are none, say so and move on.
Tell the user you'll submit a short test job to verify end-to-end
submission, then call render_job_script(facility="hokusai", spec=...) to
show exactly what will run, then submit_job with the same spec. Show the
returned job ID and script path. See the facility notes below for a spec
that suits this machine.
Poll get_job_status(facility="hokusai", job_id=...) every ~15 seconds —
use run_command_on_cluster(facility="hokusai", command="sleep 15") as the
wait, since there's no sleep tool. Stop when the state is terminal, or after
about five polls (tell the user to check back later if it's still queued).
Once it finishes, read the output: take meta_data.workdir from the final
status and call
fs_tail(facility="hokusai", path="<workdir>/slurm-<job_id>.out"). Don't
assume the home directory — a job that set directory writes its output
there instead.
Summarize in four bullets: configuration and facility checked, live status
seen, a job submitted and monitored, and its output retrieved. Then invite
the user to submit real work via /hokusai-submitting-jobs, monitor
existing jobs via /hokusai-monitoring-jobs, or ask about the machine via
/hokusai-reference.
HBW2 is CPU-first, so demo the default mpc partition (312 nodes, the
least contended) rather than the small GPU subsystem:
{
"name": "hokusai-demo",
"executable": "hostname && echo '---' && lscpu | head -20",
"resources": {"node_count": 1, "processes_per_node": 1},
"attributes": {"duration": 300, "queue_name": "mpc"}
}
queue_name and account are both filled in automatically from the
configured defaults if omitted — but Step 1's get_projects output is worth
showing either way, since fair-share standing is what determines queue
order here.
Don't be alarmed if get_resources shows mpc at 0 idle nodes: HBW2
backfills aggressively, and a short job typically starts within seconds
anyway (verified — a 1-node job and even a 64-node job each started
immediately against a fully-allocated partition). Report what the job
actually does rather than predicting a long wait from the idle count.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub william-dawson/hpc-rookery --plugin hpc-hokusai7 skills in this plugin
/hokusai-configuringUse when the user wants to set up, configure, or troubleshoot HOKUSAI BigWaterfall2 (HBW2) — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/hokusai.json file. Also use when hokusai tools fail with connection or embedding errors./hokusai-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on HOKUSAI BigWaterfall2 (HBW2), or about queue and node availability. Also use this any time you (the agent) need to check on or wait for a job you submitted, even without a fresh user request./hokusai-referenceUse to answer questions about HOKUSAI BigWaterfall2 (HBW2) itself — hardware, partitions, storage, software, policies, or where to get help. Ground answers in the bundled guide and live tool output rather than prior knowledge./hokusai-remote-commandUse when the user wants to run one or more shell commands on HOKUSAI BigWaterfall2 (HBW2)'s login node, or when another workflow needs run_command_on_cluster for a live check not covered by a safer typed tool. Requires an exact command preview and explicit user permission before execution./hokusai-reproducingUse when the user asks to make a result on HOKUSAI BigWaterfall2 (HBW2) reproducible, shareable, or turned into a notebook/script — or proactively suggest it after a chunk of exploratory job/file work that produced something worth preserving. Builds a Jupyter notebook that replays the real workflow via hpc_agent_core.client, not a hand-copied SSH script./hokusai-submitting-jobsUse when the user wants to run, submit, or launch a job on HOKUSAI BigWaterfall2 (HBW2). Covers partition/queue selection, JobSpec construction, submission, and known gotchas specific to this facility.2 plugins ship this exact skill · first indexed Oct 13, 2026