dsi-slurm
БесплатноБез исполняемых скриптовНе проверенUse the University of Chicago Data Science Institute Slurm cluster, called dsi-cluster here, for NeuriCo training, evaluation, sweeps, and batch jobs. Use…
от ChicagoHAI★ 164 звезды на GitHubОб этом скилле
dsi-slurm
Use dsi-cluster only when NeuriCo is run with:
--compute-backend dsi-slurm
The official cluster reference is https://cluster-policy.ds.uchicago.edu/.
When to Use
Use this skill for experiment, evaluation, sweep, or batch execution only when
NeuriCo was started with --compute-backend dsi-slurm.
Do not use this skill for local runs, Modal runs, paper writing, or lightweight analysis that can safely finish inside the local NeuriCo workspace.
Prerequisites
Before submitting cluster work, verify:
.neurico/dsi_slurm_remote_workspace.jsonexists in the local workspace;login.dsworks as a configured SSH alias without asking the agent for a username;rsynccan copy files throughlogin.ds;- Slurm commands such as
sbatch,squeue,sacct, andscancelare available onlogin.ds; - the job script requests an account, partition, time, memory, CPU count, and any GPU or storage profile required by the job that the user is allowed to use.
If any prerequisite is missing, report the blocker instead of guessing.
Contract
The local NeuriCo workspace is the source of truth for scoring, reporting, and
paper/comment writing. dsi-cluster is compute, not artifact storage.
NeuriCo runtime owns:
- creating the remote workspace;
- recording its location in
.neurico/dsi_slurm_remote_workspace.json; - archiving local
dsi-slurm-artifacts/after the stage; - removing the remote workspace after the stage.
You own:
- reading
.neurico/dsi_slurm_remote_workspace.json; - syncing code/data needed for the job into that remote workspace;
- submitting and monitoring Slurm jobs safely;
- copying required outputs back to the same relative paths in the local workspace;
- copying each completed job bundle back to local
dsi-slurm-artifacts/<JOB_ID>/.
Do not create, choose, reuse, or remove a different remote root.
Core Rules
- The local workspace is for orchestration and reporting only. Do not run experiment workload locally.
- Training, evaluation, selection, benchmarking, scored-output generation, and any result-changing command must run through Slurm in the runtime-provided remote workspace.
- Local commands may inspect files, prepare scripts, edit code, and verify copied-back results only.
- If really needed, run a very small Slurm smoke job before the full job. It
must use
sbatch,srun, orsallocand write logs underdsi-slurm-artifacts/<JOB_ID>/. - Use
login.dsfor SSH. Do not SSH directly to compute nodes. - Use Slurm (
sbatch,srun, orsalloc) for compute-node work. - Do not run training, heavy preprocessing, code agents, or IDE backends on login nodes.
- Do not use Modal, local GPU fallback, or another backend unless
the user reruns NeuriCo with a different
--compute-backend. - Do not leave the only copy of important outputs in node-local scratch or the remote workspace.
- Do not report success until all files required by
scoring/interface.mdare local and local scoring/reporting can use them.
Workspace Layout
Remote execution should mirror local execution. Keep the same relative paths for code, configs, metrics, predictions, checkpoints, and final artifacts.
Each Slurm job must have this bundle, both remotely while the job runs and locally before you finish:
dsi-slurm-artifacts/
<JOB_ID>/
slurm_<JOB_ID>.out
slurm_<JOB_ID>.err
job.json
For job arrays, use the array job ID:
dsi-slurm-artifacts/
<ARRAY_JOB_ID>/
slurm_<ARRAY_JOB_ID>_<TASK_ID>.out
slurm_<ARRAY_JOB_ID>_<TASK_ID>.err
job.json
job.json schema:
{
"job_id": "Slurm job or array ID returned by sbatch --parsable",
"status": "completed, failed, cancelled, timeout, preempted, or unknown",
"slurm_state": "raw Slurm accounting state such as COMPLETED",
"exit_code": "raw Slurm exit code such as 0:0",
"script": "sbatch script path relative to the workspace root",
"description": "short purpose of this job",
"submitted_at_utc": "UTC timestamp recorded after submission",
"recorded_at_utc": "UTC timestamp recorded after final state lookup"
}
job.json is audit and postmortem metadata. It helps humans and runtime
cleanup understand what ran; scoring and paper writing should use the normal
local files required by scoring/interface.md.
One experiment may submit multiple jobs. Use one directory per job or array ID.
Cluster Facts
- Login host:
login.ds. generalis the default partition for unattended batch work and can preempt.interactiveis for active debugging or Jupyter-style work.protectedis for short jobs that must avoid preemption.- Request GPUs with options such as
--gres=gpu:1. - Request node-local scratch with
--gres=local:<SIZE>; it appears as/local/scratch/<CNetID>_<JOBID>/and is deleted when the job releases it. - Probe actual storage paths. Do not assume
/project,/scratch, or a lab partition exists.
Workflow
Установить dsi-slurm в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dsi-slurm?
Use the University of Chicago Data Science Institute Slurm cluster, called dsi-cluster here, for NeuriCo training, evaluation, sweeps, and batch jobs. Use only when NeuriCo is run with --compute-backend dsi-slurm. Run jobs in the runtime-provided remote workspace, monitor Slurm safely, and copy required outputs back to the local NeuriCo workspace.
Как установить скилл dsi-slurm?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dsi-slurm запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic