/hpc-rikyu:rikyu-configuringfrom hpc-rikyu
Use when the user wants to set up, configure, or troubleshoot RIKYU (RIKEN AI4S / GB200) — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/rikyu.json file. Also use when rikyu tools fail with connection or embedding errors.
Ships in hpc-rikyu. 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/rikyu.json (the common directory
shared by every facility this plugin serves — one file per facility). Env
vars RIKYU_HOST and RIKYU_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": "rikyu"
}
}
RIKYU accepts key-based SSH only. Generate a key if you don't have one (Ed25519 recommended; ECDSA P-521 or RSA >=2048 also accepted) and register the public key through RIKYU's Open OnDemand web portal on its 'SSH Public Key' page before the first login. Then add a 'rikyu' alias to ~/.ssh/config pointing at login.rikyu.r-ccs.riken.jp, or set ssh.host to [email protected]. If you belong to more than one RIKYU project, also add "defaults": {"account": ""} — otherwise sbatch rejects jobs that don't name one. get_projects lists the projects you can charge once the connection works. Running on a RIKYU front-end node instead of a laptop? Use "host": "localhost" and no SSH key is needed at all.
Read the existing ~/.hpc-agent/rikyu.json first and only ask
about what's missing or being changed.
SSH — ask how they reach this facility's login node:
An alias in ~/.ssh/config (recommended) → "host": "<alias>".
If the key isn't registered yet, they'll need to generate one (Ed25519 recommended; ECDSA P-521 or RSA ≥2048-bit also accepted) and register the public key through RIKYU's Open OnDemand web portal ("SSH Public Key" page) before the first login — point them to that portal by name, not a URL, since it isn't one we should be linking to here.
Running the agent session directly on this facility's own
front-end/login node (not a personal laptop)? Use
"host": "localhost" instead — no SSH key needed. Skip the
verification step below for this case; there's nothing to probe.
Verify with: 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".
Enable SSH multiplexing unless the user explicitly opts out. This
lets repeated agent operations reuse one authenticated connection rather
than making the login node authenticate every call. Recommend an SSH
alias and, after showing the exact change and receiving confirmation,
add a narrowly scoped block to ~/.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 (optional — skippable; BM25 keyword search still
works without it). Store it under embedding.api_key.
Write the file to ~/.hpc-agent/rikyu.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.
Validate:
uv tool run --quiet --from git+https://github.com/william-dawson/hpc-rookery.git@main hpc-doctor rikyu
(From a checkout of this repo: .venv/bin/python -m hpc_mcp.doctor rikyu also works.)
If the embedding endpoint was added or changed, rebuild this facility's docs index:
uv tool run --quiet --from git+https://github.com/william-dawson/hpc-rookery.git@main python -m hpc_mcp.ingest rikyu
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
Other plugins' skills for the same job
npx claudepluginhub william-dawson/hpc-rookery --plugin hpc-rikyu7 skills in this plugin
/rikyu-demoInteractive demo of RIKYU (RIKEN AI4S / GB200) — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./rikyu-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on RIKYU (RIKEN AI4S / GB200), 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./rikyu-referenceUse to answer questions about RIKYU (RIKEN AI4S / GB200) 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./rikyu-remote-commandUse when the user wants to run one or more shell commands on RIKYU (RIKEN AI4S / GB200)'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./rikyu-reproducingUse when the user asks to make a result on RIKYU (RIKEN AI4S / GB200) 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./rikyu-submitting-jobsUse when the user wants to run, submit, or launch a job on RIKYU (RIKEN AI4S / GB200). Covers partition/queue selection, JobSpec construction, submission, and known gotchas specific to this facility.