Skip to content
Back to skills

Mats Slurm

ASecurity

SLURM helpers for the MATS compute cluster — interactive and batch GPU jobs on A100 and L40, queue and GPU-availability monitoring, log tailing, and the one-time alias setup. Use when submitting or watching a job on MATS, when `grun`, `gbatch`, `arun`, `jlog` or `te` appear, or when a cluster job is queued, pending or failing to get a GPU.

  • 13 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 10, 2026
toolsrustshellnodedebugging

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add yulonglin/dotfiles --skill mats-slurm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mats Slurm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mats Slurm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yulonglin-mats-slurm/badge)](https://www.skillsdirectory.com/skills/yulonglin-mats-slurm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mats-slurm
description: SLURM helpers for the MATS compute cluster — interactive and batch GPU jobs on A100 and L40, queue and GPU-availability monitoring, log tailing, and the one-time alias setup. Use when submitting or watching a job on MATS, when `grun`, `gbatch`, `arun`, `jlog` or `te` appear, or when a cluster job is queued, pending or failing to get a GPU.
---

# MATS SLURM

Cluster-specific mechanics only. What makes a run worth submitting, and what makes it trustworthy when it lands, is in `~/.claude/checklists/experiments.md` — read that before you submit, not this file.

## Quick Setup

1. **Create log directories**: `mkdir -p ~/slurmlogs ~/slurmerrors`
2. **Install aliases**: source `~/.claude/skills/mats-slurm/templates/slurm_aliases.sh` from your shell config.

## Detailed Reference

`~/.claude/skills/mats-slurm/REFERENCE.md` has the full command list (`grun`, `gbatch`, `jlog`, `te`, `arun`), the GPU types and the configuration variables. Read it when you need a flag rather than the shape.

## Working Pattern

Submit long runs with `gbatch`, watch them with `jlog` and `te`, and use `arun` for an interactive shell when a run needs debugging on the node itself.

## Reach for a neighbour instead when

- the machine is **not** the MATS cluster — local pueue, `jexp`, resource caps and sandbox failure modes are the `jobs` skill
- the question is whether the run is **designed** right — pilot gates, spend gates, manifests, resumability: `~/.claude/checklists/experiments.md`
- the run has finished and the question is what it **means**: `~/.claude/checklists/results-analysis.md`

Files in this skill

  • REFERENCE.md2.8 KB
  • SKILL.md1 KB
  • templates/slurm_aliases.sh16.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.