running-cluster-experiments

running-cluster-experiments is a skill for Claude Code, Codex from chgagne/claude-skills-research. It costs 72 tokens per session (5,864 once invoked), scanned A, original, MIT.

A guide for planning and running many related computing experiments on a Slurm or HPC cluster, which is a shared system for large jobs. It covers resource requests, job arrays, scheduling, and recovery after failed or incorrect runs.

In plain words
What is it for?
Use it to budget walltime, choose job and array shapes, submit experiments in stages, and diagnose jobs that produced no results or used the wrong hardware or configuration.
Why use it?
It reduces wasted cluster time when jobs are killed by time limits, receive fewer resources than expected, run the wrong settings, or finish without saving useful results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to budget walltime, choose job and array shapes, submit experiments in stages, and diagnose jobs that produced no results or used the wrong hardware or configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chgagne/claude-skills-research/running-cluster-experiments
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add chgagne/claude-skills-research --skill running-cluster-experiments
Clone the repo
git clone --depth 1 https://github.com/chgagne/claude-skills-research

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for running-cluster-experiments

README.md
[![agentmods](https://agentmods.dev/badge/skills/chgagne/claude-skills-research/running-cluster-experiments/github.svg)](https://agentmods.dev/skills/chgagne/claude-skills-research/running-cluster-experiments)
Your own site
<a href="https://agentmods.dev/skills/chgagne/claude-skills-research/running-cluster-experiments"><img src="https://agentmods.dev/badge/skills/chgagne/claude-skills-research/running-cluster-experiments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for running-cluster-experiments

Your own site · 80×15
<a href="https://agentmods.dev/skills/chgagne/claude-skills-research/running-cluster-experiments"><img src="https://agentmods.dev/badge/skills/chgagne/claude-skills-research/running-cluster-experiments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.05864
Opus 5 $0.00036 $0.02932
Sonnet 5 $0.00014 $0.01173
Haiku 4.5 $0.00007 $0.00586

Measured 11d ago against content hash 7f78fbb87bcf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

running-cluster-experiments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

running-cluster-experiments/SKILL.md · 416 lines

How it starts

The opening of the file, as written. The whole thing — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Running Cluster Experiments

Overview

This is the methodology of experiment campaigns on shared clusters. For the mechanics — MFA, account strings, gres names, quotas, partitions, rsync flags — REQUIRED BACKGROUND: use using-drac-clusters.

Core principle: a scheduler will kill your job at an arbitrary point, and a cluster will hand you less than you asked for. Design for both, or your allocation buys nothing. Every rule below is a consequence.

The expensive failures are never "the code crashed". They are: the job ran perfectly and wrote nothing; the job ran a different experiment than its name says; the allocation was spent before the first useful instruction.

Never compute on a login node — use an interactive allocation

Login nodes are shared by hundreds of people and staff kill offenders. squeue, ls, sacct, diskusage_report, editing, sbatch, file transfer: fine. Anything that loops over data, parses a large file, trains, plots, or runs for more than a few seconds: not fine — including "just this once to check something", and including work you started before realising how big it was.

There is always an alternative, so there is never an excuse. Interactive compute is a normal allocation, not a special favour:

salloc --account=<alloc> --cpus-per-task=4 --mem=16G --time=1:00:00   # shell on a compute node
srun --jobid=<id> --pty bash                                          # shell inside a running job

Short interactive requests usually start in seconds — a measured example: a 1-hour CPU job and a 30-minute GPU job on a busy cluster both began within ~2 minutes, while an 8-hour job on the same cluster waited 13 hours. Asking for less gets you compute faster than not asking at all.

If interactive scheduling is genuinely slow, the answer is sbatch, not the login node.

Build a cost model before you choose a walltime

Measure per-unit cost at the real configuration, on the machine that will run it, then multiply. Not at a smaller model, not at a shorter run, not on a different cluster, not from last quarter's estimate.

Read the full file on GitHub · 416 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 416 lines · 72 tokens per session scan A 7f78fbb87bcf

Subscribe to this mod's changes

running-cluster-experiments is a skill published in the GitHub repository chgagne/claude-skills-research (4 stars, last pushed 6d ago), licensed MIT. It adds 72 tokens to every session and 5,864 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

paper-writer

Medical/scientific paper writing workflow skill. Manages the full pipeline from literature search to submission-ready manuscript. Creates and manages a project directory with IMRAD-format section files, literature matrix, reference management, and quality checklists. Supports both English and Japanese papers.…

kgraph57/paper-writer-skill · 106 tokens

food-research

Run a comprehensive, multi-source literature and evidence-synthesis workflow for food & nutrition science. Use when the user wants to research a food/nutrition topic in depth, do a literature review, build an evidence brief, screen and synthesize many sources, verify citations, or scope a systematic review.…

PangenomeAI/academic-skills-food-nutrition · 154 tokens

food-paper

Multi-subagent manuscript system for food & nutrition science covering the whole research process: understand the field, frame research questions, curate and analyze data, run statistics, build figures and tables, construct the discussion, draft, polish, and self-review — journal-aware throughout. Includes a…

PangenomeAI/academic-skills-food-nutrition · 180 tokens

food-pipeline

Master orchestrator for the whole food & nutrition research-to-publication workflow. Coordinates the specialist skills — each with its own subagent set — into one governed path: journal selection, research (food-research / food-deep-research), writing & analysis (food-paper), figures (food-figure), peer review…

PangenomeAI/academic-skills-food-nutrition · 137 tokens

food-deep-research

General-purpose deep research that produces a fully written, source-validated literature review on any question: scope it, design the method, discover and screen sources by journal ranking, validate every source, extract and verify evidence, synthesize, stress-test, then write and format the review (APA 7.0 by…

PangenomeAI/academic-skills-food-nutrition · 166 tokens

food-figure

Comprehensive figure system for food & nutrition manuscripts: analyzes the user's data, recommends the best figure(s) to make, then produces submission-grade graphics in Python or R at the target journal's spec. Handles all common scientific figure types (bar/box/violin, line/kinetic, scatter/regression, Bland–Altman…

PangenomeAI/academic-skills-food-nutrition · 218 tokens