/hpc-miyabi:miyabi-configuringfrom hpc-miyabi
Use when the user wants to set up, configure, or troubleshoot Miyabi (JCAHPC) — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/miyabi.json file. Also use when miyabi tools fail with connection or embedding errors.
Ships in hpc-miyabi. 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/miyabi.json (the common directory
shared by every facility this plugin serves — one file per facility). Env
vars MIYABI_HOST and MIYABI_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": "miyabi-g"
},
"defaults": {
"group": "<your-project-group>"
}
}
Miyabi asks for a one-time code at login, which non-interactive SSH
cannot answer. Use OpenSSH connection multiplexing: add a host block
to ~/.ssh/config with ControlMaster auto, ControlPath
~/.ssh/controlmasters/%C and ControlPersist 30m (mkdir -p that
directory, chmod 700), open the master once with ssh -MNf <alias>
entering your code, then set ssh.host to that SAME alias — a bare
hostname selects a different control socket and re-prompts.
Running on a Miyabi login node instead? Use ssh.host=localhost.
Set defaults.group to your own PBS project group: every job requires
#PBS -W group_list=. Never copy a group from another user.
MIYABI_GROUP overrides the configured group.
If a call is suddenly refused with 'Permission denied
(keyboard-interactive)', the master connection expired — re-run
ssh -MNf <alias>. Never ask the user for their one-time code.
Read the existing ~/.hpc-agent/miyabi.json first and only ask
about what's missing or being changed.
SSH — ask how they reach this facility's login node:
The recommended setup is a multiplexed SSH alias. Miyabi asks for a
one-time code at login, which a non-interactive SSH call can never
answer — so the user authenticates once, interactively, and every later
ssh/rsync reuses that connection.
Have the user add a block to ~/.ssh/config (substituting their
account):
Host miyabi-g
HostName miyabi-g.jcahpc.jp
User <account>
ControlMaster auto
ControlPath ~/.ssh/controlmasters/%C
ControlPersist 30m
then, after mkdir -p ~/.ssh/controlmasters && chmod 700 ~/.ssh/controlmasters, open the master once:
ssh -MNf miyabi-g # they enter their one-time code here
ssh -O check miyabi-g # Master running (pid=…)
Set "host" to that same alias. A bare hostname, or a different
user or port, selects a different control socket and re-prompts.
Running on a Miyabi login node instead? Use "host": "localhost",
which is direct local execution and involves no SSH at all.
Never ask the user for their one-time code, and never try to script or automate entering one. The whole arrangement depends on the code being typed by the person, once, in their own terminal.
Also set defaults.group — every PBS job needs the user's own project
group (#PBS -W group_list=<group>), and submit_job refuses without one.
MIYABI_GROUP overrides the file. Never reuse a group from an example or
from another user; id -Gn on the login node shows theirs.
"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/miyabi.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 miyabi
(From a checkout of this repo: .venv/bin/python -m hpc_mcp.doctor miyabi also works.)uv tool run --quiet --from git+https://github.com/william-dawson/hpc-rookery.git@main python -m hpc_mcp.ingest miyabi
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
7 skills in this plugin
/miyabi-demoInteractive demo of Miyabi (JCAHPC) — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./miyabi-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on Miyabi (JCAHPC), 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./miyabi-referenceUse to answer questions about Miyabi (JCAHPC) 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 william-dawson/hpc-rookery --plugin hpc-miyabi