Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

docs(skill): teach pi-coding-agent about `schedule: at <iso>`

Louis Beaumontb7bdabf0a273
diff --git a/crates/screenpipe-core/assets/skills/screenpipe-cli/SKILL.md b/crates/screenpipe-core/assets/skills/screenpipe-cli/SKILL.md
index 0c438ed98..47adb59a7 100644
--- a/crates/screenpipe-core/assets/skills/screenpipe-cli/SKILL.md
+++ b/crates/screenpipe-core/assets/skills/screenpipe-cli/SKILL.md
@@ -57,7 +57,27 @@ Your prompt instructions here. The AI agent executes this on schedule.
3. Output summary / send notification
```
-**Schedule syntax**: `every 30m`, `every 1h`, `every day at 9am`, `every monday at 9am`, or cron: `*/30 * * * *`, `0 9 * * *`
+**Schedule syntax**:
+- Recurring: `every 30m`, `every 1h`, `every day at 9am`, `every monday at 9am`, or cron `*/30 * * * *`, `0 9 * * *`
+- One-off (fires once, then auto-disables): `at <RFC3339 timestamp>` — e.g. `at 2026-04-29T17:00:00-07:00`
+- Manual only: `manual` (run via `pipe run` or API trigger)
+
+**One-off scheduled tasks** (use this when the user says "in 2 days", "tomorrow at 5pm", "next Monday", "remind me to check X later", or any other future-time deferred action):
+
+```yaml
+---
+schedule: at 2026-04-29T17:00:00-07:00
+enabled: true
+preset: auto
+---
+
+Check Gmail for a reply from Mark about the HIPAA evidence pack.
+If found, summarize and send a notification. If not, note it.
+```
+
+Resolve "in 2 days" / "tomorrow 5pm" / "next Monday" against the user's local timezone (which is in the context header), format as RFC3339 with offset, and put it in the `at <iso>` schedule.
+
+When fired, the pipe auto-disables itself — `enabled: false` is set in the local-overrides file. The pipe.md stays on disk as history. Users see upcoming one-offs in the chat sidebar's "upcoming" section with a countdown ("in 2d 4h"). To cancel before fire time: `pipe disable <name>`. To re-run after firing: `pipe enable <name>` then `pipe run <name>` (or set a new `at <iso>`).
**Config fields**: `schedule`, `enabled` (bool), `preset` (string or array — e.g. `"Oai"` or `["Primary", "Fallback"]`), `history` (bool — include previous output as context)