From claudeclaw
Create or manage Claude Routines (Anthropic's cloud-hosted scheduler). Triggers when the user wants a scheduled task that fires even when their machine is off, or says "create a routine", "schedule on cloud", "anthropic cron", or "use routines for X". Bridges to Claude Code's built-in `schedule` skill so the routine is registered with Anthropic's cloud trigger system.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claudeclaw:routine-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Claude Routines run on Anthropic's infrastructure. They fire whether your laptop is on or off. Use them for:
Claude Routines run on Anthropic's infrastructure. They fire whether your laptop is on or off. Use them for:
Don't use them for:
cron-routine skill).If the user just said "schedule X every day", ask once:
"Run this on Anthropic's cloud (fires even when your Mac is off, daily quota, 1h minimum interval) or on your local gateway daemon (no quota, sub-minute granularity, needs your machine on)?"
Default to Routine if the cadence is daily/weekly and the prompt is self-contained (no local file or local MCP needed). Default to local otherwise.
If they're indifferent — pick the better fit and tell them which you chose.
A Routine has no memory of past runs. Each fire is a fresh session. The prompt must include everything Claude needs to do the job:
Bad prompt: "Run the morning-brief skill." Good prompt: "Pull today's events from Google Calendar, top 5 unread important emails from Gmail, and open PRs assigned to me from GitHub. Format as the morning-brief template (calendar / inbox / PRs / suggested first move). Send the result to Telegram chat 123456789 via the message-send tool."
schedule skillClaude Code has a built-in schedule skill that creates Claude Routines via CronCreate. Invoke it with:
morning-brief-routine0 9 * * 1-5)USER.md (default Europe/Amsterdam)After creation, list with CronList to confirm.
Append a row to ${CLAUDE_PLUGIN_ROOT}/identity/HEARTBEAT.md under "Current schedule" tagged (routine) so the human-readable view shows both local and cloud schedules in one place:
| Daily 09:00 | morning-brief | Telegram | (routine) |
When the user asks "what should I set up", offer these (don't auto-create):
For sub-hourly or local-only tasks, point at the cron-routine skill (local daemon) instead.
CronList — shows everything you've scheduled. Filter to claudeclaw-created ones by name prefix claw- (we add this prefix on create).CronDelete <id>.mcp__scheduled-tasks__update_scheduled_task — change schedule or prompt without recreating.If the user already has 4+ active routines and they're on Pro (5/day cap), warn: "you're near the daily quota — consider whether this is worth replacing an existing one, or moving to local cron."
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub leadsblender/claudeclaw --plugin claudeclaw