# Slurm HPC Assistant

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

Slurm HPC Assistant is a free AI agent skill on Agensi by Paulo de Tarço, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Paulo de Tarço](https://www.agensi.io/creators/ptarco)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/slurm-hpc-assistant
- Tags: llm-ops, slurm, hpc, linux-admin, devops

## 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:**
- **Rust Slurm MCP:** https://github/ptarcode/rust_slurm_mcp

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.

## Requires

- Rust Slurm MCP

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Slurm HPC Assistant skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this assistant simplify Slurm cluster management compared to using standard CLI tools?

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.

### Can the Slurm HPC Assistant be used to submit or cancel jobs on the cluster?

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.

### What are the technical prerequisites for using this skill?

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.

### Why should I use this skill instead of simply pasting Slurm logs into a standard AI chat?

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.

### Does this skill support tracking software license availability within the cluster?

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.

### Which AI agents or platforms are compatible with this skill?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
