/hpc-octopus:octopus-configuringfrom hpc-octopus
Use when the user wants to set up, configure, or troubleshoot Octopus (RIKEN R-CCS) — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/octopus.json file. Also use when octopus tools fail with connection or embedding errors.
Ships in hpc-octopus. 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/octopus.json (the common directory
shared by every facility this plugin serves — one file per facility). Env
vars OCTOPUS_HOST and OCTOPUS_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": "octopus"
}
}
Octopus accepts non-interactive, key-based SSH; the MCP server cannot answer a password prompt. Add an 'octopus' alias to ~/.ssh/config using the management-node hostname and username issued to you by the site, or set ssh.host to that user@host value directly. No account is normally required in the config: Slurm applies the user's DefaultAccount. If you belong to several projects and want a persistent override, add defaults.account after get_projects has shown the real account names; never copy another user's account. Running on an Octopus front end? Use host=localhost instead.
Read the existing ~/.hpc-agent/octopus.json first and only ask
about what's missing or being changed.
Octopus requires non-interactive key-based SSH to the management node. Use an
SSH alias or user@host issued for the user's own account; do not invent a
public hostname. If the agent runs on an Octopus front end, use
"host": "localhost".
An account override is optional because Slurm supplies each user's
DefaultAccount. Only configure defaults.account after get_projects has
shown that user's real associations. Docs embeddings use the shared RIKEN
endpoint when a key is available and otherwise fall back to BM25.
"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/octopus.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 octopus
(From a checkout of this repo: .venv/bin/python -m hpc_mcp.doctor octopus also works.)uv tool run --quiet --from git+https://github.com/william-dawson/hpc-rookery.git@main python -m hpc_mcp.ingest octopus
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
npx claudepluginhub william-dawson/hpc-rookery --plugin hpc-octopus7 skills in this plugin
/octopus-demoInteractive demo of Octopus (RIKEN R-CCS) — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./octopus-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on Octopus (RIKEN R-CCS), 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./octopus-referenceUse to answer questions about Octopus (RIKEN R-CCS) 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.