From pymol
Generate SLURM batch scripts for HPC job submission. Ask the user about partition, resources, and software environment one question at a time.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pymol:slurmThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Ask each question one at a time.** Suggest defaults based on the calculation type, but let the user confirm.
Ask each question one at a time. Suggest defaults based on the calculation type, but let the user confirm.
Both are cluster-specific — you cannot guess them.
What partition and account should the job use?
(If unsure, run `sinfo -s` for partitions and `sacctmgr show assoc user=$USER` for accounts.)
How many CPUs and how much memory?
I'd suggest: CPUs: ___ Memory: ___ GB
Defaults: XTB → 4 CPUs, 4 GB. ORCA → 8 CPUs, 16 GB.
How much wall time? (HH:MM:SS)
I'd suggest: ___
Defaults: XTB → 02:00:00. ORCA → 24:00:00.
Do not guess module names or paths.
How is [XTB / ORCA] set up on your cluster?
a) Module — what's the module name?
b) Conda — what's the env name?
c) Custom path — what's the install directory?
d) Already in $PATH
For (c), add to the script:
export PATH="/path/to/bin:$PATH"
# For ORCA also:
export LD_LIBRARY_PATH="/path/to/orca:$LD_LIBRARY_PATH"
Only ask if the user mentioned a GPU partition or the calculation benefits from it.
Use the template below. Default to 1 node, 1 task, output %j.out.
#!/bin/bash
#SBATCH --job-name=FILL
#SBATCH --output=%j.out
#SBATCH --partition=FILL
#SBATCH --account=FILL
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=FILL
#SBATCH --mem=FILL
#SBATCH --time=FILL
# --- Environment ---
FILL_MODULE_OR_PATH_SETUP
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export MKL_NUM_THREADS=$SLURM_CPUS_PER_TASK
# --- Run ---
cd $SLURM_SUBMIT_DIR
FILL_RUN_COMMAND
A lot of codes require you to increase the openmp stacksize:
export OMP_STACKSIZE=512M
XTB is a good example of this. Confirm with the user if you are not sure.
$SLURM_CPUS_PER_TASK for thread counts, never hardcode.--ntasks-per-node in sync with %pal nprocs in the input.OMP_NUM_THREADS, no MPI needed.Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub william-dawson/oniom-skills --plugin pymol