Managing and Debugging Routines
Creating a Routine is the beginning, not the end. Effective Routine management means knowing how to monitor, edit, debug failures, and make the right call between disabling and deleting. This article covers the full operational lifecycle.
Quick Reference
- →Create Routines via Desktop app UI, /schedule CLI, or Routines API
- →Desktop sidebar shows status (active/paused/erroring), last run, and next scheduled run
- →Full run transcripts available for every run, including failed ones
- →Editing a Routine takes effect on the next run — no re-deploy needed
- →Four common failure modes: branch permissions, connector auth expiry, token budget, repo access
- →Disable to pause without losing config/history/auth — Delete is irreversible
- →Check the run transcript first when debugging — it shows exactly what Claude attempted
Three Ways to Create a Routine
Routines can be created through three interfaces, each suited to different workflows. The Desktop app UI is the fastest path for creating and testing individual Routines. The /schedule CLI command is the right tool for scripting Routine creation or managing Routines as code in a team repository. The Routines API handles programmatic creation from CI/CD pipelines or internal tooling.
| Method | Best For | Notes |
|---|---|---|
| Desktop App UI | Interactive creation, visual configuration, first-time setup | Guides through all three components with form validation |
| /schedule CLI | Scripted creation, team configuration as code, batch operations | Supports all configuration options as flags, outputs JSON |
| Routines API | Programmatic creation from CI/CD, internal tooling, Routine templating | Full REST API with JSON request/response |
Regardless of which creation method you use, create new Routines with enabled: false (or create them in a paused state via the UI). Trigger a manual test run, review the full transcript, verify connector outputs arrived correctly, then enable. A Routine that fires incorrectly on its first live run wastes a run credit and may post confusing output to team channels.