Slurm monitoring accounting starter
Skill ma-compbio-lab/SkillFoundry/skills/hpc/slurm-monitoring-accounting-starter
A framework for discovering, compiling, and validating reusable skills for scientific agents.From the repository description
npx -y skills add ma-compbio-lab/SkillFoundry --skill slurm-monitoring-accounting-starterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.1 KB, 258 tokens by cl100k_base, as published. Nobody here has run it
Slurm Monitoring and Accounting Starter
Use this skill to submit a tiny probe job, capture live squeue snapshots while it waits or runs, and then summarize final sacct accounting.
What it does
- Renders and submits a short Slurm batch job.
- Polls
squeueto record live queue states. - Resolves final job accounting through
sacct. - Optionally captures
seffoutput when the command is available on the cluster.
When to use it
- You need a verified starter for Slurm monitoring and post-run accounting.
- You want a reusable pattern for debugging queue state transitions and final resource summaries.
Example
python3 skills/hpc/slurm-monitoring-accounting-starter/scripts/run_slurm_monitoring_accounting.py \
--partition cpu \
--job-name monitor-accounting \
--sleep 2 \
--out scratch/slurm-monitoring/summary.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/hpc/slurm-monitoring-accounting-starter/tests -p 'test_*.py' - Repository smoke:
python3 -m unittest tests.smoke.test_phase26_frontier_completion_skills -v
What ships with it: 6 files
11.0 KB alongside SKILL.md, 2 of them executable
assets/
- README.md139 B
examples/
- README.md117 B
scripts/
- run_slurm_monitoring_accounting.pyruns7.3 KB
tests/
- test_run_slurm_monitoring_accounting.pyruns2.2 KB
- metadata.yaml1.1 KB
- refs.md187 B