/hpc-hokusai:hokusai-configuringfrom hpc-hokusai
Guides users through configuring HOKUSAI BigWaterfall2 (HBW2) SSH access, embedding endpoints for RAG, and the ~/.hpc-agent/hokusai.json file. Useful for troubleshooting connection or embedding errors.
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.
Settings live in ~/.hpc-agent/hokusai.json (the common directory
shared by every facility this plugin serves — one file per facility). Env
vars HOKUSAI_HOST and HOKUSAI_EMBED_API_KEY override the
file; the embedding key also falls back to a shared RCCS_EMBED_API_KEY
env var if several facilities share the same endpoint.
The file this facility needs (add "embedding": {"api_key": "..."} too if
docs search should use vector rather than keyword matching):
{
"ssh": {
"host": "hokusai"
},
"defaults": {
"account": "RB99999"
}
}
HBW2 accepts key-based SSH only — there are no password prompts. Register your public key at https://hokusai.riken.jp/hbw2/ before the first login, then either add a 'hokusai' alias to ~/.ssh/config pointing at hokusai.riken.jp, or set ssh.host to [email protected]. Set defaults.account to the project to bill: every HBW2 job requires one (RIKEN IDs start RB, HPCI-derived ones start HP). Running on an HBW2 front-end node instead of a laptop? Use "host": "localhost" and no SSH key is needed at all.
Read the existing ~/.hpc-agent/hokusai.json first and only ask
about what's missing or being changed.
SSH — ask how they reach this facility's login node:
~/.ssh/config (recommended) → "host": "<alias>",
pointing at hokusai.riken.jp.https://hokusai.riken.jp/hbw2/ before the
first login.Also set defaults.account — this facility needs a second key that
most don't:
{
"ssh": { "host": "hokusai" },
"defaults": { "account": "RB99999" }
}
Every HBW2 job must be billed to a project, so set this (or pass an
account per job) or submissions will error with a message telling you to.
RIKEN project IDs start RB; HPCI-derived ones start HP. Use
get_projects(facility="hokusai") to see which accounts you may charge.
HOKUSAI_ACCOUNT overrides the file. A legacy top-level "account"
key (from an older config example) is still honored if defaults.account
is absent, so an existing config keeps working unchanged.
"host": "localhost" instead — no SSH key needed. Skip the
verification step below for this case; there's nothing to probe.ssh -o BatchMode=yes <host> 'echo ok' (BatchMode
matters — the server cannot answer a password prompt; key-based auth
is required). Not applicable for "host": "localhost".~/.ssh/config without overwriting any
unrelated entries:
Host <alias>
ControlMaster auto
ControlPath ~/.ssh/controlmasters/%C
ControlPersist 30m
Create ~/.ssh/controlmasters with mode 0700, then open the initial
master in the user's own terminal with ssh -MNf <alias>. Set
ssh.host to that same alias. ControlMaster no is an intentional
opt-out; do not add or change multiplexing settings when it is present.embedding.api_key.~/.hpc-agent/hokusai.json (mkdir -p ~/.hpc-agent first if needed), then chmod 600 it — it may hold an API
key. Never commit it or echo the key back in conversation.uv tool run --quiet --from 'git+https://github.com/RIKEN-RCCS/HPC-Agentic-SDK.git@main#subdirectory=rookery' hpc-doctor hokusai
(From a checkout of this repo: .venv/bin/python -m hpc_mcp.doctor hokusai also works.)uv tool run --quiet --from 'git+https://github.com/RIKEN-RCCS/HPC-Agentic-SDK.git@main#subdirectory=rookery' python -m hpc_mcp.ingest hokusai
Then run the doctor again — it should report "chunks with embeddings".ssh.host to/from "localhost") applies
immediately — no server restart needed. A rebuilt docs index still needs
the hpc-docs server restarted to be picked up.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
7 skills in this plugin
/hokusai-demoInteractive demo of HOKUSAI BigWaterfall2 (HBW2) — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./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.npx claudepluginhub riken-rccs/hpc-agentic-sdk --plugin hpc-hokusai