palmetto-slurm-safe-guard

Enforce safe Slurm job templates and runtime guardrails for Palmetto compute workloads.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/KwongFuk/codex-skills --skill palmetto-slurm-safe-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: palmetto-slurm-safe-guard
Source: https://github.com/KwongFuk/codex-skills/tree/main/global/palmetto-slurm-safe-guard
Command: npx skills add https://github.com/KwongFuk/codex-skills --skill palmetto-slurm-safe-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce safe Slurm templates and governance around long-running jobs to protect code, data, and infrastructure while ensuring compliant scratch usage and reliable results.

Core Features & Use Cases

  • Preflight safety checks before submission: validate inputs, ensure /scratch usage, and prevent login-node execution.
  • Periodic, low-noise runtime monitoring with signal-safe shutdown to minimize disruption.
  • Resumable, atomic saves for checkpoints and results with offline-mode defaults to protect work.

Quick Start

Use Palmetto Slurm Safe Guard whenever you write or update sbatch scripts for long-running jobs.

Frequently Asked Questions about palmetto-slurm-safe-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Can I use signal-safe termination to protect GPU inference jobs on a Slurm cluster?

Yes, you can use signal-safe termination to protect GPU inference jobs on a Slurm cluster. It enables resumable atomic saves and graceful shutdown to minimize disruption during long-running compute workloads.

How do I enforce safe Slurm job scripts for long-running compute workloads?

You can enforce safe Slurm job scripts by applying preflight validation, scratch-path policies, and signal-safe termination to ensure code and data remain protected on /scratch during long-running compute workloads.

What is the best way to add checkpointing and runtime monitoring to sbatch scripts?

The best way to add checkpointing and monitoring to sbatch scripts is to implement resumable atomic saves and lightweight periodic runtime checks, ensuring job state is preserved during long-running translation or training jobs.

How do I stop Slurm jobs from writing data outside of /scratch directories?

Stop Slurm jobs from writing outside /scratch by applying scratch-path policies during preflight safety checks, which validate inputs and enforce compliant scratch usage before the job begins execution.

Can I use signal-safe termination to protect GPU inference jobs on a Slurm cluster?

Yes, you can use signal-safe termination to protect GPU inference jobs on a Slurm cluster. It enables resumable atomic saves and graceful shutdown to minimize disruption during long-running compute workloads.

When should I enable offline mode defaults for Slurm training and inference jobs?

Enable offline mode defaults for Slurm training and inference jobs when you need to protect work during long-running execution, allowing resumable atomic saves and checkpointing without continuous external network dependencies.