All articles
Tonis Tiganik--8 min read

Claude Code Routines vs ClawTab: Cloud Tasks or Local Cron?

Claude Code Routines run scheduled tasks in Anthropic's cloud - no laptop needed, but fresh-clone per run and Anthropic-only. ClawTab runs persistent local cron on your Mac with Keychain secrets, per-pane auto-yes, iOS remote, and multi-provider support. Here's when to use each.

Claude Code Routines vs ClawTab: Cloud Tasks or Local Cron?

Two Different Answers to the Same Problem

You want a Claude Code agent that runs on a schedule - morning code reviews, nightly dependency audits, weekly changelogs - without you sitting at the keyboard. In 2026, there are two serious ways to do this: Claude Code Routines (Anthropic's official cloud scheduler) and ClawTab's local cron on your Mac.

They look similar from a distance - both take a prompt, a schedule, and run it unattended. But the execution models are nearly opposite. Routines run in Anthropic's cloud with a fresh repo clone each time. ClawTab runs on your Mac with persistent state, Keychain-backed secrets, and per-pane auto-yes. Which one you want depends on what the job actually needs.

This guide breaks down how each works, where each shines, where each falls short, and the hybrid pattern teams actually use in practice.

What Claude Code Routines Are

Claude Code Routines (launched 2026) are scheduled tasks that run on Anthropic's infrastructure. Your laptop can be closed, asleep, or on the other side of the world - the task still runs.

You can create and manage them three ways:

  • /schedule command inside Claude Code CLI or Desktop
  • claude.ai/code/routines web UI
  • API triggers from GitHub events, CI systems, or custom webhooks

A routine is defined by four things: a prompt, a repository (or set of repos), a schedule (cron syntax or natural language), and a set of connectors (GitHub, Linear, Slack, etc.). Each run spins up a fresh clone, executes the prompt, and produces reviewable output with an option to open a pull request.

There's also /loop, a lighter in-session variant. It fires a prompt on a fixed cadence inside the current Claude Code session. Fast to set up, but the session has to stay alive and everything expires after three days. For anything longer than a coffee break, you want /schedule not /loop.

Where Routines Work Well

Cloud execution is the headline feature, and it's genuinely useful. Some workflows map cleanly onto what Routines are built for:

  • Your machine is unreliable. Laptops sleep, travel, and get closed. If the job has to run at 6am daily regardless of where you are, Routines wins.
  • GitHub-triggered workflows. React to merged PRs, new issues, or CI failures without running a webhook server. Anthropic already has the GitHub integration.
  • Low-setup automations. No infrastructure to install. Sign in to claude.ai, write a prompt, pick a schedule, done.
  • Single-repo cadence tasks. "Every Monday at 9am, review the last week's commits and post a summary to Slack." Clean, self-contained, no state needed between runs.
  • Integrated billing. Routines usage counts against your Pro ($20/month) or Max plan, so there's no separate billing to track.

If those fit your use case - and plenty do - Routines is the right answer.

Where Routines Fall Short

The cloud-execution model also has hard limits. If any of these matter to the job, Routines isn't the tool:

  • No persistent state between runs. Every run starts from a fresh clone. If your agent needs to remember what it did yesterday - a build cache, a database of processed issues, partial progress - Routines forgets it. You can work around this with external storage, but that's new infrastructure.
  • No local secret injection. Routines can use repo-level secrets you've configured in claude.ai, but it can't pull from macOS Keychain or gopass. If your workflow already stores API keys, SSH keys, and tokens in Keychain, you'd have to duplicate them into Anthropic's secrets system. See ClawTab's secrets management for how the local-injection model works.
  • No per-pane auto-yes control. Claude Code's auto-yes is a per-session setting. Routines runs agents in the cloud with its own permission handling, so you can't toggle auto-yes mid-run from your phone the way you can in ClawTab.
  • Mobile monitoring is basic. You get email summaries and can view results on claude.ai from a browser. No native iOS app, no push notifications tied to pending permission prompts, no live-streaming logs.
  • Anthropic-only. Routines runs Claude Code. It can't run Codex, OpenCode, or a multi-provider swarm. If you want to compare three models on the same task or fall back to Codex when Anthropic is rate-limited, you're out of luck.
  • Fresh clone is slow and expensive for heavy repos. Large monorepos take real time to clone. For lightweight tasks you barely notice; for heavy repos with gitmodules, the cold-start cost is real.

ClawTab's Local Cron Alternative

ClawTab's cron scheduler takes the opposite approach: jobs run on your Mac in tmux sessions, managed by a menu-bar app, with full access to your local environment.

What that buys you:

  • Persistent state. Jobs run in the same working directory each time. Whatever the agent wrote last run is still there next run. Build caches, partial progress files, per-run logs - all persist naturally.
  • Keychain and gopass secrets. List secret_keys in the job config. ClawTab pulls them from macOS Keychain (falling back to gopass) and injects them as environment variables at runtime. Secrets never touch config files or logs.
  • Per-pane auto-yes. Toggle auto-yes independently for each running agent. Trust the nightly refactoring agent, keep the security-audit agent in manual-approve mode. Change it from your phone mid-run.
  • iOS app + web remote. The iOS app and remote.clawtab.cc stream live agent output, detect pending permission prompts across all panes, and let you answer from anywhere. Push notifications when something needs your attention.
  • Multi-provider. ClawTab v0.3 runs Claude Code, Codex, and OpenCode from the same agent list. Schedule any combination. Fall back to Codex when Claude hits a rate limit. Compare all three on the same task in split panes.
  • Survives reboots. Jobs are stored as YAML under ~/.config/clawtab/jobs/. ClawTab restarts on login, loads jobs, resumes the cron loop. No 3-day expiry.
  • Free and open source. MIT licensed. You pay for the underlying agent tokens, not for the scheduler.

The tradeoff is honest: your Mac has to be on and awake when the cron fires. If you travel a lot or close your laptop at night, that's a real limitation.

ClawTab desktop running Claude Code, Codex, and OpenCode in three separate split panes on one Mac
ClawTab v0.3 running Claude Code, Codex, and OpenCode side by side - each independently scheduled, each with its own auto-yes state

Side-by-Side Comparison

CapabilityClaude Code RoutinesClawTab
Execution locationAnthropic cloudYour Mac (tmux)
Laptop required onlineNoYes (must be awake at fire time)
Persistent state between runsNo (fresh clone per run)Yes (working directory persists)
macOS Keychain / gopass secretsNoYes (automatic injection)
Per-pane auto-yes toggleNoYes (per-agent, mid-run)
Mobile appNo (browser only)iOS app + web remote
Push notifications on pending promptsNoYes (iOS + Telegram)
Multi-provider (Codex, OpenCode)No (Anthropic only)Yes (Claude Code + Codex + OpenCode)
GitHub/Linear/Slack triggersYes (built-in)Via webhooks (manual setup)
Cron expressionsYes (5-field)Yes (5-field)
Natural language schedulesYesNo (cron only)
Session expiry/loop: 3 days; /schedule: persistentPersistent (no expiry)
PriceIncluded in Pro ($20/mo) or MaxFree (open source)

Neither tool wins every row. Routines dominates the "laptop-independent cloud execution" rows. ClawTab dominates the "local state, secrets, mobile control, multi-provider" rows.

The Hybrid Pattern

The teams that run a lot of scheduled agents in 2026 tend to use both, not one or the other. The split follows naturally from the tradeoffs above:

Use Routines for:

  • Anything triggered by GitHub events (merged PR summaries, issue triage, CI-failure analysis)
  • Cloud-native tasks where you don't care about local state (daily news digests, meeting-notes summarization)
  • Schedules that have to fire while you're traveling or asleep
  • Teams who don't have a Mac always-on or don't want to think about machine uptime

Use ClawTab for:

  • Jobs that need local secrets from Keychain (internal APIs, SSH keys, signed tokens)
  • Agents that should build up state over time (nightly dependency audit that tracks what it fixed last week)
  • Overnight runs where you want per-pane auto-yes you can toggle from your phone
  • Multi-provider comparisons (run the same task on Claude Code + Codex, compare)
  • Workflows that need a native iOS app for live monitoring, not email summaries

A concrete example: at one team I talked to, Routines runs the 9am weekday "summarize overnight PRs" job (cloud, GitHub-triggered, no state), and ClawTab runs a 2am nightly job that updates the internal dependency map (local Keychain secrets, persistent cache, auto-yes on, push notification to phone if anything breaks). Same team, two schedulers, zero overlap.

How to Decide for a Specific Job

For any scheduled agent task, walk through these questions in order. The first "yes" tells you which scheduler to use:

  1. Does the job need local secrets from Keychain or gopass? → ClawTab.
  2. Does the job depend on persistent state between runs? → ClawTab.
  3. Does the job involve Codex or OpenCode, not just Claude Code? → ClawTab.
  4. Is your Mac offline or asleep at the fire time? → Routines.
  5. Is the job triggered by a GitHub/Linear/Slack event? → Routines (easier).
  6. Everything else: either works. Default to Routines if you want less infrastructure, ClawTab if you want more control.

If you're still not sure which to pick, start with ClawTab - it's free, installs in 30 seconds via Homebrew (brew install --cask tonisives/tap/clawtab), and you can move to Routines later if you find you need cloud execution. The job config is a YAML file; migrating it to a Routine later is a copy-paste job.

Frequently Asked Questions

Claude Code Routines are Anthropic's cloud-based scheduled tasks. You define a prompt, a repository, and a schedule (cron syntax or natural language), and the task runs on Anthropic's infrastructure - your laptop doesn't need to be online. Available via /schedule in the CLI, the Desktop app, or claude.ai/code/routines. Each run starts from a fresh clone.

/schedule creates a persistent cloud Routine that runs on a cron schedule even when your machine is off. /loop runs a prompt on a cadence inside your current Claude Code session, but the session has to stay alive and the loop expires after 3 days. Use /schedule for long-running automation, /loop for short interval polling during an active session.

No. Routines runs in Anthropic's cloud and can't access your local Keychain or gopass. You'd have to configure repo-level secrets in claude.ai. If your workflow already uses Keychain or gopass for secret management, ClawTab's local cron (with automatic Keychain/gopass injection at runtime) is a better fit.

No. Routines only runs Claude Code on Anthropic models. If you want to schedule Codex, OpenCode, or a multi-provider comparison in the same run, you need a local scheduler like ClawTab. ClawTab v0.3 manages Claude Code, Codex, and OpenCode from the same agent list and supports per-provider scheduling.

It's a complement in most teams and an alternative in some. Routines is best when your Mac is offline at fire time or when GitHub events are the trigger. ClawTab is best when you need local secrets, persistent state between runs, per-pane auto-yes, multi-provider scheduling, or a native iOS app for live monitoring. Many teams use both and split jobs by which fits each use case.

Only through the claude.ai web interface in a mobile browser. There's no native mobile app for Routines, no push notifications tied to pending permission prompts, and no live log streaming. ClawTab has a native iOS app plus remote.clawtab.cc web remote with push notifications, live agent output, and mid-run permission prompt answering.

Routines usage is included in your Claude Code Pro ($20/month) or Max ($200/month for 20x usage) plan and counts against the same usage quota as interactive Claude Code. There's no separate scheduler fee. ClawTab is free and open source - you only pay for the underlying agent tokens.

Related Articles

Claude Code Cron Jobs: Schedule Persistent AI Agents That Survive Reboots
-7 min read

Claude Code Cron Jobs: Schedule Persistent AI Agents That Survive Reboots

Set up Claude Code agents on a cron schedule that keeps running even after a reboot. ClawTab injects Keychain secrets, auto-approves permission prompts, and pushes alerts to your phone — compare with Claude Code /schedule and /loop.

cronautomationscheduling
Run Claude Code in the Background: 8 Unattended Agent Tools Compared (2026)
-12 min read

Run Claude Code in the Background: 8 Unattended Agent Tools Compared (2026)

Run AI coding agents overnight without babysitting. ClawTab, Claude Code Routines, Cursor background agents, Codex automations, Copilot, OpenClaw, Aider, and Devin compared on scheduling and mobile monitoring.

background-agentsautomationcomparisonclaude-codecursorcodexopenclawscheduling
Best AI Coding Agent IDE 2026: Cursor vs Claude Code vs Codex Ranked
-10 min read

Best AI Coding Agent IDE 2026: Cursor vs Claude Code vs Codex Ranked

Cursor, Windsurf, Claude Code, Codex, and OpenCode ranked for 2026. Real pricing, parallel agent limits, Cursor Auto mode model picks, mobile monitoring, and background scheduling compared.

cursorwindsurfclaude-codecodexopencodecomparisonagent-idemulti-agent
Claude Code Auto-Yes: Auto-Approve Permission Prompts Per-Pane (Toggle from Your Phone)
-5 min read

Claude Code Auto-Yes: Auto-Approve Permission Prompts Per-Pane (Toggle from Your Phone)

Stop babysitting Claude Code permission prompts. ClawTab's auto-yes accepts them automatically per-pane — safer than --dangerously-skip-permissions, works with any plan, and can be toggled on or off from your phone in one tap.

auto-yesagentsremoteautomation
Claude Code Automation: From First Job to Fully Unattended Agents
-10 min read

Claude Code Automation: From First Job to Fully Unattended Agents

A step-by-step guide to automating Claude Code with ClawTab. Install, create your first cron job, enable auto-yes, inject secrets, and monitor everything from your phone.

automationguidecronauto-yessecretsremotetutorial