Cron

From x-cmd/x-cmd · View interactive version

Cron is an AI agent skill from the GitHub repository x-cmd/x-cmd. Claw scheduled task management using x claw cron. Use when the agent needs to add, remove, list, or manage cron jobs within claw. Also use when explaining the difference between heartbeat checks and scheduled tasks.

How to use this skill

Skill file

Claw Cron Skill

Red Lines

Basic Usage

Cron Command with Agent

When using x claw agentrequest as a cron command, <msg> is sent to a zero-memory new agent. The message MUST include:

Heartbeat vs Scheduled Tasks

| Use This | For What |

|----------|----------|

| Heartbeat (you) | Batch checks, needs chat context, time can float (~30 min drift is fine) |

| Scheduled tasks | Exact time ("9:00 AM sharp"), one-off reminders, no session history needed |

Rule of thumb: Need to know what was recently discussed → heartbeat. Only need exact time trigger → scheduled task.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.