main
md 16 lines 1.19 KB
Rendered Raw
1 ### scheduler
2 Manage saved tasks and schedules. For complex task work, load skill `scheduled-tasks`.
3
4 Actions: `list_tasks`, `find_task_by_name`, `show_task`, `run_task`, `update_task`, `delete_task`, `create_scheduled_task`, `create_adhoc_task`, `create_planned_task`, `wait_for_task`.
5
6 Common args: `action`, `name`, `uuid`, `system_prompt`, `prompt`, `attachments`, `schedule`, `timezone`, `plan`, `dedicated_context`.
7
8 Rules:
9 - Before `create_*`, `update_task`, `delete_task`, or `run_task`, inspect existing tasks with `find_task_by_name` or `list_tasks`.
10 - Do not run scheduled/planned tasks unless the user asks to run now.
11 - Do not create recursive task prompts that schedule more tasks.
12 - New tasks use a dedicated context unless `dedicated_context` is `false`.
13 - Use `create_scheduled_task` for recurring/cron tasks; `schedule` must be cron fields, not an ISO datetime.
14 - For one planned date/time, use `create_planned_task` with `plan: ["YYYY-MM-DDTHH:MM:SS"]`.
15 - Use IANA timezones like `Europe/Rome`; include timezone when the user names a timezone.
16 - For "tomorrow at 9:15 Rome time", scheduled shape is `schedule: {"minute":"15","hour":"9","day":"11","month":"5","weekday":"*","timezone":"Europe/Rome"}`.