Scheduled Tasks
Productivityscheduled-tasksScheduled Tasks is an Agent Skill for productivity published in the agent0ai/agent-zero repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use for complex Agent Zero scheduler work, including creating, updating, deleting, running, waiting for, timezone-correcting, or auditing scheduled, planned, and adhoc tasks.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/agent0ai/agent-zero/blob/HEAD/skills/scheduled-tasks/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/scheduled-tasks, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Scheduler Tasks
Use the scheduler tool to manage saved tasks. Always inspect existing tasks before creating, updating, deleting, or running one.
Actions
list_tasks: optionalstate[],type[],next_run_within,next_run_afterfind_task_by_name:nameshow_task:uuidrun_task:uuid, optionalcontextupdate_task:uuid, optionalname,system_prompt,prompt,attachments[],schedule,timezone,plan[],state,dedicated_contextdelete_task:uuidcreate_scheduled_task:name,system_prompt,prompt, optionalattachments[],schedule,timezone,dedicated_contextcreate_adhoc_task:name,system_prompt,prompt, optionalattachments[],dedicated_contextcreate_planned_task:name,system_prompt,prompt, optionalattachments[],plan[],dedicated_contextwait_for_task:uuid
Schedule Fields
Schedules use cron-like fields. Do not put ISO datetimes into schedule.
minutehourdaymonthweekdaytimezone
Use IANA timezones such as Europe/Rome. Omit timezone to use the current user timezone. Planned task datetimes go in plan, not schedule, and should be ISO strings such as 2026-05-09T18:25:00.
For one future reminder, prefer create_planned_task with:
{
"action": "create_planned_task",
"name": "drink water",
"prompt": "Remind the user to drink water.",
"plan": ["2026-05-11T09:15:00"],
"dedicated_context": true
}
For a recurring or cron-shaped scheduled task, use create_scheduled_task with:
{
"action": "create_scheduled_task",
"name": "weekday stretch",
"prompt": "Remind the user to stretch.",
"schedule": {
"minute": "15",
"hour": "9",
"day": "*",
"month": "*",
"weekday": "1-5",
"timezone": "Europe/Rome"
},
"dedicated_context": true
}
Safety
- Do not create recursive task prompts that schedule more tasks.
- Do not run a task just because it is scheduled; run only if the user asks.
- Created tasks use a dedicated context unless
dedicated_contextis explicitlyfalse. - For destructive operations, identify the task by UUID after lookup.
Example
{
"tool_name": "scheduler",
"tool_args": {
"action": "find_task_by_name",
"name": "daily backup"
}
}