Schedule

From fritzprix/libr-agent · View interactive version

Schedule is an AI agent skill from the GitHub repository fritzprix/libr-agent. Create and manage app-wide global scheduled tasks in LibrAgent (cron-based). Use when automation must outlive the current session, run recurring background cron jobs independently of any session, or coordinate multi-agent scheduled workflows. NEVER use for in-session time reminders (use loop), or fo

How to use this skill

Skill file

Schedule

Global scheduled tasks wake an assistant on a cron cadence without requiring the current session to stay open. They run app-wide, are not bound to any conversation session, and do not retain session context.

Priority & UX Policy

When a user in an active chat session asks to schedule a time-based reminder or future check, their natural expectation is that it will happen within the context of their current conversation.

Therefore:

1. Proceed with loop immediately (do not ask first).

2. Ask only when the request looks like always-on automation that should survive this chat (recurring wall-clock work with no tie to this conversation's task/context), and a wrong choice would strand the user. Then explain once and confirm:

When NOT to use this

Do NOT use schedule (createScheduledTask) for:

Routing decision

Is the wake driven by a completion event (process / kanban / webhook / watcher)?
  Yes -> call-me-back
  No  -> Should the run stay bound to the current session?
           Yes / Unclear -> loop (scheduled_task__scheduleCallback) [DEFAULT]
           Explicit global -> schedule (scheduled_task__createScheduledTask)

Recurring vs one-shot is not the primary split for time-based work. Global tasks require cron. Session-bound clock wakes use loop; event completion uses call-me-back.

Workflow

1. Confirm global scheduling is appropriate

2. Create the task

Single global task (default path):

3. Operate tasks deliberately

4. Respect governance limits

5. Keep identity clean

Teamwork integration (optional)

When the workspace already uses the scheduled teamwork substrate:

  1. If the governing root session has not prepared the teamwork artifact directory yet, stop and use teamwork to call agent__prepareTeamworkWorkspace() first.
  2. Read .libragent/teamwork.json if present.
  3. Confirm executionSubstrate.mode is "scheduled" when the user expects recurring teamwork automation driven by scheduled tasks.
  4. Ensure teamwork scaffold files (agents.md, MISSION.md, coordination files) are current before a scheduled coordinator wakes up.
  5. Treat the app-local teamwork artifact directory as orchestration SSOT; use workspaceOverride only when a run must target a different implementation workspace.

If the user only wants one global cron job with no multi-agent constitution, skip teamwork entirely.

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.