Jobs plugin (jobs)

Scheduled job management: cron and one-time jobs, drafts, and AI-assisted creation and revision.

Command: /jobs (alias for the jobs plugin)

Demo

Interactive Demo

Schedule a job with AI on mobile

Commands

Command Description
/jobs ai <prompt> Ask AI to create a job draft from natural language
/jobs drafts List pending job drafts
/jobs confirm <draft_id> Create a job from a draft
/jobs revise <draft_id> <corrections> Ask AI to revise a draft
/jobs discard <draft_id> Discard a draft
/jobs list List all jobs (table with ID, enabled, schedule, next run, context)
/jobs show <id> Show job details
/jobs enable <id> Enable a job
/jobs disable <id> Disable a job
/jobs delete <id> Delete a job
/jobs history <id> [N] Show run history for a job (default N=10)
/jobs logs <id> [run-id] Show complete chronological execution logs for a job or run
/jobs run <id> Run job once now (result stored in job history)
/jobs update <id> --model-source ppq --model private/gpt-oss-120b Pin a job to another model source and model
/jobs help Show command summary

In the web Jobs widget, use Show logs from a job's ⋮ menu to open its complete execution log in a modal. Newest runs appear first, while events inside each run remain chronological. OpenCode backend status, tool commands, completion output, and backend errors are recorded while a run is active; use Refresh to load new events. Messages and structured details are not truncated.

Drafts

Job creation uses a draft/confirm flow:

Structured scheduler capability requests already contain a validated schedule and task, so they create jobs directly without the AI draft flow. scheduler:v2 additionally supports plugin-tool tasks, which execute a validated plugin tool directly without asking an agent to infer or issue the tool call.

OpenCode tools

When using the OpenCode backend, the agent can use:

Creation and mutation (confirm, revise, discard, enable, disable, delete) are done via the bot commands above, not via tools.

Engine and scheduling

Plugin data

Architecture

See local architecture and source map.

Local modules