/hpc-fugaku:fugaku-configuringfrom hpc-fugaku
Use when the user wants to set up, configure, or troubleshoot Fugaku — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/fugaku.json file. Also use when fugaku tools fail with connection or embedding errors.
Ships in hpc-fugaku. 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/fugaku.json (the common directory
shared by every facility this plugin serves — one file per facility). Env
vars FUGAKU_HOST and FUGAKU_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": "fugaku"
},
"defaults": {
"group": "hp000000",
"gfscache_volume": "/vol0004"
}
}
Fugaku accepts key-based SSH only, through RIKEN's login gateway.
Add a 'fugaku' alias to ~/.ssh/config pointing at your login node,
or set ssh.host to [email protected].
Set defaults.group to your project group: every Fugaku job needs
one (#PJM -g), and the shared 'fugaku' group every account belongs
to is denied job submission, so there is no usable fallback. Run
id on the login node to see your real project groups.
Set defaults.gfscache_volume (e.g. /vol0004) if your work touches
second-layer storage outside $HOME, including Spack — it is
assigned per project. Leave it out for jobs that stay in $HOME.
Read the existing ~/.hpc-agent/fugaku.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 your Fugaku login node via RIKEN's login gateway.Also set defaults.group — Fugaku needs a second key that most
facilities don't:
{
"ssh": { "host": "fugaku" },
"defaults": { "group": "hp000000", "gfscache_volume": "/vol0004" }
}
defaults.group is the project group charged on every job (#PJM -g).
Mandatory: the shared fugaku group that every account belongs to is
explicitly denied job submission, so there is no usable fallback. Run
id on the login node to see the account's real project groups.
FUGAKU_GROUP overrides the file.
defaults.gfscache_volume (e.g. /vol0004) declares the second-layer
storage volume a job will touch. Required whenever work goes outside
$HOME, including anything under Spack; omit it for jobs that stay in
$HOME. FUGAKU_GFSCACHE overrides the file.
Resolve the group's data area at setup time. Run accountd -E on
the login node once the connection works: it lists each project group's
/vol0X0X/data/<group>/ path and quota. That output is the checked
answer for which volume gfscache_volume should name, and jobs should
run from that data area, not $HOME (see fugaku-submitting-jobs).
"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/fugaku.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/william-dawson/hpc-rookery.git@main hpc-doctor fugaku
(From a checkout of this repo: .venv/bin/python -m hpc_mcp.doctor fugaku also works.)uv tool run --quiet --from git+https://github.com/william-dawson/hpc-rookery.git@main python -m hpc_mcp.ingest fugaku
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
8 skills in this plugin
/fugaku-buildUse when building, compiling, or linking software on Fugaku — choosing a compiler toolchain (Fujitsu vs LLVM vs GCC), MPI, BLAS/LAPACK, cross-compilation for A64FX, and verifying a build actually produces working parallel code./fugaku-demoInteractive demo of Fugaku — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./fugaku-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on Fugaku, 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.npx claudepluginhub william-dawson/hpc-rookery --plugin hpc-fugaku