Slurm Monitoring and Accounting Starter

SkillMonitoring & ops

Use this skill to submit a tiny probe job, capture live squeue snapshots while it waits or runs, and then summarize final sacct accounting.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Slurm Monitoring and Accounting Starter skill

About this capability

A framework for discovering, compiling, and validating reusable skills for scientific agents.

What this skill tells your AI

The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/hpc/slurm-monitoring-accounting-starter/SKILL.md and read by ahel’s review.

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

Signals

GitHub stars
39
Forks
5
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
slurm-monitoring-accounting-starter
Source
github.com/ma-compbio-lab/skillfoundry