llm-job-pipeline: Command for Claude Code

.claude/commands/jobs-night.md

jobs-night is a command for Claude Code from ncalavera/llm-job-pipeline. It costs 94 tokens per session (1,695 once invoked), scanned A, original, MIT.

A background command for one unattended vacancy-scoring stage in the nightly job pipeline. It sends individual scoring tasks to workers, saves progress in batches, and then stops.

In plain words
What is it for?
Screening or scoring companies and vacancies from prepared files during a nightly run.
Why use it?
It lets the larger pipeline continue overnight without requiring a person to answer questions or manage each item.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

This is ncalavera/llm-job-pipeline's own configuration. It tells Claude Code how to work on llm-job-pipeline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llm-job-pipeline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ncalavera/llm-job-pipeline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ncalavera/llm-job-pipeline/main/.claude/commands/jobs-night.md
Clone the repo
git clone --depth 1 https://github.com/ncalavera/llm-job-pipeline

Made for: Claude Code.

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 jobs-night

README.md
[![agentmods](https://agentmods.dev/badge/commands/ncalavera/llm-job-pipeline/jobs-night/github.svg)](https://agentmods.dev/commands/ncalavera/llm-job-pipeline/jobs-night)
Your own site
<a href="https://agentmods.dev/commands/ncalavera/llm-job-pipeline/jobs-night"><img src="https://agentmods.dev/badge/commands/ncalavera/llm-job-pipeline/jobs-night/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 jobs-night

Your own site · 80×15
<a href="https://agentmods.dev/commands/ncalavera/llm-job-pipeline/jobs-night"><img src="https://agentmods.dev/badge/commands/ncalavera/llm-job-pipeline/jobs-night.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,695 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.00094 $0.01695
Opus 5 $0.00047 $0.00847
Sonnet 5 $0.00019 $0.00339
Haiku 4.5 $0.00009 $0.00169

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

Security

Grade A, and why

jobs-night 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 2d 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.

.claude/commands/jobs-night.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/jobs-night — one preparation gate, unattended

The default daily run emits prepare_screening with discovery payloads: one call per vacancy. Unscored roles request a numeric score and quoted facts/profile comparison; existing roles below 40 request only stale or missing facts; roles at or above 40 are untouched. The other gate names remain legacy paths.

Arguments: $ARGUMENTS = <gate> <night_dir> <phase> where <gate> is one of screen_companies | score_companies | score_vacancies | prepare_screening, <night_dir> is this night's private directory (vacancies/nightly/<date>/), and <phase> names the pass inside the gate (screen | escalate for score_vacancies, screen for screen_companies, score for score_companies, prepare for prepare_screening).

This is the NIGHT variant of the /jobs-new gate protocol. The pipeline orchestration already ran in scripts/run_daily.py --unattended; your only job is the judgment for ONE gate. The wrapper that launched you resumes the driver after you stop — you never run the driver yourself. Everything below overrides the interactive habits of /jobs-new.

Overrides — read first, they are absolute

  1. Never ask a question. There is no human. If something is ambiguous, take the safe direction (skip the item, record it failed in the log) and keep going.
  2. Subagent model comes from the wrapper. Read <night_dir>/session.json once and pass its model to EVERY scoring subagent. Python resolved screen_model(), scoring_model() or company_screen_model() for this gate and phase before starting you. Never use a shell to discover it.
  3. Spawn only the night-scorer agent type. One payload file = one night-scorer subagent. No other agent type, ever. At most 5 subagents at a time (rolling waves). 1 item = 1 subagent — batching is untested here.
  4. File in, file out. Each subagent reads its own payload <night_dir>/score_in/NNN.json and writes its one result to <night_dir>/score_out/NNN.json (same NNN). Subagents have Read and Write only. Neither you nor a subagent has shell, database or network tools.
  5. Write each result immediately. The Python wrapper saves completed JSON files while you work and performs a final sweep when you stop or time out. Never run a save command yourself. A malformed file is skipped independently.
  6. Log after every wave. Append one line per wave to <night_dir>/scoring_log.md: time, gate, items in the wave, written count, failures with their NNN. Findings and anomalies go HERE, not to an issue tracker.
  7. Never resume the driver. The wrapper owns the driver loop: it runs --resume itself after your session ends. When every score_in item is written or recorded failed in the log, finish the End-of-session step below and STOP.

Read the full file on GitHub · 138 lines

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. 2d ago Changed · +7 lines 6c2648ee050e
  2. 7d ago Changed c7af6c1eb1a5
  3. 12d ago First seen · 131 lines · 94 tokens per session scan A 32a8c29eec2d

Subscribe to this mod's changes

jobs-night is a command published in the GitHub repository ncalavera/llm-job-pipeline (2 stars, last pushed 3d ago), licensed MIT. It adds 94 tokens to every session and 1,695 once invoked, about $0.0005 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.