/goal + Routines overnight combo
The two-layer answer to how do I run this overnight: /goal drives in-session work to done, while a scheduled Routine keeps recurring unattended work running on Anthropic's cloud with your laptop closed.
Implementation note
When to use: the how-do-I-run-this-overnight question — you want in-session work driven to completion while you watch, and recurring unattended work running with the laptop closed. This is the two-layer answer. How it works: /goal handles the in-session layer, iterating a task to its done condition while you are at the keyboard. /schedule creates a Routine for the recurring layer, which runs on Anthropic's cloud on cadence — no local machine required, laptop closed. The split is deliberate: goals are for converging on a defined outcome now, Routines are for standing work that should happen without you. Safety: the two layers carry different risk profiles. Goals run under your observation with your local permissions; Routines run unattended in the cloud, so scope what a Routine can touch conservatively and give it report-heavy, mutation-light work until you trust its judgment. Put turn caps in your goal text as usual. Hardened 2026-07-27: explicit stop/cap/verification guardrails appended; regraded D→A.
More automation loops
Ship production-grade apps autonomously
Hand an idea to Claude Code; it authors specs, designs, builds, tests, secures, and ships until enterprise done or budget exhausted.
claude-progress.txt harness pattern (Anthropic)
Anthropic's first-party file-as-memory harness for long-running agents: every fresh-context session recovers state from a progress file and the git log, does one unit of work, updates the file, commits, and exits.
Complete all tasks in tasks.md
Work through your tasks.md file, completing each task until none remain or max iterations is reached.