Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cron-doctor

Skill by sickn33

Diagnoses and validates cron expressions before they ship. It flags five silent traps: impossible dates, OR day semantics, midnight spikes, step drift and leap-year February 29. Aimed at developers and DevOps engineers who write or debug schedules.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cron-doctor

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/cron-doctor ~/.claude/skills/cron-doctor

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cron-doctor in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

cron-doctor is an agent skill for diagnosing and validating cron expressions before they reach production. It targets five silent failure modes: impossible dates that never fire, OR semantics when day-of-month and day-of-week are both restricted, midnight spikes, uneven step drift, and leap-year February 29. The skill tells the assistant to identify the scheduler and timezone first, parse the five fields, describe the schedule in plain English, and run the trap checklist.

It ships a zero-dependency Node.js engine at scripts/cron-engine.js, with a CLI wrapper at scripts/cli.js, that parses, describes, validates and computes next fire times. It is aimed at people who write, review or debug schedules in crontab, Kubernetes CronJob, GitHub Actions, Airflow, Celery beat or systemd timers. The source describes it as read-only and risk safe, and it does not replace confirming next runs in the actual scheduler.

Written from the project's SKILL.md and checked against it.

What it can do

  • Trap checklistChecks an expression for the five silent death-traps and flags those that apply.
  • Plain-English descriptionStates what a cron expression is intended to do versus what it actually does.
  • Deep validationReturns validity, observations and suggestions through the validate function.
  • Next run timesComputes the next fire times as concrete dates using nextRuns and formatNextRuns.
  • Annual fire countEstimates how many times a schedule fires per year to compare cost and load.
  • CLI commandsRuns describe, validate and next subcommands from the bundled scripts/cli.js wrapper.

What you need

  • Node.js

Try asking

  • Check this cron expression for traps: 0 0 1,15 * 1
  • What does the cron schedule 0 9 * * 1-5 mean in plain English?
  • When will the cron job */5 * * * * run next? Show five dates.

Good to know

  • The engine uses the Node process local timezone, not CRON_TZ or spec.timeZone.
  • It scans at most 600,000 minutes (about 416 days), so partial results do not prove a schedule never fires.
  • It does not validate Quartz 6/7-field expressions or model DST, platform delays or overlap control.
  • No scripts were runtime-tested during the source's content review.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cron-doctor/SKILL.md, skills/cron-doctor/scripts/cli.js, skills/cron-doctor/scripts/cron-engine.js. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • scripts/cli.js2 KB
  • scripts/cron-engine.js23 KB

Alternatives to cron-doctor

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

cron-doctor: common questions

Does cron-doctor catch cron jobs that never run?

Yes, it checks for impossible dates such as February 30, which are valid syntax but never fire. The source calls this the "never fires" bug.

Why does my cron job run more often than I expected?

When both day-of-month and day-of-week are restricted, cron uses OR logic instead of AND. The skill flags this as the OR-semantics trap and suggests moving one field to * or guarding in the script.

Does cron-doctor validate Quartz or seconds-based cron expressions?

No. The source says it targets standard 5-field cron and does not validate Quartz 6/7-field expressions with seconds or years.

How do I install cron-doctor?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cron-doctor free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is cron-doctor safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cron-doctor?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

cron-doctor Install

Add to stack

Loading.