Works with the AI Agents you already use

    Slurm HPC Assistant

    by Paulo de Tarço

    1

    Analyze Slurm HPC clusters, troubleshoot pending jobs, and monitor node health via read-only MCP tools.

    Free

    Security scanned
    Slurm HPC Assistant

    Slurm HPC Assistant

    Example session with this skill installed

    Our cluster queue has been stuck since yesterday — 40 jobs sitting in PENDING and nobody can get anything to run. Can you look into it? I need to know whether it's a capacity issue, a bad node, or something in the scheduler.

    • Read your context and instructions
    • Compiled the slurm hpc assistant

    I have retrieved the current cluster status and investigated job 1024. The cluster is currently at high utilization, and the job is waiting for specific resource availability.

    Slurm Operational Analysis

    Cluster Health Summary

    ResourceTotalAllocatedIdleOther
    Nodes128110126 (DRAIN)
    CPUs8192704011520
    Memory64TB52TB12TB0

    Job Investigation: 1024

    • Job ID: 1024
    • User: rsmith
    • State: PENDING
    • Reason: Resources
    • Partition: compute-gpu
    • Requested CPUs: 32
    • Requested Nodes: 1
    • Requested Licenses: vasp@1

    Observations

    1. The compute-gpu partition has 0 idle nodes; all 16 nodes are currently in the ALLOCATED state.
    2. Job 1024 requires a vasp license. Current license status shows 5/5 licenses in use by other running jobs.
    3. There are 6 nodes in DRAIN state with the reason: Low socket memory.

    Potential Issues

    • Resource Saturation: The GPU partition is fully booked, preventing any new jobs from starting regardless of priority.
    • License Constraint: Even if a node becomes free, the job cannot start until a vasp license is released.
    • Hardware Health: 5% of the cluster is unavailable due to memory issues on specific nodes.

    Recommendations

    1. Use get_licenses to see when currently running jobs using the vasp license are expected to terminate.
    2. Use get_nodes with the DRAIN filter to inspect if the 6 unavailable nodes can be recovered by an administrator.

    Next steps

    • Run get_licenses to check license expiration times.
    • Inspect the drained nodes using get_node for specific error logs.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing a Slurm cluster often involves manually parsing verbose log files and command-line outputs to find out why jobs are pending or nodes are down. This skill automates the analysis of HPC environments, providing instant operational insights from live cluster data.

    What it does

    • Cluster health monitoring provides a high-level overview of resources and system status.
    • Job investigation analyzes specific job states, resource requests, and scheduling conditions.
    • Node analysis inspects compute node states, reasons for failure, and resource allocation.
    • Partition inspection checks availability and scheduling constraints across defined partitions.
    • Slurm diagnostics retrieves and interprets scheduler metrics and diagnostic information.
    • License tracking monitors the availability and usage of Slurm-managed software licenses.

    How it works

    1. Query the Slurm cluster using built-in read-only MCP tools to fetch live data.
    2. Correlate information across jobs, nodes, and partitions to identify bottlenecks.
    3. Analyze the retrieved facts against Slurm reference documentation for job states and node failures.
    4. Report findings with a clear breakdown of observed facts, potential issues, and recommendations.

    Frameworks & Tools

    This skill requires the Rust Slurm MCP Server, an MCP (Model Context Protocol) server developed in Rust that provides integration between AI assistants and Slurm Workload Manager environments.

    The MCP server exposes read-only tools that allow the skill to retrieve live cluster information, inspect jobs, analyze nodes, monitor partitions, and access scheduler diagnostics.

    Required dependency:

    The skill and MCP server work together to provide structured, reliable, and real-time operational insights for HPC environments.

    Designed for HPC administrators, Linux system administrators, and SRE professionals.

    Why this beats prompting it yourself

    Generic LLMs often hallucinate Slurm job states or confuse requested vs. allocated resources. This skill follows a structured troubleshooting workflow and uses specific reference documentation to ensure technical precision without inventing cluster data.

    Use cases

    • Identify why specific jobs are stuck in a pending state.
    • Audit node resource allocation to find underutilized or drained hardware.
    • Review scheduler diagnostics to identify performance issues in the controller.
    • Check partition availability before submitting large-scale scientific workloads.

    Known limitations

    This tool is strictly read-only and cannot submit, cancel, or modify jobs, nodes, or configurations. Requires an active MCP server connection to the cluster.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    This skill automates the tedious process of parsing Slurm command outputs (like squeue and sinfo) to provide instant, plain-English explanations for job delays, node failures, and resource bottlenecks.

    No, this skill is designed with a read-only architecture. It can monitor and troubleshoot your environment but lacks the permissions to submit, cancel, or modify any jobs or system configurations.

    The skill requires an active Model Context Protocol (MCP) server connection that has access to your Slurm Workload Manager environment and its associated CLI tools.

    Generic LLMs often struggle with the nuances of Slurm job states; this skill uses a structured troubleshooting workflow and reference-backed logic to ensure it correctly interprets requested vs. allocated resources without hallucinating.

    Yes, it can monitor the availability and current usage of Slurm-managed software licenses, helping you determine if license limits are the cause of pending job states.

    This skill is compatible with any AI agent or platform that supports the Model Context Protocol (MCP) and is connected to your Linux-based Slurm environment.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Free