Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

build-slurm-image

Skill by awslabs

Builds the Slurm compute node container image for the slinky-slurm deployment. It can use AWS CodeBuild, local Docker, or an existing ECR image, then generates SSH keys and renders Helm values.

  • Score 74
  • 500 stars
  • MIT-0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install build-slurm-image

Built from the published package, never by AI.

git clone --depth 1 https://github.com/awslabs/awsome-distributed-ai /tmp/awsome-distributed-ai && mkdir -p ~/.claude/skills && cp -r /tmp/awsome-distributed-ai/architectures/sagemaker-hyperpod-eks/slinky-slurm/.opencode/skills/build-slurm-image ~/.claude/skills/build-slurm-image

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install build-slurm-image in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The build-slurm-image skill builds the Slurmd Deep Learning Container image used for Slurm compute nodes. It runs setup.sh, which can build the image through AWS CodeBuild, build it locally with Docker, or skip the build when the image already exists in ECR. The script also generates an ed25519 SSH key pair for login node access and renders the slurm-values.yaml Helm values file from a template, using values set by instance type.

The skill is Phase 2 of the slinky-slurm deployment workflow. CodeBuild is the default and is recommended for production, while local Docker is intended for development and testing. The skill lists prerequisites, verification steps and troubleshooting, including a check that no template variables remain unresolved in the generated values file.

Written from the project's SKILL.md and checked against it.

What it can do

  • CodeBuild image buildBuilds the Slurmd image in AWS through a CodeBuild project, the default mode.
  • Local Docker buildBuilds the Slurmd image on a local machine with Docker when the --local-build flag is used.
  • Skip build modeUses an existing image in ECR and checks that it is present when the --skip-build flag is used.
  • SSH key generationCreates an ed25519 key pair at ~/.ssh/id_ed25519_slurm if one is not already present.
  • Helm values renderingRenders slurm-values.yaml from a template with GPU, EFA, GRES and replica values for the chosen instance type.
  • Output verificationChecks the generated values file for unresolved template variables and confirms the SSH key and ECR image exist.

What you need

  • AWS CLI configured with valid credentials
  • zip command for CodeBuild builds
  • jq (CloudFormation) or terraform (Terraform)
  • Docker Desktop running for local builds

Try asking

  • Build the Slurm compute node image for ml.g5.8xlarge using CloudFormation.
  • Run setup.sh in local Docker mode for a p5 instance with two nodes.
  • Check that slurm-values.yaml has no unresolved template variables.

Good to know

  • The DLC ECR registry is always in us-east-1, regardless of the deployment region.
  • Skip build mode fails if the image is not already in ECR.
  • The source describes this as Phase 2 of the slinky-slurm workflow and does not cover the other phases.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: architectures/sagemaker-hyperpod-eks/slinky-slurm/.opencode/skills/build-slurm-image/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to build-slurm-image

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

build-slurm-image: common questions

What does the CodeBuild path do?

It packages the Dockerfile and buildspec into a zip, uploads it to S3, deploys a CodeBuild stack, and starts a build that pushes the image to ECR.

Which instance types are supported?

The source shows values for ml.g5.8xlarge and ml.p5.48xlarge, which set GPU count, EFA count, GRES and replicas.

Where is the SSH key stored?

The setup script creates the key pair at ~/.ssh/id_ed25519_slurm if it is missing, and embeds the public key in slurm-values.yaml.

How do I install build-slurm-image?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is build-slurm-image free?

The code is published under the MIT-0 licence. The service it connects to may have its own pricing.

Is build-slurm-image safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to build-slurm-image?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

build-slurm-image Install

Add to stack

Loading.