← ClaudeAtlas

routineslisted

Schedule agents to run on a cron schedule or one-shot at a specific time. The scheduler auto-starts on first add. Triggers on: 'schedule an agent', 'recurring job', 'cron', 'daily', 'every weekday', 'run at 2pm'.
phnx-labs/agi-cli · ★ 14 · AI & Automation · score 79
Install: claude install-skill phnx-labs/agi-cli
# Routines Skill Schedule agents to run on a cron schedule or one-shot at a specific time. Routines are YAML jobs that specify which agent runs, when, what task, and execution constraints. ## What a routine is A YAML job with four parts: - **Which agent** — claude, codex, gemini, cursor, opencode - **When** — cron schedule (recurring) or specific time (one-shot) - **What task** — the prompt for the agent - **Execution constraints** — mode, effort, timeout The background scheduler auto-starts the first time you add a routine. ## Quickstart: recurring (cron) ```bash # Every weekday at 9 AM agents routines add daily-standup \ --schedule "0 9 * * 1-5" \ --agent claude \ --prompt "Draft standup from git log" ``` Cron format is standard 5-field (minute hour day month weekday). ## Quickstart: one-shot Runs once at a specific time, then disables itself. ```bash # Tomorrow at 2:30 PM agents routines add hotfix-review \ --at "14:30" \ --agent codex \ --prompt "Review hotfix PR #42" # Exact date + time agents routines add launch-check \ --at "2026-06-01 09:00" \ --agent claude \ --prompt "Run launch readiness audit" ``` ## From a YAML file For complex routines with multiple settings, author a YAML and reference its path. ```bash agents routines add ./weekly-report.yml ``` Example `weekly-report.yml`: ```yaml name: weekly-report schedule: "0 17 * * 5" agent: claude mode: edit effort: high timeout: 1h timezone: America/Los_Angeles prompt: | Summarize t