routines

Solid

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'.

AI & Automation 11 stars 6 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
phnx-labs
Repository
phnx-labs/agents-cli
Created
3 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category