/hpc-fugaku:fugaku-reproducingfrom hpc-fugaku
Builds a Jupyter notebook that reproduces a Fugaku HPC workflow via hpc_agent_core.client, making exploratory sessions shareable and replayable with caching modes (live/lazy/replay).
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.
Build a linear Jupyter notebook that reproduces what you and the user just
did, by calling the same MCP tool surface you've been using, via
hpc_agent_core.client.
get_resources,
submit_job, fs_download, ...) — use these normally for the task
itself, exactly as always.hpc_agent_core.client. This is the only place that code runs.from hpc_agent_core.client import connect_sync, pinned_params
CACHE_DIR = "./.hpc_cache/<short-name-for-this-notebook>"
hpc = connect_sync(
pinned_params(
"https://github.com/RIKEN-RCCS/HPC-Agentic-SDK.git",
"hpc-mcp",
ref="main",
subdirectory="rookery",
),
mode="lazy",
cache_dir=CACHE_DIR,
)
Use subdirectory="rookery" for the SDK bundle. Pin ref to an SDK tag or commit when saving a notebook for later replay.
facility="fugaku" explicitlyjob = hpc.submit_job(facility="fugaku", spec={...}) # whatever the real spec was
status = hpc.wait_for_job(job["job_id"], facility="fugaku")
result = hpc.fs_download(facility="fugaku", remote_path="...", local_path="./downloads/result.json")
hpc.close()
No await, no async with anywhere — connect_sync gives plain blocking
calls. wait_for_job and fs_download already cache correctly on their
own (terminal poll result only; real downloaded bytes) — call them exactly
like this, no extra logic needed around them.
| mode | behavior | use it for |
|---|---|---|
live | always hits the real cluster | the first real run, to validate |
lazy | cache hit if present, else live | iterating on later cells |
replay | cache only, zero SSH | sharing the finished notebook |
Fugaku compute is billed against a project's node-hour allocation, and
the f-pt resource group additionally consumes Fugaku Points. A
mode="live" (or "lazy" on a cache miss) run of a cell containing
submit_job spends real allocation — tell the user which group and
resource group will be charged before running that cell.
Pin attributes.account (the project group) and attributes.queue_name
explicitly in the notebook's spec rather than relying on configured
defaults: a notebook meant to be reproducible by someone else shouldn't
silently charge whichever group their config names, and resource-group
availability differs per project.
The user's own project directory, or wherever they say. It is a new file for their work — not something written into any plugin installation or repository.
mode="live" from an empty CACHE_DIR (see the
billing note above before doing this). Then copy that resulting cache
directory to sit next to the notebook file, and tell the user to commit
both together if they're versioning this.get_resources(facility="fugaku") and pick from that — don't guess.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/fugaku-buildUse when building, compiling, linking or profiling software on Fugaku — choosing a compiler toolchain (Fujitsu vs LLVM vs GCC), MPI, BLAS/LAPACK, cross-compilation for A64FX, verifying a build actually produces working parallel code, and measuring where time goes (fipp, fapp, perf, percent of peak)./fugaku-configuringUse 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./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./fugaku-referenceUse to answer questions about Fugaku 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./fugaku-remote-commandUse when the user wants to run one or more shell commands on Fugaku'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.Other plugins' skills for the same job
npx claudepluginhub riken-rccs/hpc-agentic-sdk --plugin hpc-fugaku