create-slurm-job
Interactively create a Slurm job script (job.sh) for the UNIGE HPC clusters.
Skill by pascalamiet
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pascalamiet-create-slurm-job
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/create-slurm-job
Tools it pre-approves 3
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Write,Bash
What's inside
- Skill name
create-slurm-job- Description
- Interactively create a Slurm job script (job.sh) for the UNIGE HPC clusters. Asks the user a short series of questions, then writes a ready-to-submit job.sh in the current directory using skills/hpc-job/job.template.sh. Use when: user wants to create, generate, or set up a Slurm job script.
- License
- MIT
- Allowed tools
- Read,, Write,, Bash
- Instructions
- 194 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Pre-approves any shell command
Agent Skills spec issues
- name: "create-slurm-job" does not match folder "hpc-job"
- body: contains an absolute path from the author's machine
Files (2)
- SKILL.md
- job.template.sh
SKILL.md (first lines)
# Create Slurm Job Script
You are helping the user generate a `job.sh` file for the UNIGE HPC clusters
(Baobab, Yggdrasil, or Bamboo). Your job is to ask a short series of focused
questions, then produce a clean, ready-to-submit script.
**Template location:** `skills/hpc-job/job.template.sh`
Read the template first so you understand all the placeholders before you
start asking questions.
---
## Step 0 — Read the template
Before asking anything, read `skills/hpc-job/job.template.sh`.
This is the file you will copy and fill in. Every `__PLACEHOLDER__` in that
file corresponds to one or more questions below.
---
## Step 1 — Ask the user these questions
Work through the questions in order. Ask **all of them in a single message**
so the user can answer in one go. Do not ask one question at a time.
Format your questions clearly, like a numbered form. Provide sensible defaults
in square brackets wherever possible — the user can just press Enter or type
a value to override.
```
I'll create a job.sh for you. Answer these questions (press Enter to use the
default shown in [brackets]):
1. Job name (no spaces, used for output file names) [myjob]
2. What command will you run?
e.g. "python3 train.py", "Rscript analysis.R", "matlab -r run_sim"
3. HPC project path — the absolute path to your project on the cluster.
UNIGE HPC path structure: /home/users/a/USERNAME/PROJECT_NAME
e.g. "/home/users/a/amiet/tst-llm"
(This is added as a `cd` before your command so all relative paths work)
4. Which software modules do you need to load?
e.g. "Python/3.11.3-GCCcore-12.3.0", "R/4.3.2-foss-2023a"
(Leave blank if you will use conda or a venv — add activation line manually)
5. Partition — choose one:
[debug-cpu] 15 min — use while testing your script
shared-cpu 12 h — most production CPU jobs
public-cpu 4 days — longer CPU jobs
public-bigmem 4 days — high-RAM CPU jobs
shared-gpu 12 h — GPU jobs under 12 h
public-gpu 4 days — longer GPU jobs
→ Your choice:
6. Time limit (HH:MM:SS) [00:15:00]
Tip: be accurate — over-requesting blocks backfill scheduling.
7. Job type:
[1] Single-threaded (one core — Python, R, Stata SE)
2 Multi-threaded (one node, N cores — Matlab, Stata-MP, OpenMP, multiprocessing)
3 MPI (N tasks across nodes — OpenMPI, OpenFOAM; only if your program uses MPI)
→ Your choice:
8. Number of CPUs / tasks:
(If single-threaded: how many cores? Usually 1)
(If multi-threaded: how many cores does your program use?)
(If MPI: how many MPI tasks?)
→ [1]
9. Memory per CPU in MB [3000]
Default is 3 GB/core. Increase if your job runs out of memory.
(For a total memory cap instead, type "total:XXXX")
10. GPU? [no]
If yes, specify type and count, e.g. "1" (any), "a100:1", "titan:2"
11. Email notifications when job ends or fails? [no]
If yes, enter your email address:
```
---
## Step 2 — Confirm before writing
After the user responds, echo back a brief summary of the settings you
understood, like this:
```
Here's what I'll put in job.sh:
Job name: myjob
Command: python3 train.py
Modules: Python/3.11.3-GCCcore-12.3.0
Partition: debug-cpu
Time: 00:15:00
CPUs: 1 task × 1 core
Memory: 3000 MB/core
GPU: no
Email: no
Shall I write this to job.sh in the current directory? [yes]
```
If the user says yes (or just presses Enter), proceed. If they want to
correct something, apply the correction and confirm again.
---
## Step 3 — Write job.sh
Read the template at `skills/hpc-job/job.template.sh`, then write
`job.sh` in the current working directory with all placeholders replaced.
### Placeholder substitution rules
| Placeholder | Value |
|--------------------------|--------------------------------------------------------------------|From pascalamiet/ai-setup, MIT.
More from pascalamiet/ai-setup
- 0.462score
grill-me
pascalamiet
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 1Claude Code +9 - 0.432score
initialize
custom
Create a shared .ai/AI.md context file in the current working directory by inspecting the project, then create only the agent-specific symlinks the user needs…
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
literature-search
custom
Systematic literature search for academic economics research.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
new-project
custom
Scaffold a new empirical research project with a standard directory structure.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-paper
custom
Scaffold a new LaTeX economics paper from a standard template.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-slides
custom
Scaffold a new LaTeX Beamer slide deck from a standard template.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
data-viz
custom
Guide for creating publication-quality figures for academic papers and presentations.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
debug
custom
Systematic debugging workflow for any language or environment.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
commit
pascalamiet
Execute git commit with conventional commit message analysis, intelligent staging, and message generation.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
empirical-workflow
custom
Scaffold and guide empirical economics projects from data to tables.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
bibtex
custom
Manage, clean, and format BibTeX bibliography files for academic papers.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
notebooklm
pascalamiet
Complete API for Google NotebookLM - full programmatic access including features not in the web UI.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Apr 22, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pascalamiet/ai-setup
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pascalamiet
- 0.462score
grill-me
pascalamiet
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 1Claude Code +9 - 0.432score
commit
pascalamiet
Execute git commit with conventional commit message analysis, intelligent staging, and message generation.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
codex
pascalamiet
Use when you want Codex CLI in headless mode via `codex exec` for non-interactive coding, repository edits, code review, automation, structured output, or…
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
gemini
pascalamiet
Use when you want Gemini CLI to gather external information, research a topic, fact-check a claim, find recent papers or developments, or clarify concepts…
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
notebooklm
pascalamiet
Complete API for Google NotebookLM - full programmatic access including features not in the web UI.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
claude
pascalamiet
Use when you want Claude CLI to handle a reasoning-heavy or coding-heavy task such as algorithm design, difficult debugging, code review, architecture…
SkillDFreshness: D★ 1Claude Code +9
Cite this page
create-slurm-job skill. Agent Mart. https://agentmart.dev/skills/pascalamiet-create-slurm-job (last updated 2026-10-24)