headless-cron-creator

Featured

Generate headless Claude Code cron jobs with safety.

AI & Automation 425 stars 46 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Headless Cron Creator Skill Generate headless Claude Code cron jobs from a task description and schedule. Creates a wrapper script with safety mechanisms (lockfile, budget cap, dry-run default, logging) and installs crontab entries. All crontab mutations go through `scripts/crontab-manager.py`, which writes to temp files and creates timestamped backups in `~/.claude/crontab-backups/` before every change -- never pipe directly to `crontab -` because a mid-stream pipe failure wipes the entire crontab. ## Instructions ### Phase 1: PARSE Extract job parameters from the user's request. **Required parameters**: - **name** -- short kebab-case identifier (e.g., `reddit-automod`, `feed-health-check`) - **prompt** -- what Claude should do each run (natural language) - **schedule** -- cron expression or human-readable interval **Optional parameters** (with defaults): - **workdir** -- where to `cd` before running (default: current repo root) - **budget** -- max USD per run (default: `2.00`; user may override) - **allowed-tools** -- which tools the headless session can use (default: `Bash Read`; user may override) - **logdir** -- where to store logs (default: `{workdir}/cron-logs/{name}`) **Human-readable schedule conversion** -- use off-minutes (7, 23, 47) instead of `:00`/`:30` because every cron job on the system fires at round minutes, creating load spikes: | Human Input | Cron Expression | |-------------|----------------| | every 12 hours | `7 */12 * * *` | | twice daily | ...

Details

Author
notque
Repository
notque/vexjoy-agent
Created
6 months ago
Last Updated
yesterday
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category