NachschlagenQuellenregister

Dokumentationerreichbar

Anthropic, Run prompts on a schedule

code.claude.com (externe Seite)

Die Dokumentation zu /loop und den Werkzeugen für Zeitpläne innerhalb einer Sitzung. Ein Prompt läuft damit wiederholt, fragt einen Zustand ab oder erinnert einmalig an etwas.

geprüft 10.11.2026

Worauf sich diese Seite beruft, wörtlich, abgerufen am 12.10.2026:

  • Use cloud tasks for work that should run reliably without your machine. Use Desktop tasks when you need access to local files and tools. Use /loop for quick polling during a session.bestätigt 10.11.2026
  • After each iteration it picks a delay between one minute and one hour based on what it observedbestätigt 10.11.2026
  • Tasks only fire while Claude Code is running and idle. Closing the terminal or letting the session exit stops them firing.bestätigt 10.11.2026
  • This bounds how long a forgotten loop can run.bestätigt 10.11.2026
  • Seconds are rounded up to the nearest minute since cron has one-minute granularity.bestätigt 10.11.2026
  • A scheduled fire only runs skills that Claude is allowed to invoke on its ownbestätigt 10.11.2026
  • Claude does not start new initiatives outside that scope, and irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.bestätigt 10.11.2026
  • Edits to loop.md take effect on the next iteration, so you can refine the instructions while a loop is running.bestätigt 10.11.2026
  • If an iteration ends without either rescheduling or stopping, Claude Code schedules one fallback wakeup about 20 minutes later and ends the loop when that iteration doesn't reschedule either.bestätigt 10.11.2026
  • A session can hold up to 50 scheduled tasks at once.bestätigt 10.11.2026
  • A scheduled prompt fires between your turns, not while Claude is mid-response.bestätigt 10.11.2026
  • Unless it runs every five minutes, a recurring task starts each run late by up to half the gap to the next run, and by at most 30 minutes.bestätigt 10.11.2026
  • No catch-up for missed fires.bestätigt 10.11.2026
  • A self-paced /loop isn't restored, so run /loop again to restart it.bestätigt 10.11.2026
  • Backgrounding the session carries /loop tasks over to a background session, which keeps running without a terminal.bestätigt 10.11.2026
  • You can also pass a skill as the prompt, for example /loop 20m /review-pr 1234bestätigt 10.11.2026
  • Supported units are s for seconds, m for minutes, h for hours, and d for days.bestätigt 10.11.2026
  • Recurring tasks automatically expire 7 days after creation.bestätigt 10.11.2026
  • For cron-driven automation that needs to run unattended:bestätigt 10.11.2026
  • No (fresh clone)bestätigt 10.11.2026
  • When you omit the prompt, Claude uses a built-in maintenance prompt instead of one you supply.bestätigt 10.11.2026
  • tend to the current branch’s pull requestbestätigt 10.11.2026
  • When you resume with claude --resume or claude --continue, Claude Code doesn’t restart the background Bash commands and monitors that were running when the session ended.bestätigt 10.11.2026
  • A self-paced loop waiting there for its next iteration keeps running, and that iteration starts on schedule.bestätigt 10.11.2026
  • In a background session, a self-paced loop stops if its next wakeup comes due while the session’s process isn’t running, such as after a crash.bestätigt 10.11.2026

11 Eine Wissensbasis aufbauen12 Rechner und Netz pflegen28 Lange Läufe

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.