/rikyu:rikyu-reproducingfrom rikyu
Builds a Jupyter notebook that reproduces a Rikyu HPC workflow via hpc_agent_core.client, turning exploratory sessions into shareable, rerunnable scripts.
Ships in 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.
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.Everything you need for #2 is written out below. Use it directly.
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/Rikyu-Agent.git",
"rikyu-hpc-mcp",
ref="main",
subdirectory="server",
),
mode="lazy",
cache_dir=CACHE_DIR,
)
This launches the server the same way uv tool run does for everyone —
nothing else needs to be installed to run this notebook.
job = hpc.submit_job(spec={...}) # whatever the real spec was
status = hpc.wait_for_job(job["job_id"])
result = hpc.fs_download(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 |
RIKYU compute is billed with no usage cap. A mode="live" (or "lazy"
on a cache miss) run of a cell containing submit_job submits a real,
billed job — tell the user what will be submitted before running that cell
for real, the same as you would outside this workflow.
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 and pick from that — don't guess a default.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub riken-rccs/rikyu-agent --plugin rikyu6 skills in this plugin
/rikyu-configuringUse when the user wants to set up, configure, or troubleshoot RikyuAgent — SSH access to the Rikyu cluster, 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./rikyu-demoInteractive demo of RikyuAgent — walks through facility info, live cluster status, docs search, filesystem access, and job submission on the RIKEN Rikyu supercomputer./rikyu-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on the Rikyu supercomputer, or about queue and node availability./rikyu-referenceUse when answering any question about Rikyu supercomputer specifics — login, accounts, partitions, modules, storage, policies — or when unsure about a cluster detail. Search the bundled guide instead of guessing./rikyu-submitting-jobsUse when the user wants to run, submit, or launch a job (training, computation, benchmark) on the Rikyu supercomputer. Covers partition selection, JobSpec construction, submission, and interactive sessions.