slurm-hpc-operator

Discover Slurm cluster configurations and validate job submissions via sbatch, salloc, and srun.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/TianyuDu/SLURM-HPC-AGENT-SKILL --skill slurm-hpc-operator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slurm-hpc-operator
Source: https://github.com/TianyuDu/SLURM-HPC-AGENT-SKILL/tree/main/slurm-hpc-operator
Command: npx skills add https://github.com/TianyuDu/SLURM-HPC-AGENT-SKILL --skill slurm-hpc-operator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users safely and effectively interact with Slurm-managed High-Performance Computing (HPC) clusters, preventing common errors related to resource allocation, job submission, and monitoring.

Core Features & Use Cases

  • Cluster Discovery: Safely inspects cluster configurations, partitions, nodes, and available resources (like GPUs) without making assumptions.
  • Job Validation & Submission: Guides users in creating and submitting sbatch, salloc, and srun commands, including dry-runs and validation against cluster policies.
  • Monitoring & Diagnosis: Helps users understand job status, diagnose pending jobs, and review completed job details using Slurm's monitoring tools.
  • Use Case: A researcher needs to submit a GPU-accelerated job but is unsure about the correct partition, available GPU types, or account to use. This Skill can discover these details and help construct a valid sbatch script.

Quick Start

Inspect the Slurm cluster and summarize verified partitions, limits, and GPU options.

Frequently Asked Questions about slurm-hpc-operator

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

FAQPage Schema
How do I discover available partitions and GPU resources on a Slurm HPC cluster?

You can discover available partitions and GPU resources on a Slurm HPC cluster by inspecting site-specific configurations. This process verifies available partitions, node limits, and GPU options without making assumptions about the cluster state.

How do I validate an sbatch job submission script before sending it to the cluster?

You validate an sbatch job submission by performing a dry-run and checking the script against cluster policies. This ensures resource allocation requests match available partitions and prevents common job submission errors.

Why is my Slurm job pending and how can I diagnose its status?

You diagnose a pending Slurm job by using Slurm's monitoring tools to check job status and review cluster policies. This helps identify resource constraints, partition limits, or scheduling priorities currently blocking the job.

Do I need Slurm CLI tools installed locally to use this HPC cluster agent?

Yes, you need Slurm CLI tools installed to operate HPC clusters with this agent. It relies on native command-line interfaces like sbatch, salloc, and srun to validate and submit jobs directly to the cluster environment.

What is the best way to safely allocate GPUs for a high-performance computing job in Slurm?

The best way to safely allocate GPUs in Slurm is to first discover available GPU types and partitions, then validate your resource request against cluster policies. This ensures your job targets hardware that actually exists on the cluster.

Can I use srun and salloc for interactive jobs on a Slurm cluster?

Yes, you can use srun and salloc for interactive jobs on a Slurm cluster. The agent guides you in constructing and validating these commands to ensure your resource allocation requests comply with site-specific policies.