Settings

Theme

HN; Scheduled autonomous Claude agents using shell scripts and launchd

github.com

2 points by raulriera a month ago · 1 comment

Reader

raulrieraOP a month ago

Each agent is a .sh file containing a prompt and a launchd plist for scheduling. They interact with the Claude Code CLI, generate local artifacts like logs and reports, and send a notification upon completion. A meta-agent then analyzes a goals file and recent logs to propose changes on a branch.

This setup eliminates the need for frameworks or orchestration layers, relying solely on shell scripts, launchd, and the claude CLI. I wanted a flexible tool that I could modify without being constrained by someone else’s abstractions. The obvious trade-off is that it’s macOS-only and designed for single-machine use, but for my specific needs, this works perfectly.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection