agentleFS
trac3r00trac3r00/agent-skills/skills/cron-audit/SKILL.md

cron-audit

Skill0 starsChanged 3 months agoMITView on GitHub

Parses a crontab, expands every schedule into concrete values, explains each job in plain words, and flags invalid lines, impossible schedules, and over-frequent jobs. Crontab syntax is write-only for most humans; this makes it readable. Stdlib-only, deterministic.

The file

Files
SKILL.md

Cron Audit

Crontab lines are write-only for most humans. This reads them back.

Commands

python3 scripts/cron_audit.py /etc/crontab
crontab -l | python3 scripts/cron_audit.py -
python3 scripts/cron_audit.py deploy/crontab.txt --max-freq-min 5 --json

Reports

Per line: parsed schedule values (hour [2], minute [0], weekday [1,2,3,4,5]), a plain-words explanation ("every weekday, hour 9-17, every 15 minutes"), and the command. Invalid lines get the exact parse error (range 25-30 outside hour 0-23).

Exit 1 on any invalid line — a CI gate for committed crontabs.

Catches

  • Wrong field count (5 fields + command required)
  • Values/ranges outside field bounds (minute>59, month>12)
  • Bad steps (*/0), unparseable tokens
  • Jobs more frequent than --max-freq-min minutes (runaway polling)

Pairs with

apple-suite (the GUI-app automation layer; cron is the headless layer), sys-health (is the box those jobs run on healthy).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.