my-jobs

my-jobs is a skill for Claude Code, Codex from TianchenGuan/duke-cs-cluster-skill. It costs 57 tokens per session (484 once invoked), scanned A, original, MIT.

A job-status view for your running and waiting Slurm jobs on Duke CS’s shared computing cluster. It shows each job’s resources, timing, node or wait reason, and your current totals.

In plain words
What is it for?
Use it to check what jobs are running, what jobs are pending, how many CPUs and GPUs you are using, and whether you are approaching the cluster caps.
Why use it?
It removes the need to inspect cluster commands manually or guess why a job is waiting. It also warns when your CPU, GPU, or job usage is close to its per-user limit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to check what jobs are running, what jobs are pending, how many CPUs and GPUs you are using, and whether you are approaching the cluster caps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tianchenguan/duke-cs-cluster-skill/my-jobs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TianchenGuan/duke-cs-cluster-skill --skill my-jobs
Clone the repo
git clone --depth 1 https://github.com/TianchenGuan/duke-cs-cluster-skill

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for my-jobs

README.md
[![agentmods](https://agentmods.dev/badge/skills/tianchenguan/duke-cs-cluster-skill/my-jobs/github.svg)](https://agentmods.dev/skills/tianchenguan/duke-cs-cluster-skill/my-jobs)
Your own site
<a href="https://agentmods.dev/skills/tianchenguan/duke-cs-cluster-skill/my-jobs"><img src="https://agentmods.dev/badge/skills/tianchenguan/duke-cs-cluster-skill/my-jobs/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.

agentmods 80×15 button for my-jobs

Your own site · 80×15
<a href="https://agentmods.dev/skills/tianchenguan/duke-cs-cluster-skill/my-jobs"><img src="https://agentmods.dev/badge/skills/tianchenguan/duke-cs-cluster-skill/my-jobs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00484
Opus 5 $0.00028 $0.00242
Sonnet 5 $0.00011 $0.00097
Haiku 4.5 $0.00006 $0.00048

Measured 12d ago against content hash 4b4f458504d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

my-jobs 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 12d 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.

my-jobs/SKILL.md · 47 lines

What it actually says

My Jobs on the Duke CS Cluster

When invoked, show the current user's cluster footprint.

Behavior

  1. Run bash ~/.claude/skills/duke-cluster/scripts/check_my_jobs.sh.
  2. Parse the output into two tables (running, pending) plus a totals summary.
  3. Highlight if the user is near their per-user caps (500 CPUs, 50 GPUs, 500 jobs).

Output format

Running ({N} jobs):

Job ID Name Elapsed Remaining CPUs GPUs Node
...

Pending ({M} jobs):

Job ID Name Time limit CPUs GPUs Reason
...

Totals: {cpus_running} CPUs and {gpus_running} GPUs currently allocated to you. Limits: 500 CPUs / 50 GPUs / 500 jobs total.

{If near limit:} Warning: You're at {X}% of your GPU cap — new GPU requests may wait.

If the user has zero jobs, say so clearly: "No jobs currently running or pending for $USER."

Implementation notes

  • The script's output is already structured — just reformat it into markdown tables.
  • For "Reason" in pending jobs, the common codes have plain-English meanings:
    • Priority — other jobs ahead of yours
    • Resources — all resources allocated, wait for release
    • QOSMaxJobsPerUserLimit — you hit the 500-job cap
    • AssocGrpGRES — you hit the 50-GPU cap
    • AssocGrpCpuLimit — you hit the 500-CPU cap
    • ReqNodeNotAvail — the specific node you asked for is down or drained
  • Translate these for the user rather than pasting the raw code.
Changes

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.

  1. 12d ago First seen · 47 lines · 57 tokens per session scan A 4b4f458504d5

Subscribe to this mod's changes

my-jobs is a skill published in the GitHub repository TianchenGuan/duke-cs-cluster-skill (6 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 484 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories