/hpc-tsubame:tsubame-submitting-jobsfrom hpc-tsubame
Use when the user wants to run, submit, or launch a job on TSUBAME4.0 (Science Tokyo). Covers partition/queue selection, JobSpec construction, submission, and known gotchas specific to this facility.
Ships in hpc-tsubame. 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.
Every tool call in this skill uses facility="tsubame".
Choose a TSUBAME resource type first. Put it in
attributes.custom_attributes.resource_type and use resources.node_count as
the number of fixed units. The resource type—not generic gpus or memory—sets
cores, memory, GPUs, and scratch. A partial spec defaults to node_f, priority
-5, and either the configured group or the free trial.
The free trial has no account and is limited to two units and three minutes.
For normal work, use a group returned by get_projects; never copy one from an
example. Normal jobs leave queue_name blank. The only evidenced explicit queue
is the subscription queue prior. The maximum wall time is 24 hours.
The scheduler request does not create an MPI launch line. Set launcher
explicitly for parallel jobs and make ranks per unit times threads per rank fit
the chosen type. With inherited environments, include module purge before
loading modules. Preview the generated script and ask permission before a real
submission.
submit_job(facility="tsubame", spec=spec) — show the user the spec
(or a plain-language description of it) before submitting, unless
they've explicitly said to just run it. No exceptions for this call.{"job_id": ..., "script_path": ...} — the rendered script
is kept on the cluster; fs_view(facility="tsubame", path=script_path)
to inspect exactly what was submitted.get_resources(facility="tsubame") (live occupancy) and
get_facility(facility="tsubame") (static limits) — don't guess.~/agent/work/<descriptive-name>/, never in the
home-directory root. ~/agent/ is the agent's visible scratch area —
~/agent/jobs already holds every submitted script — and the home
root stays the user's own.spec.directory with fs_mkdir before submission.
Schedulers enter that directory before the script body and pre_launch
runs, so a mkdir in pre_launch is too late.search_docs(facility="tsubame", query=...) on the hpc-docs
server. It searches a bundled guide, not a live site — never invent a URL
to send the user to.cancel_job without confirming with the user first.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub william-dawson/hpc-rookery --plugin hpc-tsubame7 skills in this plugin
/tsubame-configuringUse when the user wants to set up, configure, or troubleshoot TSUBAME4.0 (Science Tokyo) — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/tsubame.json file. Also use when tsubame tools fail with connection or embedding errors./tsubame-demoInteractive demo of TSUBAME4.0 (Science Tokyo) — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./tsubame-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on TSUBAME4.0 (Science Tokyo), 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./tsubame-referenceUse to answer questions about TSUBAME4.0 (Science Tokyo) 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./tsubame-remote-commandUse when the user wants to run one or more shell commands on TSUBAME4.0 (Science Tokyo)'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./tsubame-reproducingUse when the user asks to make a result on TSUBAME4.0 (Science Tokyo) reproducible, shareable, or turned into a notebook/script — or proactively suggest it after a chunk of exploratory job/file work that produced something worth preserving. Builds a Jupyter notebook that replays the real workflow via hpc_agent_core.client, not a hand-copied SSH script.