Set Daily Cron
Use this skill when managing project cron checks driven by
.codex/hooks/do-cron-tasks.py.
When To Use
Use this skill when the user asks to:
- Create or configure a daily cron task for Codex.
- Inspect, reset, or repair the daily cron state.
- Change where cron reports are written.
- Track project git commits, dirty status, remotes, or GitHub issues.
- Debug why a cron report did or did not run.
Do not use this skill when:
- The user only wants a one-off git status or commit summary.
- The task is unrelated to recurring project checks.
- A hook or cron file should not be changed.
Workflow
- Read the user's request and identify whether they want inspect, create, update, reset, or debug behavior.
- Read
STATE.md; if this is a new run, reset it fromreferences/template/STATE.template.md. - Read
references/cron-config.mdbefore editing cron task folders or hook behavior. - Read
references/rules/filetree.mdbefore adding, moving, or removing files in this skill. - Mark the current step
in_progressinSTATE.md. - Make the smallest change that preserves
.codexas the project-local source of truth. - Validate with the hook command or the smallest shell command that proves the requested behavior.
- Mark the step
completed,blocked, orskippedinSTATE.mdwith concrete evidence.
References
- Read
references/cron-config.mdfor cron state, report paths, supported task types, and validation commands. - Read
references/example.mdfor common request examples and expected outcomes. - Read
references/rules/env.mdbefore changing Python/runtime assumptions. - Read
references/rules/filetree.mdbefore changing this skill's directory layout. - Read
references/rules/state-rules.mdwhen updatingSTATE.md.
Environment
- Project cron checks are driven by
.codex/hooks/do-cron-tasks.py. - Project-local cron task state belongs under
.codex/skills/operations/set-daily-cron/references/tasks/. STATE.mdis per-run working state and should be reset fromreferences/template/STATE.template.mdfor new runs.
Rules
.codex/skills/operations/set-daily-cron/references/tasks/is the active project-local cron task root.- Each cron task lives under
.codex/skills/operations/set-daily-cron/references/tasks/<task-name>/. - Do not write cron state or reports under
.agents. - Keep this
SKILL.mdfocused on trigger conditions and workflow. Put task implementation, config, state, reports, and detailed behavior inreferences/. - Do not claim a workflow step is complete unless
STATE.mdwas updated with evidence.
Output
Final responses should include:
- What cron behavior or state changed.
- The validation command and result.
- The active report path, when relevant.