agentsclimarketplace

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.

Install
npx -y skills add ma-compbio-lab/SkillFoundry --skill slurm-monitoring-accounting-starter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.1 KB, 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 squeue to record live queue states.
  • Resolves final job accounting through sacct.
  • Optionally captures seff output 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.