OpenParable
Skip to content
← Back to skills

Claw Cron

DevOps & Security
claw-cron

Claw Cron is an Agent Skill for devops & security published in the x-cmd/x-cmd repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/x-cmd/x-cmd/blob/HEAD/mod/claw/lib/data/workspace/hb/skills/cron/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/claw-cron, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Claw Cron Skill

Red Lines

  • ONLY x claw cron is allowed. Never use CronCreate, CronDelete, system cron, or at.
  • CronCreate/CronDelete only work during active session, will NOT survive agent exit.
  • System cron/at is not managed by claw, will NOT be tracked or cleaned up.

Basic Usage

  • Run x claw cron --help first to see all subcommands and examples.
  • Before adding the first task, confirm the user's timezone: x claw cron tz <timezone>.
  • Use single quotes for <msg> in cron commands.

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:

  • Goal
  • Tools
  • Steps
  • Output format
  • How to deliver results

Heartbeat vs Scheduled Tasks

Use ThisFor What
Heartbeat (you)Batch checks, needs chat context, time can float (~30 min drift is fine)
Scheduled tasksExact 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.