cron
The cron skill schedules reminders, recurring tasks, and one-time notifications using flexible time expressions. Use it when you need to send direct messages to users at intervals, have an agent execute tasks periodically and report results, or trigger actions at specific times. It supports interval-based scheduling (every_seconds), cron expressions for complex patterns, timezone-aware scheduling, and job management through add, list, and remove actions.
git clone --depth 1 https://github.com/HKUDS/nanobot /tmp/cron && cp -r /tmp/cron/nanobot/skills/cron ~/.claude/skills/cronSKILL.md
# Cron Use the `cron` tool to schedule reminders or recurring tasks that should report back to the originating chat/session when they run. Do not use `cron` for periodic background checks that should stay quiet when there is nothing useful to report. For those, update `HEARTBEAT.md`; the protected heartbeat job runs those checks and only delivers results that pass the notification gate. ## Three Modes 1. **Reminder** - message is sent directly to user 2. **Task** - message is a task description, agent executes and sends result 3. **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/nanobot 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>") ``` Timezone-aware cron: ``` cron(action="add", message="Morning standup", cron_expr="0 9 * * 1-5", tz="America/Vancouver") ``` 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" | | 9am Vancouver time daily | cron_expr: "0 9 * * *", tz: "America/Vancouver" | | at a specific time | at: ISO datetime string (compute from current time) | ## Timezone Use `tz` with `cron_expr` to schedule in a specific IANA timezone. Without `tz`, the server's local timezone is used.
Search and install agent skills from ClawHub, the public skill registry.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Generate images and iteratively edit saved image artifacts.
Sustained objectives via long_task / complete_goal — idempotent goal wording, project-style modular work, early web/doc research, Runtime Context metadata.
Search conversation history and understand Dream-managed profile and memory files.
Inspect and optionally adjust the agent's runtime state. Use to check the current model or preset, context window and runtime limits, workspace and tool configuration, subagent status, and request routing metadata such as channel, chat ID, and sender ID; diagnose unavailable capabilities; change allowed runtime settings; or store temporary session scratchpad values.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).