/schedule-list — Show scheduled entries
Purpose
Display a formatted summary of all entries currently registered in the schedule: block of onebrain.yml. Both skill-mode entries (skill: /daily) and command-mode entries (command: onebrain + args: [...]) are shown side by side, with installed-on-disk status from launchd.
Skill flow
Step 1: Read onebrain.yml
Read onebrain.yml from the vault root. Locate the schedule: block.
If onebrain.yml does not exist or has no schedule: block, or the block is empty:
No scheduled entries found. → Run /schedule-add to set one up.
Stop.
Step 2: Fetch status
Read the schedule: block from onebrain.yml directly to get the cron/at expression and skill/command field for each entry.
Optionally run from the vault root:
onebrain schedule register --status
This emits plain text (not JSON). Each line is one entry with the [cron] or [once] tag, the cron/at value, and either skill: /name (k=v, k2=v2) (skill mode with optional args) or cmd: binary arg1 arg2 (command mode with positional argv). The status prefix reports what the OS scheduler says (CLI v3.4.20+, all platforms): ✓ = installed and active, ⚠ = artifact present but the scheduler is not running it, ✗ = not installed. (Pre-v3.4.20 CLIs reported file existence only.)
The CLI does not track last-run, next-run, or last-status — that detail is in [logs_folder]/scheduler/YYYY/MM/.
If onebrain schedule register --status is unavailable or fails (pre-v3.4.20 CLI): fall back to a macOS-only plist-existence check in ~/Library/LaunchAgents/ — filename com.onebrain.<labelSafe>.plist, labelSafe = binary name (command mode) or skill name with the leading slash stripped, non-[a-zA-Z0-9-] replaced by -. Note the caveats in the report: command-mode labels on current CLIs carry an args/cron/at discriminator this fallback cannot compute, and file existence is not activation — recommend upgrading the CLI.
Step 3: Format output
Print the schedule table:
📅 Scheduled entries: ✓ [cron] 0 9 * * * skill: /daily ✓ [cron] 0 17 * * 5 skill: /weekly ✓ [cron] 0 12 * * 0 skill: /recap ✓ [cron] 0 9 * * * skill: /distill (topic=this-week) ✓ [cron] 0 3 * * 0 cmd: onebrain search reindex ✓ [cron] 0 5 * * * cmd: rsync -av /vault /backup ✓ [once] 2026-05-13 14:30 skill: /reminder ✗ [cron] 0 18 * * 5 skill: /weekly (not installed — re-run /schedule-add)
Column layout:
- Installed icon:
✓= active in the OS scheduler,⚠= present but inactive,✗= not installed - Tag:
[cron](recurring) or[once](one-shot at fires once then auto-deletes) - Cron or at expression (left-padded to align across the table)
- Entry target:
- Skill mode:
skill: <skill-name>with optional(key=value, key2=value2)whenargs:is a map - Command mode:
cmd: <binary> <arg1> <arg2>with positional argv joined by spaces
- Skill mode:
- Installed status note when
✗(not installed) or⚠(inactive)
Detailed run history (stdout, stderr, error files) lives in [logs_folder]/scheduler/YYYY/MM/.
Step 4: Surface errors
If ✗ entries are found:
- Append a hint line below the table:
→ Run /schedule-add to re-register missing entries(or for command-mode entries,→ Re-run onebrain schedule register to re-emit the scheduler artifacts)
For error log detail:
- Append:
→ See [logs_folder]/scheduler/YYYY/MM/YYYY-MM-DD-{label}.err.md for failure detailswhere{label}is the skill name or command binary name.
Note: auto-pause-on-failure (⏸ paused after 3 consecutive failures) is not yet implemented in the CLI. The marker file mechanism is planned for a future release. /doctor currently flags 3+ consecutive .err.md files as CRITICAL — use that for failure monitoring.
Step 5: Footer
After the table, append:
→ /schedule-add add a new scheduled entry (skill mode wizard) → /schedule-once schedule a one-shot reminder → /schedule-remove remove an entry
For command-mode entries: note that the /schedule-add wizard targets skill mode only — command entries are added by editing onebrain.yml directly and running onebrain schedule register.
Edge cases
- No entries at all — handled in Step 1; early exit with helpful message.
- Status command unavailable — graceful fallback to onebrain.yml data only (Step 2).
- Partial status — some entries return status, others don't; show what's available and mark unknowns as
(unknown). - Cron alignment — pad cron columns to the longest expression in the list for readable alignment.
- Mixed skill + command — display both interleaved per original
schedule:order; do not sort or group by mode.


