Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Re-creates Sutando's session cron jobs from each host's crons.json on startup or after a session restart.
30% 87%+57 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 7 of 23 without it.
This test ran on v5. v8 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Re-create all session cron jobs for Sutando. Run this on startup or after a session restart.
Usage: /schedule-crons
Scope. This skill schedules Sutando's own startup, maintenance, heartbeat, backend and proactive jobs, and they stay native, as do starter jobs the owner switches on in
crons.json. A reminder or timed job an owner asks for in an s.space room or DM goes to the platform scheduler instead (skills/ag2-space-mcp/SKILL.md); add one here only in the last-resort case that skill describes. This does not disable cron, and starter jobs are not migrated automatically.
Jobs are defined per host in <workspace>/hosts/<hostname>/crons.json — per-host, synced + backed up via the vault (carried as part of the hosts/*/ per-host subtree (#1717), which is hostname-qualified so it never collapses across hosts; see docs/workspace-hosts-convention.md and docs/workspace-per-host-paths.md). <hostname> is bash scripts/sutando-config.sh host-label — the canonical per-host label ($SUTANDO_HOST_LABEL > scutil LocalHostName > short hostname), matching the sync layer's host slug. (Do NOT use a bare hostname | sed 's/\..*//': a DHCP lease can drift the hostname (e.g. Comcast → Chis-MBP) and split per-host paths from the stable label; #1745.) A template is in crons.example.json (in this skill dir, version-controlled). Step 1 seeds a missing per-host file with python3 skills/schedule-crons/scripts/seed_crons.py, which writes the template's starter set: every entry except those marked "opt_in": true. Do not cp the whole template: its opt-in entries start only on the owner's word. crons.example.history.json holds a digest of every entry the template has ever shipped, which the seeder uses to tell a shipped sample from an owner's job; a change to an entry of crons.example.json appends the new entry's digest there (tests/schedule-crons-seed-policy.test.py enforces it and computes it).
(Migrated from the old skills/schedule-crons/crons.json, which lived in the code checkout — misfiled per the workspace contract, and per-host-but-unsynced. That file is never seeded from: older installers filled it from the template, so its jobs prove no opt-in. The new path is proper per-user state: backed up + visible across hosts, each host keeping its own cron set.)
Each entry has:
name — unique identifier (used to avoid duplicates)cron — 5-field cron expressionprompt — the prompt to run (direct text)prompt_skill — OR a skill to invoke (e.g. "morning-briefing" → /morning-briefing)loop (optional, value "dynamic") — declares a dynamic (self-pacing) loop using the built-in /loop primitive. An entry with no interval (no cron field) + loop: "dynamic" is run by schedule-crons as /loop without an interval (see step 3) — which is exactly the built-in adaptive mode: the loop self-paces via ScheduleWakeup, deciding each next delay by its own judgment. Optional loop_hint (free text) guides that pacing (e.g. "~10 min when owner active, ~40 min quiet"). Durable because schedule-crons re-launches it every boot; adaptive because that's what /loop-no-interval already is. No min/max/signal schema and no custom gate — the built-in does the pacing. Example: {name:"inbox-score", prompt_skill:"inbox-score", loop:"dynamic", loop_hint:"…"}.execution (optional, value "codex-task") — opt this entry into the durable OS-backed Codex runner instead of session cron registration. Codex entries may also set timezone (IANA name, default America/Los_Angeles), delivery: "proactive", retry_minutes (default 15), max_attempts (default 3), and active_stale_minutes (default 60). Jobs require this explicit opt-in except for the canonical main-loop while the selected runtime is Codex; the runtime-specific exception is described below.opt_in (optional bool, template only) — true marks a crons.example.json entry the seeder leaves out (the morning briefing, the sample digest). Add it to a host's crons.json only when the owner asks for that job.launchd (optional bool) — when true, the entry is owned by the OS-level cron-runner (src/cron-runner.py, installed via src/install-cron-runner-launchd.sh), NOT by this session skill. /schedule-crons skips these so the two schedulers never double-fire. Use it for daily-deliverable crons that must fire even when no Claude session is idle (the reliability fix for the 2026-07-02 silent 6am-digest miss).monitor (optional object) — declares a persistent Monitor-based driver, NOT a cron: the entry is armed via the Monitor tool and re-armed on every /schedule-crons, so it survives restarts the way the task watcher (step 1.5) does. Shape: {"command": "<shell to run>", "description": "<one-line>", "match": "<argv substring that detects a running instance>"}. It is NOT CronCreated and NOT counted in the stamp's registered (it is not a session cron). Armed in step 5.4. Use it for a continuous event-emitting driver (e.g. the content-loop) that must re-arm across restarts.artifact (optional string) — the filename STEM of the dated output this job produces, e.g. "fleet-growth" for fleet-growth-2026-08-18.mp4. Read by health-check.py's daily-cron-punctuality probe. Without it the probe infers a stem from the last hyphenated token of the job name, so talk-events-nightly looks for nightly-<date>.*, never observes the real artifact, and reports the job UNCHECKED forever. Declare it whenever the name does not already equal the stem.conditional (optional bool) — set true when the job runs on schedule but produces output only if there is new input (a nightly render with no new beats). The punctuality probe then treats "no artifact today" as evidence of nothing rather than a miss; lateness is still measured from the artifacts that do exist.
On macOS, the Codex core launcher automatically reconciles ordinary fixed-interval entries to this owner because Codex has no session CronCreate surface. It preserves main-loop, dynamic loops, and entries already owned by execution: "codex-task", and initializes the runner boundary before changing ownership so activation never replays an old action backlog.gate (optional bool, default by cadence) — whether the registered prompt yields to queued owner work. Unset, step 3 prefixes a prompt / prompt_skill entry that fires more than once a day with a bash <repo>/scripts/cron-gate.sh --check <name> preamble (absolute path) and registers a daily-or-rarer one verbatim (see "Defer crons when owner tasks are queued" below). "gate": true gates an entry whatever its cadence; "gate": false registers it verbatim whatever its cadence — set it on health-check / watchdog entries. The canonical main-loop / prompt_skill: proactive-loop entry is never gated whatever this says — it is the owner-task handler itself.owner (optional string) — which session's CronCreate registration this entry belongs to: absent means the core (today's only behavior, unchanged). A worker-pool worker's bare id (the same id pool_roster.py/worker_identity.py use, e.g. "d1fc9b10050b490d894947f96627447f") pins the entry to that worker instead — that worker's own /startup registers it (see skills/startup/SKILL.md's worker section), and step 3 below must skip it here so the two registrations never double-fire the same job. Set this by hand when moving a job that a pinned room's cron output belongs to from the core onto its worker, per src/cron_ownership.py (the one shared filter both registration passes call — see docs/architecture-boundaries.md "Shared adapter policy").Install or reconcile the per-minute launchd runner after adding an execution: "codex-task" entry:
python3 skills/schedule-crons/scripts/codex-scheduler.py install
python3 skills/schedule-crons/scripts/codex-scheduler.py health
Next to this one in the catalogue, plus more from the same author.