About cron
cron is a scheduling skill for setting reminders and recurring tasks. It supports direct reminder messages as well as tasks that an agent executes on each run.
Key features
- 01Schedule direct reminders
- 02Create recurring agent tasks
- 03List scheduled jobs
- 04Remove jobs by ID
Use cases
- 01Scheduling a break reminder
- 02Running a recurring check and reporting results
- 03Managing existing scheduled jobs
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ zhihaoairobotic/ clawphd --skill cronAfter installing, type/cronin Claude Code to confirm it loaded.
Details
From the project READMECron
Use the cron tool to schedule reminders or recurring tasks.
Two Modes
- Reminder - message is sent directly to user
- Task - message is a task description, agent executes and sends result
Examples
Fixed reminder:
cron(action="add", message="Time to take a break!", every_seconds=1200)
Dynamic task (agent executes each time):
cron(action="add", message="Check ClawPhD/ClawPhD GitHub stars and report", every_seconds=600)
List/remove:
cron(action="list")
cron(action="remove", job_id="abc123")
Time Expressions
| User says | Parameters |
|---|---|
| every 20 minutes | every_seconds: 1200 |
| every hour | every_seconds: 3600 |
| every day at 8am | cron_expr: "0 8 * * *" |
| weekdays at 5pm | cron_expr: "0 17 * * 1-5" |
Comments
Markdown supported