u/jl1990cm

[Pi-scheduler] I built a Pi extension that lets coding agents schedule future prompts, reminders, and shell commands

[Pi-scheduler] I built a Pi extension that lets coding agents schedule future prompts, reminders, and shell commands

I built pi-scheduler, a small extension for Pi that gives coding agents a clock.

It lets the agent schedule future actions like:

  • reminders / notifications
  • delayed shell commands
  • self-waking prompts
  • CI/CD polling loops

An use case example: an agent creates a GitLab/GitHub pipeline, sees it's still running, and schedules itself to check again later. When it wakes up, it can inspect the result, debug failures, or schedule another check if it's still pending.

Example:

Check this pipeline again in 3 minutes. If it passed, report success. 
If it failed, inspect logs and fix it. If it is still running, schedule 
another check.

Install:

pi install npm:@jl1990/pi-scheduler

Links:

It currently uses in-process timers, so it's best for live Pi sessions. If Pi is closed, missed tasks run when the session loads again. Future work could add cron / systemd / daemon-backed scheduling.

u/jl1990cm — 12 hours ago