Agent skill

Slurm Job Script Generator

by FreedomIntelligence in FreedomIntelligence/OpenClaw-Medical-Skills

Generate SLURM sbatch job scripts and sanity-check HPC resource requests (nodes, tasks, CPUs, memory, GPUs) for simulation runs.

No licenceAuto-check: notesDevelopment

Install Slurm Job Script Generator

skills CLI
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill slurm-job-script-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install FreedomIntelligence/OpenClaw-Medical-Skills slurm-job-script-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/slurm-job-script-generator .claude/skills/slurm-job-script-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
slurm-job-script-generator
GitHub stars
3.1k
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
447 words
Files
3 (incl. scripts, references)
Skills in repo
279
Repo updated
First seen
Licence
None found

At a glance

Generate SLURM sbatch job scripts and sanity-check HPC resource requests (nodes, tasks, CPUs, memory, GPUs) for simulation runs.

  • Works in 6 steps: Gather cluster constraints… → Choose a process layout (MPI-only vs… → Generate the script with… → …
  • Preparing submission scripts
  • SKILL.md covers Goal, Requirements, Inputs to Gather and Decision Guidance, plus 8 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Slurm Job Script Generator is an agent skill from FreedomIntelligence/OpenClaw-Medical-Skills. Generate SLURM sbatch job scripts and sanity-check HPC resource requests (nodes, tasks, CPUs, memory, GPUs) for simulation runs. Use when preparing submission scripts, deciding MPI vs MPI+OpenMP layouts, standardizing SBATCH directives, or debugging job launch configuration (sbatch/srun).

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/slurm_directives.md` and `scripts/slurm_script_generator.py`).

It sits in Development. The repository describes itself as: The largest open-source medical AI skills library for OpenClaw🦞.

When your agent uses it

  • Preparing submission scripts
  • Deciding MPI vs MPI+OpenMP layouts
  • Standardizing SBATCH directives
  • Debugging job launch configuration (sbatch/srun)

Example prompts

  • “/slurm-job-script-generator”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Bash, Write, Grep, Glob

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Gather cluster constraints (partition/account, GPU policy, memory policy).
  2. Choose a process layout (MPI-only vs hybrid MPI+OpenMP).
  3. Generate the script with slurm_script_generator.py.
  4. Inspect warnings (conflicts, suspicious layouts).
  5. Save the generated script as job.sbatch.
  6. Submit with sbatch job.sbatch and monitor with squeue.

What it can do on your machine

Read from SKILL.md and the folder at commit b1f9b6e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash
    • Write
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Slurm Job Script Generator loads about 1.3k tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 447 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash, Write, Grep, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 447 words (~1,279 tokens).

“Generate a correct, copy-pasteable SLURM job script (.sbatch) for running a simulation, and surface common configuration mistakes (bad walltime format, conflicting memory flags, oversubscription hints).”

— opening of SKILL.md by FreedomIntelligence
name
slurm-job-script-generator
allowed-tools
Read, Bash, Write, Grep, Glob

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts, references) in skills/slurm-job-script-generator of FreedomIntelligence/OpenClaw-Medical-Skills.

  • SKILL.md
  • references/slurm_directives.md
  • scripts/slurm_script_generator.py

Open the folder on GitHubat commit b1f9b6e

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in FreedomIntelligence/OpenClaw-Medical-Skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Slurm Job Script Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Slurm Job Script Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Slurm Job Script Generator this skillFreedomIntelligence/OpenClaw-Medical-Skills3.1k1 repos~1.3kAutomated safety check: NotesNone
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from FreedomIntelligence/OpenClaw-Medical-Skills

All 279 skills in this repo
  • Single Cell Rna Qc

    FreedomIntelligence/OpenClaw-Medical-Skills

    Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.

    3.1k GitHub starsUsed in 2 repos~2k tokens
    Auto-check passed
  • Differentiation Schemes

    FreedomIntelligence/OpenClaw-Medical-Skills

    Select and apply numerical differentiation schemes for PDE/ODE discretization.

    3.1k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • Fhir Developer Skill

    FreedomIntelligence/OpenClaw-Medical-Skills

    FHIR API development guide for building healthcare endpoints.

    3.1k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Linear Solvers

    FreedomIntelligence/OpenClaw-Medical-Skills

    Select and configure linear solvers for systems Ax=b in dense and sparse problems.

    3.1k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check: notes
  • Medical Research Toolkit

    FreedomIntelligence/OpenClaw-Medical-Skills

    Query 14+ biomedical databases for drug repurposing, target discovery, clinical trials, and literature research.

    3.1k GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Mesh Generation

    FreedomIntelligence/OpenClaw-Medical-Skills

    Plan and evaluate mesh generation for numerical simulations.

    3.1k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check: notes

Categories

Questions about Slurm Job Script Generator

What does Slurm Job Script Generator do?

Generate SLURM sbatch job scripts and sanity-check HPC resource requests (nodes, tasks, CPUs, memory, GPUs) for simulation runs. Slurm Job Script Generator is an agent skill from FreedomIntelligence/OpenClaw-Medical-Skills. Generate SLURM sbatch job scripts and sanity-check HPC resource requests (nodes, tasks, CPUs, memory, GPUs) for simulation runs.

When should I use Slurm Job Script Generator?

Slurm Job Script Generator fits situations like: preparing submission scripts; deciding MPI vs MPI+OpenMP layouts; standardizing SBATCH directives; debugging job launch configuration (sbatch/srun).

How do I install Slurm Job Script Generator in Claude Code?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill slurm-job-script-generator -a claude-code`. Or copy the skill folder (skills/slurm-job-script-generator in FreedomIntelligence/OpenClaw-Medical-Skills) into .claude/skills/slurm-job-script-generator in your project. Claude Code loads it when a task matches its description.

How do I install Slurm Job Script Generator in Codex?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill slurm-job-script-generator -a codex`. Or copy the skill folder (skills/slurm-job-script-generator in FreedomIntelligence/OpenClaw-Medical-Skills) into .agents/skills/slurm-job-script-generator in your project. Codex loads it when a task matches its description.

Can I use Slurm Job Script Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill slurm-job-script-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/slurm-job-script-generator, .gemini/skills/slurm-job-script-generator, .github/skills/slurm-job-script-generator and .opencode/skills/slurm-job-script-generator in your project.

What does Slurm Job Script Generator need to run?

Going by SKILL.md and its folder, Slurm Job Script Generator needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Bash, Write, Grep, Glob.

Does Slurm Job Script Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Slurm Job Script Generator safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Slurm Job Script Generator use?

No licence was found for Slurm Job Script Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Slurm Job Script Generator use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 453 tokens, read only when the agent opens those files.

What are the alternatives to Slurm Job Script Generator?

Skills that share tags, products or a category with Slurm Job Script Generator: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Slurm Job Script Generator?

FreedomIntelligence (a GitHub organization) maintains it in FreedomIntelligence/OpenClaw-Medical-Skills, which has 3,052 GitHub stars. The repository holds 279 skills in this directory. The repository was last updated on July 21, 2026.

Source: FreedomIntelligence/OpenClaw-Medical-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.