/hpc-irene:irene-submitting-jobsfrom hpc-irene
Use when the user wants to run, submit, or launch a job on Irene (CEA TGCC). Covers partition/queue selection, JobSpec construction, submission, and known gotchas specific to this facility.
Ships in hpc-irene. 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="irene".
Default ordinary CPU/MPI work to rome. Use xlarge for large single-node
memory and the v100 family only for GPU-capable software. Valid partitions
are rome, xlarge, v100, v100l, v100l-os and v100xl.
Every Irene job needs a partition (queue_name), a TGCC project (account),
and filesystems (custom_attributes.filesystems, normally scratch,work).
Bridge rejects a job missing any of them, and without -m a compute node
cannot reach scratch, work or store at all.
Do not submit on a configured default account. defaults.account is a
convenience for remembering a project, not permission to spend it. Every
submission must carry an explicit attributes.account: if the user has not
named one, call get_projects(facility="irene") and ask which association
to charge. A project is only valid on the partitions ccc_compuse lists for
it, and the backend rechecks that pair at submission time.
process_count is total tasks (-n), cpu_cores_per_process is cores per
task (-c), node_count is -N, exclusive_node_use is -x, and
duration is rendered as seconds for -T. The launcher is ccc_mprun, which
the backend supplies for multi-task work.
A plain MPI job, once the user has chosen a project:
{
"name": "irene-mpi",
"executable": "./a.out",
"launcher": "ccc_mprun",
"resources": {"process_count": 32},
"attributes": {"queue_name": "rome", "duration": 1800,
"account": "gen12345",
"custom_attributes": {"filesystems": "scratch,work"}}
}
Hybrid MPI/OpenMP — ask for tasks with process_count, cores per task with
cpu_cores_per_process, and set OMP_NUM_THREADS to match:
{
"name": "irene-hybrid",
"executable": "./a.out",
"launcher": "ccc_mprun",
"environment": {"OMP_NUM_THREADS": "4"},
"resources": {"process_count": 8, "cpu_cores_per_process": 4},
"attributes": {"queue_name": "rome", "duration": 1800,
"account": "gen12345",
"custom_attributes": {"filesystems": "scratch,work"}}
}
Set custom_attributes.qos only when the current ccc_mqinfo output shows it
is appropriate, and pass raw Slurm options through custom_attributes as
Bridge's -E when something has no Bridge equivalent.
Bridge has no GPU count option: a GPU is allocated indirectly by reserving
cores per task, at a ratio of cores per node divided by GPUs per node — the
CpN and GpN columns of ccc_mpinfo. On a 128-core, 4-GPU node that is 32
cores per GPU, so -c 32 gets one GPU and -c 64 gets two. A job-total
resources.gpus can be translated when GPUs divide evenly across tasks;
otherwise check the live ratio with get_resources and set
cpu_cores_per_process yourself. GPU code still launches with ccc_mprun.
Use container.image with a pcocc image name — not an Apptainer or Docker
URI. The backend renders ccc_mprun -C <image> -- <cmd>.
Preview the rendered #MSUB script and ask permission before submitting.
submit_job(facility="irene", 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="irene", path=script_path)
to inspect exactly what was submitted.get_resources(facility="irene") (live occupancy) and
get_facility(facility="irene") (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="irene", 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-irene7 skills in this plugin
/irene-configuringUse when the user wants to set up, configure, or troubleshoot Irene (CEA TGCC) — SSH access, the embedding endpoint for docs search (RAG), or the ~/.hpc-agent/irene.json file. Also use when irene tools fail with connection or embedding errors./irene-demoInteractive demo of Irene (CEA TGCC) — walks through configuration, facility info, live cluster status, docs search, filesystem access, and a real job end to end./irene-monitoring-jobsUse when the user asks about the status, progress, output, history, or failure of jobs on Irene (CEA TGCC), 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./irene-referenceUse to answer questions about Irene (CEA TGCC) 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./irene-remote-commandUse when the user wants to run one or more shell commands on Irene (CEA TGCC)'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./irene-reproducingUse when the user asks to make a result on Irene (CEA TGCC) 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.