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 22.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 22.11.2026
  • After each iteration it picks a delay between one minute and one hour based on what it observedbestätigt 22.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 22.11.2026
  • This bounds how long a forgotten loop can run.bestätigt 22.11.2026
  • Seconds are rounded up to the nearest minute since cron has one-minute granularity.bestätigt 22.11.2026
  • A scheduled fire only runs skills that Claude is allowed to invoke on its ownbestätigt 22.11.2026
  • Each run goes through your session’s permission checks before it pushes or deletes anything.bestätigt 22.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 22.11.2026
  • A self-paced loop can also stop when an iteration ends without Claude scheduling the next one. For one extra iteration about 20 minutes laternoch nicht nachgeprüft
  • A session can hold up to 50 scheduled tasks at once.bestätigt 22.11.2026
  • A scheduled prompt fires between your turns, not while Claude is mid-response.bestätigt 22.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 22.11.2026
  • No catch-up for missed fires.bestätigt 22.11.2026
  • A self-paced /loop isn’t restored either. To restart a loop that didn’t come back, run /loop again.noch nicht nachgeprüft
  • Backgrounding the session carries /loop tasks over to a background session, which keeps running without a terminal.bestätigt 22.11.2026
  • You can also pass a skill as the prompt, for example /loop 20m /review-pr 1234bestätigt 22.11.2026
  • Supported units are s for seconds, m for minutes, h for hours, and d for days.bestätigt 22.11.2026
  • Recurring tasks automatically expire 7 days after creation.bestätigt 22.11.2026
  • For cron-driven automation that needs to run unattended:bestätigt 22.11.2026
  • No (fresh clone)bestätigt 22.11.2026
  • When you omit the prompt, Claude uses a built-in maintenance prompt instead of one you supply.bestätigt 22.11.2026
  • tend to the current branch’s pull requestbestätigt 22.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 22.11.2026
  • A self-paced loop waiting there for its next iteration keeps running, and that iteration starts on schedule.bestätigt 22.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 22.11.2026
  • The file is plain Markdown with no required structure.bestätigt 22.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.