ModsCode / Claude Code Mods / Ranking / sprc-slurm-mods
sprc-slurm-mods
Claude Code mod for the sprc Slurm cluster: a live cluster/job dashboard pane, status line, job lifecycle tools, finish notifications and submit guardrails.
What it does
- Draws a pane, the status line, toasts
- Adds /sprc
- Watches mcp__sprc-slurm-mods__sprc_job, Bash calls and can refuse them
- Hooks prompt.submit, session.start
- Keeps its own state between turns
Good points
- No network calls
- Written in TypeScript
- Handles errors
- Writes no files
Code to start from
A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.
Starter (register.tsx)
import type { Register } from 'claude-code'
// Drawn like sprc-slurm-mods by Max Bromberg (pane, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/platformx-students-sprc-slurm-mods/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
// the pane: open it with $.ui.open({ id: 'my-pane', title: "sprc" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const usable = '…'
const total = '…'
const idle = '…'
const error = '…'
const name = '…'
const state = '…'
const name2 = '…'
const state2 = '…'
const name3 = '…'
const state3 = '…'
const length = '…'
const state4 = '…'
const id = '…'
const name4 = '…'
const bar = '…'
const elapsed = '…'
const limit = '…'
const nodes = '…'
const gpus = '…'
const state5 = '…'
const name5 = '…'
const state6 = '…'
const name6 = '…'
const running = '…'
const gpusRunning = '…'
const pending = '…'
const gpusPending = '…'
const name7 = '…'
const state7 = '…'
const a = '…'
const a2 = '…'
const a3 = '…'
const name8 = '…'
const state8 = '…'
const elapsed2 = '…'
const a4 = '…'
const a5 = '…'
const a6 = '…'
const name9 = '…'
const state9 = '…'
const elapsed3 = '…'
const a7 = '…'
const a8 = '…'
const a9 = '…'
const l = '…'
const l2 = '…'
const l3 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row" justifyContent="space-between">
<Text bold>
{usable}
/
{total}
{" GPUs free"}
<Text dimColor>
{" (+"}
{idle}
{" stranded)"}
</Text>
</Text>
<Box flexDirection="row" gap={1}>
<Text dimColor>
0s ago
</Text>
<Button label="refresh" hotkey="r" plain />
</Box>
</Box>
<Text color="red">
{"Slurm: "}
{error}
</Text>
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
NODES
</Text>
<Box flexDirection="row" gap={1}>
<Text>
{name}
</Text>
<Text color="red">
■■■■■■■■
□□□□□□□□
</Text>
<Text dimColor>
cpu
</Text>
<Text color="red">
████████░░░░░░░░
</Text>
<Text dimColor>
mem
</Text>
<Text>
████████░░░░░░░░
</Text>
<Text color="red" wrap="truncate-end">
{state}
</Text>
</Box>
<Box flexDirection="row" gap={1}>
<Text>
{name2}
</Text>
<Text color="red">
■■■■■■■■
□□□□□□□□
</Text>
<Text dimColor>
cpu
</Text>
<Text color="red">
████████░░░░░░░░
</Text>
<Text dimColor>
mem
</Text>
<Text>
████████░░░░░░░░
</Text>
<Text color="red" wrap="truncate-end">
{state2}
</Text>
</Box>
<Box flexDirection="row" gap={1}>
<Text>
{name3}
</Text>
<Text color="red">
■■■■■■■■
□□□□□□□□
</Text>
<Text dimColor>
cpu
</Text>
<Text color="red">
████████░░░░░░░░
</Text>
<Text dimColor>
mem
</Text>
<Text>
████████░░░░░░░░
</Text>
<Text color="red" wrap="truncate-end">
{state3}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
{"YOUR JOBS "}
{`(${length} running · ${length} pending)`}
</Text>
<Text dimColor>
none queued or running
</Text>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{state4}
</Text>
<Button label={`${id}`} plain />
<Text wrap="truncate-end">
{"★ "}
{name4}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{" "}
{`${bar} ${elapsed}/${limit} on ${nodes} · ${gpus} GPU`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{state5}
</Text>
<Button label={`${id}`} plain />
<Text wrap="truncate-end">
{"★ "}
{name5}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{" "}
{`${bar} ${elapsed}/${limit} on ${nodes} · ${gpus} GPU`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{state6}
</Text>
<Button label={`${id}`} plain />
<Text wrap="truncate-end">
{"★ "}
{name6}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{" "}
{`${bar} ${elapsed}/${limit} on ${nodes} · ${gpus} GPU`}
</Text>
</Box>
<Text dimColor>
+
{length}
{" more"}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
EVERYONE ELSE
</Text>
<Text>
{running}
{" running ("}
{gpusRunning}
{" GPU) · "}
{pending}
{" pending ("}
{gpusPending}
{" GPU)"}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Box flexDirection="row" justifyContent="space-between">
<Text dimColor bold>
RECENTLY FINISHED
</Text>
<Button label="clear" plain />
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text color="red">
✗
</Text>
<Button label={`${id}`} plain />
<Text wrap="truncate-end">
{name7}
{" "}
{state7}
{" "}
{elapsed}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{" → "}
{a}
</Text>
<Text dimColor wrap="truncate-end">
{" → "}
{a2}
</Text>
<Text dimColor wrap="truncate-end">
{" → "}
{a3}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text color="red">
✗
</Text>
<Button label={`${id}`} plain />
<Text wrap="truncate-end">
{name8}
{" "}
{state8}
{" "}
{elapsed2}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{" → "}
{a4}
</Text>
<Text dimColor wrap="truncate-end">
{" → "}
{a5}
</Text>
<Text dimColor wrap="truncate-end">
{" → "}
{a6}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text color="red">
✗
</Text>
<Button label={`${id}`} plain />
<Text wrap="truncate-end">
{name9}
{" "}
{state9}
{" "}
{elapsed3}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{" → "}
{a7}
</Text>
<Text dimColor wrap="truncate-end">
{" → "}
{a8}
</Text>
<Text dimColor wrap="truncate-end">
{" → "}
{a9}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
COURSE BUDGET
</Text>
<Text wrap="truncate-end">
{l}
</Text>
<Text wrap="truncate-end">
{l2}
</Text>
<Text wrap="truncate-end">
{l3}
</Text>
</Box>
</Box>
)
})
on('session.start', async ($, e, next) => {
const id = '…'
const state = '…'
const elapsed = '…'
const nodes = '…'
await $.ui.status(`sprc ▸ Slurm unreachable`)
await $.ui.toast(`✗ job ${id} ${state} (${elapsed})`)
await $.ui.toast(`▶ job ${id} started on ${nodes}`)
return next(e)
})
}
The mod's own code
Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.
plugins/sprc-slurm-mods/hooks/register.tsx lines 473–504 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const el = $.ui.resolve(e)
const columns = e.props.bodyColumns
const v = await read($, view)
const snap = await read($, snapshot)
const follows = await read($, followed)
const now = await $.clock.now()
if (!(await read($, isEnabled))) {
const { Text } = el
return <Text dimColor>Slurm is not available on this machine.</Text>
}
if (v.kind === 'job') {
return JobView(el, {
id: v.id,
detail: await read($, detail),
snap,
isFollowed: follows.some(f => f.id === v.id),
columns,
logRows: Math.max(5, (e.viewport?.rows ?? 40) - 24),
actions: actionsFor($),
})
}
return Overview(el, {
snap,
finished: await read($, finished),
followed: follows,
budget: await read($, budget),
now,
columns,
actions: actionsFor($),
})
})plugins/sprc-slurm-mods/hooks/ui.tsx lines 231–331 · Pane
export function JobView(
el: El,
props: {
id: string
detail: JobDetail | null
snap: Snapshot | null
isFollowed: boolean
columns: number
logRows: number
actions: Actions
},
) {
const { Box, Text, Button } = el
const { id, detail, isFollowed, actions, logRows } = props
const f = detail?.id === id ? detail.fields : {}
const r = detail?.id === id ? detail.report : undefined
const state = f['JobState'] ?? r?.state ?? '…'
const isLive = !!f['JobState'] && !/COMPLETED|FAILED|CANCELLED|TIMEOUT|OUT_OF_MEMORY/.test(state)
const runTime = durationSeconds(f['RunTime'] ?? '')
const limit = durationSeconds(f['TimeLimit'] ?? '')
const submit = f['SubmitTime']
const start = f['StartTime']
const waitSecs =
submit && start && start !== 'Unknown' && state !== 'PENDING'
? (Date.parse(start) - Date.parse(submit)) / 1000
: NaN
return (
<Box flexDirection="column">
<Box flexDirection="row" gap={2}>
<Button key="back" label="← back" hotkey="b" plain onPress={actions.back} />
<Button key="refresh" label="refresh" hotkey="r" plain onPress={actions.refresh} />
<Button
key="follow"
label={isFollowed ? '★ following' : '☆ follow'}
hotkey="f"
plain
onPress={() => actions.toggleFollow(id)}
/>
{isLive && <Button key="cancel" label="scancel" plain onPress={() => actions.cancel(id)} />}
</Box>
<Box marginTop={1} flexDirection="row" gap={1}>
<Text bold>job {id}</Text>
<Text color={isBad(state) ? 'red' : state === 'RUNNING' ? 'green' : 'yellow'}>{state}</Text>
<Text wrap="truncate-end">{f['JobName'] ?? r?.name ?? ''}</Text>
</Box>
{!detail || detail.id !== id ? (
<Text dimColor>Loading…</Text>
) : (
<Box flexDirection="column">
{state === 'PENDING' && f['Reason'] && (
<Text color="yellow">
pending: {explainReason(f['Reason'])}
{start && start !== 'Unknown' ? ` · est. start ${clock(start)}` : ''}
</Text>
)}
{state === 'RUNNING' && Number.isFinite(limit) && (
<Text>
{bar(runTime / limit, 16)} {formatDuration(runTime)} / {formatDuration(limit)} on {f['NodeList']}
</Text>
)}
<Text dimColor wrap="truncate-end">
submitted {clock(submit ?? '?')}
{Number.isFinite(waitSecs) ? ` · queued ${formatDuration(waitSecs)} · started ${clock(start!)}` : ''}
{f['EndTime'] && f['EndTime'] !== 'Unknown' && !isLive ? ` · ended ${clock(f['EndTime'])}` : ''}
{f['Restarts'] && f['Restarts'] !== '0' ? ` · requeued ${f['Restarts']}×` : ''}
</Text>
{DETAIL_FIELDS.filter(([k]) => f[k]).map(([k, label]) => (
<Text wrap="truncate-start">
<Text dimColor>{label.padEnd(9)}</Text>
{f[k]}
</Text>
))}
{r && (
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
EFFICIENCY
</Text>
<Text>
CPU {pct(r.cpuEff)} of {r.cpus} · mem {r.maxRss}/{r.reqMem} ({pct(r.memEff)}) · time {r.elapsed} of{' '}
{r.limit} ({pct(r.timeEff)}) · exit {r.exitCode}
</Text>
{r.advice.map(a => (
<Text color="cyan">→ {a}</Text>
))}
</Box>
)}
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
LOG (last {Math.min(logRows, detail.log.length)} lines)
</Text>
{detail.log.length === 0 && <Text dimColor>(empty or not yet created)</Text>}
{detail.log.slice(-logRows).map(l => (
<Text wrap="truncate-end">{l || ' '}</Text>
))}
</Box>
</Box>
)}
</Box>
)
}plugins/sprc-slurm-mods/hooks/ui.tsx lines 71–193 · Pane
export function Overview(
el: El,
props: {
snap: Snapshot | null
finished: readonly JobReport[]
followed: readonly Followed[]
budget: Budget | null
now: number
columns: number
actions: Actions
},
) {
const { Box, Text, Button } = el
const { snap, finished, followed, budget, now, columns, actions } = props
if (!snap) return <Text dimColor>Reading cluster state…</Text>
const followedIds = new Set(followed.map(f => f.id))
const gpus = gpuTotals(snap.nodes)
const nameW = Math.max(8, columns - 34)
const running = snap.mine.filter(j => j.state === 'R' || j.state === 'CG')
const pending = snap.mine.filter(j => j.state !== 'R' && j.state !== 'CG')
const shown = [...running, ...pending].slice(0, 10)
return (
<Box flexDirection="column">
<Box flexDirection="row" justifyContent="space-between">
<Text bold>
{gpus.usable}/{gpus.total} GPUs free
{gpus.idle > gpus.usable ? <Text dimColor> (+{gpus.idle - gpus.usable} stranded)</Text> : null}
</Text>
<Box flexDirection="row" gap={1}>
<Text dimColor>{ago(now, snap.at)}</Text>
<Button key="refresh" label="refresh" hotkey="r" plain onPress={actions.refresh} />
</Box>
</Box>
{snap.error && <Text color="red">Slurm: {snap.error}</Text>}
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
NODES
</Text>
{snap.nodes.map(n => {
const cpu = n.cpusTotal ? n.cpusAlloc / n.cpusTotal : 0
const mem = n.memTotalMb ? n.memAllocMb / n.memTotalMb : 0
const isOut = /drain|down|fail|maint/i.test(n.state)
return (
<Box key={`node-${n.name}`} flexDirection="row" gap={1}>
<Text>{n.name}</Text>
<Text color={n.gpusUsed >= n.gpus ? 'red' : nodeUsable(n) === 0 ? 'yellow' : 'green'}>
{'■'.repeat(n.gpusUsed)}
{'□'.repeat(Math.max(0, n.gpus - n.gpusUsed))}
</Text>
<Text dimColor>cpu</Text>
<Text color={cpu > 0.9 ? 'red' : undefined}>{bar(cpu, 6)}</Text>
<Text dimColor>mem</Text>
<Text>{bar(mem, 4)}</Text>
<Text color={isOut ? 'red' : undefined} dimColor={!isOut} wrap="truncate-end">
{n.state}
</Text>
</Box>
)
})}
</Box>
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
YOUR JOBS {snap.mine.length ? `(${running.length} running · ${pending.length} pending)` : ''}
</Text>
{snap.mine.length === 0 && <Text dimColor>none queued or running</Text>}
{shown.map(j => JobLine(el, j, nameW, followedIds.has(j.id), actions))}
{snap.mine.length > shown.length && <Text dimColor>+{snap.mine.length - shown.length} more</Text>}
</Box>
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
EVERYONE ELSE
</Text>
<Text>
{snap.others.running} running ({snap.others.gpusRunning} GPU) · {snap.others.pending} pending (
{snap.others.gpusPending} GPU)
</Text>
</Box>
{finished.length > 0 && (
<Box flexDirection="column" marginTop={1}>
<Box flexDirection="row" justifyContent="space-between">
<Text dimColor bold>
RECENTLY FINISHED
</Text>
<Button key="clear-finished" label="clear" plain onPress={actions.clearFinished} />
</Box>
{finished.slice(0, 6).map(r => (
<Box key={`fin-${r.id}`} flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text color={isBad(r.state) ? 'red' : 'green'}>{isBad(r.state) ? '✗' : '✓'}</Text>
<Button key={`open-fin-${r.id}`} label={r.id} plain onPress={() => actions.open(r.id)} />
<Text wrap="truncate-end">
{shorten(r.name, nameW)} {r.state} {r.elapsed}
</Text>
</Box>
{r.advice.slice(0, 1).map(a => (
<Text dimColor wrap="truncate-end">
{' → '}
{a}
</Text>
))}
</Box>
))}
</Box>
)}
{budget && budget.lines.length > 0 && (
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
COURSE BUDGET
</Text>
{budget.lines.map(l => (
<Text wrap="truncate-end">{l}</Text>
))}
</Box>
)}
</Box>
)
}plugins/sprc-slurm-mods/hooks/ui.tsx lines 195–218 · Pane
function JobLine(el: El, j: JobRow, nameW: number, isFollowed: boolean, actions: Actions) {
const { Box, Text, Button } = el
const isRun = j.state === 'R'
const used = durationSeconds(j.elapsed)
const limit = durationSeconds(j.limit)
return (
<Box key={`job-${j.id}`} flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text color={STATE_COLOR[j.state]}>{j.state.padEnd(2)}</Text>
<Button key={`open-${j.id}`} label={j.id} plain onPress={() => actions.open(j.id)} />
<Text wrap="truncate-end">
{isFollowed ? '★ ' : ''}
{shorten(j.name, nameW)}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{' '}
{isRun
? `${bar(used / limit, 8)} ${j.elapsed}/${j.limit} on ${j.nodes}${j.gpus ? ` · ${j.gpus} GPU` : ''}`
: `${explainReason(j.reason)}${j.start && j.start !== 'N/A' ? ` · est. start ${clock(j.start)}` : ''}`}
</Text>
</Box>
)
}Licence text (MIT)
MIT License Copyright (c) 2026 Max Bromberg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
How to build this: Pane (panel), Deny a tool call
What its code calls
runs programsenv varsdrives Claudetool callsremembers
What its code shows
Read from the source at commit 97d8a8667019 on 2026-10-11. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.
| Decides the listing: code you can check | |
|---|---|
| Entry read | Every module hooks/hooks.json names was read.plugins/sprc-slurm-mods/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.4 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs |
| Calls in the open | Network and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open |
| For you to weigh before installing | |
| Where it draws | The terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both |
| Install line | Whether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| Network | Whether every fetch names its https host in the code.no network |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.plugins/sprc-slurm-mods/hooks/register.tsx:132 a program named at run time; plugins/sprc-slurm-mods/hooks/register.tsx:603 bash (a shell or interpreter) |
| Reads and sends | Whether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables, but reaches nothing outside |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.MIT |
| Settings hooks | Hooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone |
| Servers it ships | MCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/ |
| Skills, commands, agents | What its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows |
| Tools and MCP | Whether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command |
| Asks of the model | Completions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.prompt.submit (as the person), adds tool sprc_status, adds tool sprc_job, adds tool sprc_wait, adds tool sprc_follow, adds command sprc |
| Events it hooks | By what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (sprc), tool.call (mcp__sprc-slurm-mods__s…, Bash), prompt.submit · also: session.start, ui.render (Pane) · timers: clock.every |
| Reads, by name | The environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: USER |
| Writes, by name | The files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.writes no files, environment variables, settings or conversation rows |
This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen
Install it
Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.
From its marketplace
Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:
/plugin marketplace add platformx-students/sprc-plugins/plugin install sprc-slurm-mods@sprc-plugins/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (97d8a8667019). Compare them before you install. /reload-plugins loads it into a session that is already open.
Try the commit ModsCode read
No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:
git clone https://github.com/platformx-students/sprc-pluginsgit -C sprc-plugins checkout 97d8a866701949b336f451b52dfcbd2afba432c6claude plugin validate sprc-plugins/plugins/sprc-slurm-modsclaude --plugin-dir sprc-plugins/plugins/sprc-slurm-modsThe validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.
Ask Claude about it
With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:
Read the ModsCode mod "platformx-students-sprc-slurm-mods" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- crit-tuiTomasz Tomczyk★ 1,196
- remctlFederico Viticci★ 595
- task-orchestrator-modJeff Picklyk★ 208
- replay-theaterHamza Zafar★ 184
- great-ctoAlexander Velikiy★ 103
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/platformx-students-sprc-slurm-mods/)