routineslisted
Install: claude install-skill phnx-labs/.agents
# 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, antigravity, 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 \
--project-anchor agents-cli \
--cwd apps/cli \
--prompt "Draft standup from git log"
```
## Execution context and readiness
Use one execution project plus an optional portable working directory:
```bash
agents routines add daily-standup \
--project-anchor agents-cli \
--cwd apps/cli \
--schedule "0 9 * * 1-5" \
--agent claude \
--prompt "Draft standup from git log"
```
- `--project-anchor` selects the singular execution project. The existing
repeatable `--project` flag is grouping metadata only.
- A relative `--cwd` resolves against that project's configured path. If a
Linear-imported project has no checkout binding, or there is no project, it
resolves against the execution device user's home.
- `repo` is Git/cloud/webhook identity, not a local checkout path.
- Agent and w