kwongfuk/codex-skills/palmetto-slurm-fit-check
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Check Palmetto Slurm CPU/GPU/memory fit before submitting or editing GPU jobs. Use when a request involves sbatch scripts, GPU training jobs, H100/A100/H200 nodes, or deciding whether a current CPU request is too high for available node fragmentation.
Install
npx vskill@latest install kwongfuk/codex-skills/palmetto-slurm-fit-checkSKILL.md
Palmetto Slurm Fit Check
Use this skill before submitting or retuning a Palmetto GPU job.
Goal:
- inspect the current node fragmentation
- decide whether the requested CPU/GPU/memory tuple can start now
- recommend a lower CPU request when GPUs are available but CPUs are fragmented
- tell the user whether to submit now, lower CPUs, or wait
When To Use
Trigger this skill when the user asks to:
- submit or resubmit a Palmetto GPU job
- tune
#SBATCH --cpus-per-taskfor H100/A100/H200 jobs - check whether a job can run now
- find a better CPU/GPU ratio before
sbatch - explain why a GPU job is pending even though some GPUs look free
Workflow
- Read the target request from the
sbatchscript when possible. - Run the fit checker before any submission:
- Interpret the verdict:
CAN_RUN_NOW: the current request fits at least one node nowLOWER_CPU_AND_RESUBMIT: GPUs and memory fit, but CPUs are too fragmented; lower--cpus-per-taskWAIT_OR_REDUCE_MEMORY: GPUs fit, memory does notWAIT_FOR_GPUS: not enough free GPUs of the requested type
- Do not submit immediately when the verdict is
LOWER_CPU_AND_RESUBMIT.
- Patch the script first.
- Prefer the script's recommended CPU count over the original request.
- After patching, validate with:
- Only then submit or resubmit the job.
Heuristics
- Treat CPU fragmentation as a first-class blocker, not just GPU count.
- Default conservative CPU targets:
h100,h200,a100,v100: about12 CPU / GPUp100,k40,k20,gtx_1080: about8 CPU / GPU- Round CPU recommendations down in steps of 4 unless the user asks otherwise.
- If the script can fit with fewer CPUs on a partially free node, tell the user that explicitly instead of keeping an inflated CPU request.
Notes
- The checker handles the local
scontrolshared-library issue automatically by adding a temporarylibhistory.so.7shim when needed. - The checker is intended for single-node GPU jobs. If a script requests multiple nodes, say that the fit result is only approximate and inspect manually.
- Keep the decision user-visible: explain whether the job can run now and why.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingglobal/palmetto-slurm-fit-check/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kwongfuk/codex-skills/palmetto-slurm-fit-check)