cron-job-designer

cron-job-designer is a skill for Claude Code, Codex from khalilbenaz/claude-skills-collection. It costs 69 tokens per session (2,070 once invoked), scanned A, original, MIT.

A guide to designing recurring jobs with cron, a system for running commands at scheduled times. It covers schedules, time limits, retries, locking, and safe repeated execution.

In plain words
What is it for?
Use it to write cron expressions, decide between cron and a message queue, and plan monitoring, retries, timeouts, and multi-instance execution.
Why use it?
It helps avoid missed runs, duplicate work, timezone mistakes, and failures when jobs run on multiple machines or depend on external services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/daily-report.sh --force.

Good fit Use it to write cron expressions, decide between cron and a message queue, and plan monitoring, retries, timeouts, and multi-instance execution.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/khalilbenaz/claude-skills-collection
agentmods
npx agentmods add skills/khalilbenaz/claude-skills-collection/cron-job-designer

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 cron-job-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/cron-job-designer/github.svg)](https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/cron-job-designer)
Your own site
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/cron-job-designer"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/cron-job-designer/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 cron-job-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/cron-job-designer"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/cron-job-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,070 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.02070
Opus 5 $0.00034 $0.01035
Sonnet 5 $0.00014 $0.00414
Haiku 4.5 $0.00007 $0.00207

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

Security

Grade A, and why

cron-job-designer scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsS --retry 3 https://hc-ping.com/UUID > /dev/null
dev-skills/cron-job-designer/SKILL.md · 208 lines

How it starts

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

Cron Job Designer

Workflow

1. Qualifier le besoin

Avant d'écrire une expression cron, réponds à ces questions :

Question Impact
Fenêtre d'exécution stricte (ex. avant 6h) ? Timeout max à fixer
Idempotent par nature ou à construire ? Stratégie de verrou
Exécution multi-instances (k8s, cloud) ? Leader election
Dépendance externe (API, DB, SFTP) ? Circuit breaker + retry
Fréquence < 1 min ? Cron inadapté → message queue

2. Concevoir l'expression cron

Syntaxe standard (5 champs) :

┌── minute (0-59)
│  ┌── heure (0-23)
│  │  ┌── jour du mois (1-31)
│  │  │  ┌── mois (1-12)
│  │  │  │  ┌── jour de la semaine (0-6, 0=dim)
│  │  │  │  │
*  *  *  *  *

Exemples copiables :

# Tous les jours à 2h07 (décalé pour éviter 2h00)
7 2 * * *

# Toutes les 15 min en heures ouvrables (8h-18h, lun-ven)
*/15 8-18 * * 1-5

# Premier lundi du mois à 3h30
30 3 * * 1 [ $(date +\%d) -le 7 ] && /path/to/script.sh
# Alternative avec Quartz/Hangfire : "0 30 3 ? * 2#1"

# Dernier jour du mois à minuit (approximation)
55 23 28-31 * * [ $(date +\%d) -eq $(cal | awk 'NF{last=$NF} END{print last}') ]

# Chaque heure, décalé de 17 min
17 * * * *

Valideur en ligne : crontab.guru — toujours vérifier avant déploiement.

Syntaxes étendues (systemd, cloud) :

# systemd timer — OnCalendar
OnCalendar=Mon *-*-* 03:17:00

# AWS EventBridge (rate)
rate(1 hour)
# AWS EventBridge (cron, timezone UTC)
cron(17 2 * * ? *)

# Kubernetes CronJob
schedule: "17 2 * * *"

3. Choisir l'outil adapté

Contexte Outil recommandé Remarque
Linux standalone cron / systemd timer systemd > cron : logs journald, retry natif
.NET / ASP.NET Core Hangfire ou Quartz.NET Hangfire = dashboard UI intégré
Java / Spring Quartz ou @Scheduled Quartz pour clustering
Node.js node-cron ou Bull Bull si queue nécessaire
Python Celery Beat ou APScheduler APScheduler pour scripts simples
Kubernetes CronJob k8s concurrencyPolicy: Forbid par défaut
Azure Azure Functions Timer ou Logic Apps Timer Trigger = NCRONTAB (6 champs)
AWS EventBridge Scheduler Remplace CloudWatch Events
GCP Cloud Scheduler HTTP target ou Pub/Sub

Read the full file on GitHub · 208 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. 9d ago First seen · 208 lines · 69 tokens per session scan A 82afec20bd5c

Subscribe to this mod's changes

cron-job-designer is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (22 stars, last pushed 19d ago), licensed MIT. It adds 69 tokens to every session and 2,070 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.