schedule_task — промпт для Claude Code: что делает и как установить
Промпт schedule_task для Claude Code и ChatGPT создаёт и настраивает запланированные задачи. Запускается при запросе отложенных действий, напоминаний или фоновых проверок условий.
Apache-2.0 ★ 9 488 обновлён 2026-11-16
.claude/commands/schedule_task.mdЧто делает schedule_task
Промпт управляет расписанием фоновых задач и напоминаний через параметры операции. Для просмотра существующих планов используется список, а для изменения, паузы или удаления — идентификатор задачи. Задачи поддерживают разовые запуски, интервалы и привязку к календарному времени по часовым поясам. Проверки условий выполняются через веб-инструменты и песочницу перед запуском целевой логики.
Промпт позволяет настраивать уведомления для каждого срабатывания или только при изменении состояния. Поддерживаются лимиты частоты повторов, паузы простоя и фиксированные текстовые напоминания без вызова моделей. Все операции с расписанием требуют подтверждения об успешном выполнении инструмента до ответа пользователю.
Параметры редактирования позволяют изменять отдельные поля существующих задач, сохраняя остальные настройки. Очистка условий, напоминаний или интервалов выполняется передачей пустых значений или нулей в соответствующие аргументы.
Какие задачи решает
- создать отложенную задачу или напоминание
- проверить существующие запланированные планы
- изменить параметры или расписание задачи
- удалить или приостановить задачу по её идентификатору
Примеры запросов агенту
- Покажи мои запланированные задачи через schedule_task
- Создай напоминание на завтра через schedule_task
- Приостанови задачу по её идентификатору с помощью schedule_task
Как установить schedule_task
Вручную: положить файлы
.claude/commands/schedule_task.mdКак использовать
Вставьте текст в начало диалога или в инструкции проекта
Вопросы о schedule_task
Как установить schedule_task в Claude Code?
Поместите файл промпта в .claude/commands/schedule_task.md внутри вашего проекта.
Что делает schedule_task?
Промпт создаёт, редактирует и отслеживает запланированные задачи, напоминания и фоновые проверки условий.
Как изменить существующую задачу?
Используйте параметр редактирования с идентификатором задачи и передайте только те поля, которые нужно изменить.
Исходный текст
schedule_task.md · Apache-2.0
Create or manage this user's scheduled tasks. Use op=list to inspect existing plans before changing one; use its triggerId for edit, pause, resume, delete, run_now or reschedule. Only plans belonging to this conversation are visible or editable. With op=create (default), schedule a future task only when the user asks you to do something later. For a fixed reminder, set reminder to the exact message and goal to its short description; this delivers without running a model. For work that needs app or web operations, omit reminder. Use at for a one-time or fixed-interval start; use repeatAt (one clock) or repeatTimes (several HH:mm clocks in one plan), with repeatZone and optional weekdays for a daily/weekly local clock time, so daylight-saving changes do not shift the clock time. A condition is checked first with read only web and sandbox tools; by default the task runs only when the condition becomes met. Choose notifyWhen by what the user wants: for a routine check of how things are each time (e.g. tell me each morning if it will rain), set notifyWhen=each_time_met so every met check runs the goal; for watching for a change (back in stock, a price drop), keep the default becomes_met. Each check records a key value; the baseline is the value from the last time the goal was started, or from the first check if it has not started yet, so write comparisons against the baseline (e.g. dropped by more than 50 from the baseline). Set cooldownMinutes when the user limits how often to hear about it or the value may flap around a threshold; a cooldown no longer than the check interval has no effect, so leave it out then. Set whenIdle when the user wants the task to wait for an idle period after that time. Do not claim that a future task is arranged until this tool succeeds. With op=edit, use an existing triggerId and send only the fields the user wants changed: other fields and paused/enabled state are preserved. It edits the same plan, not a replacement plan. Set condition="" to remove the condition, reminder="" to switch from a fixed reminder to a normal task, cooldownMinutes=0 to remove the cooldown, repeatAt="" or repeatTimes=[] to remove calendar repetition, or intervalMinutes=0 to remove interval repetition; provide a future at when making a one-time plan. A nonempty repeatAt/repeatTimes switches to calendar repetition, a positive intervalMinutes switches to interval repetition; do not combine them. weekdays=[] means every day. Set enabled=true only if the user also wants a paused plan resumed. Inspect the returned upcoming times and exactAlarm warning before saying the change is arranged. reschedule replaces calendar repetition with the single clock from at; use edit to keep or set several clocks.
© wangzan101 · Apache-2.0 · wangzan101/Mika