About cron
cron is an agent skill for scheduling reminders and recurring or one-time tasks. It uses the cron tool to add, list, and remove scheduled jobs, with modes for direct reminders and agent-executed tasks.
Key features
- 01Schedules direct reminders
- 02Schedules recurring agent tasks
- 03Sets one-time jobs that auto-delete
- 04Lists and removes scheduled jobs
- 05Supports interval, cron expression, and timestamp scheduling
Use cases
- 01Setting a recurring break reminder
- 02Scheduling an agent to check and report information
- 03Creating a one-time reminder for a meeting
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ volcengine/ openviking --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.
Three Modes
- Reminder - message is sent directly to user
- Task - message is a task description, agent executes and sends result
- One-time - runs once at a specific time, then auto-deletes
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 HKUDS/vikingbot GitHub stars and report", every_seconds=600)
One-time scheduled task (compute ISO datetime from current time):
cron(action="add", message="Remind me about the meeting", at="<ISO datetime>")
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" |
| at a specific time | at: ISO datetime string (compute from current time) |
Comments
Markdown supported