Borrowing it
Nothing to install: this file belongs to ksterx/srunx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ksterx/srunx/main/CLAUDE.mdgit clone --depth 1 https://github.com/ksterx/srunxWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/ksterx/srunx/claude-md)<a href="https://agentmods.dev/instructions/ksterx/srunx/claude-md"><img src="https://agentmods.dev/badge/instructions/ksterx/srunx/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/ksterx/srunx/claude-md"><img src="https://agentmods.dev/badge/instructions/ksterx/srunx/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.11299 | $0.11299 |
| Opus 5.5 | $0.04520 | $0.04520 |
| Sonnet 5.5 | $0.02260 | $0.02260 |
| Haiku 4.5 | $0.01130 | $0.01130 |
Grade A, and why
srunx CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 777 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Development Commands
Package Management
uv sync- Install dependenciesuv add <package>- Add new dependencyuv run <command>- Run commands in virtual environment
CLI Usage
Job Management (SLURM-aligned commands)
Command names mirror SLURM's CLI where it makes sense (sbatch / squeue /
scancel / sinfo) so a SLURM user can map their muscle memory directly.
srunx-specific commands that don't map to a SLURM binary:
-
history— srunx's own submission history (SQLite-backed). Namedhistoryrather thansacctbecause it shares no backend with realsacct; only jobs submitted via srunx are listed. -
gpus— GPU aggregate summary across partitions. -
tail/watch— log tailing and cluster watching. -
uv run srunx sbatch <script>- Submit a sbatch script (positional, like real sbatch) -
uv run srunx sbatch --wrap "cmd ..."- Wrap a command into a SLURM job (mutually exclusive with the positional script) -
uv run srunx sbatch --profile <name> ...- Submit over SSH to a configured profile -
uv run srunx squeue- List active jobs (all users by default — matches nativesqueue). Default columns: Job ID, User, Name, Status, CPUs, GPUs, Elapsed, NodeList -
uv run srunx squeue -j <job_id>- Filter to a specific job (replaces the oldsrunx statusfor active jobs) -
uv run srunx squeue -u <user>- Filter to a single user -
uv run srunx squeue --show-partition --show-limit --show-nodes- Opt-in columns (each flag adds one) -
uv run srunx squeue -a- Shortcut for all opt-in columns at once -
uv run srunx squeue -i <seconds>- Live refresh: re-query and redraw in place every N seconds (like nativesqueue -i). Ctrl+C exits -
uv run srunx squeue --format json- JSON always includes every field regardless of show flags -
uv run srunx scancel <job_id>- Cancel a job -
uv run srunx sinfo- Partition / state / nodelist listing (same columns as native SLURMsinfo) -
uv run srunx sinfo --profile <name>- Query a remote cluster via SSH adapter (#139) -
uv run srunx sinfo --partition gpu --format json- Partition rows as JSON -
uv run srunx gpus- GPU aggregate summary (what the oldsrunx sinfoshowed) -
uv run srunx gpus --profile <name> --partition gpu- GPU summary scoped to one partition on a remote cluster -
uv run srunx history- DB-backed submission history (srunx's own SQLite). Only jobs submitted via srunx are listed -
uv run srunx history -j <job_id>- Filter history to a specific job (replacessrunx statusfor finished jobs) -
uv run srunx history --profile <name>- Scope history to a single cluster's jobs (scheduler_keyfilter) -
uv run srunx sacct- Real SLURMsacctwrapper (cluster accounting DB — includes manual sbatch jobs, needs slurmdbd). Default columns: Job ID, User, Name, Partition, State, ExitCode, Elapsed -
uv run srunx sacct -a -S now-1day- All users over the last day (like nativesacct -a -S now-1day) -
uv run srunx sacct -j <job_id>/-u <user>/-s FAILED,TIMEOUT/-p <partition>- Standard sacct filters -
uv run srunx sacct --show-steps- Include.batch/.externsub-step rows -
uv run srunx tail <job_id>- Show the last 10 lines of the job log (matches nativetail; use-n Nfor a different cap,--allto dump the whole file) -
uv run srunx tail <job_id> --follow- Stream job logs. Works over SSH via periodictail_log_incrementalpolls; tune with--interval <seconds>(default 2s). Ctrl+C exits
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +56 lines · +1,054 tokens per session 15a9d3c455a3
- 2mo ago First seen · 721 lines · 10,245 tokens per session scan A 838dd36ebb8c
srunx CLAUDE.md is an instructions file published in the GitHub repository ksterx/srunx (23 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 11,299 tokens to every session, about $0.0452 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
srunx CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| srunx CLAUDE.mdksterx/srunx | Instructions file | 23 | 1mo ago | Apache-2.0 | A | 11,299 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |