Claude now works my night shift, here's how I set up scheduled autonomous coding

LLMs 319 points 65 comments 3 days ago

https://preview.redd.it/h9nyra9tiydg1.png?width=1086&format=png&auto=webp&s=8426c3c8f7d339ff6c2ae7c35550418823330f57 https://preview.redd.it/6fyx5lwviydg1.png?width=3366&format=png&auto=webp&s=64953a9287f3b3d00045be61cf262ce8630eed9b Just shipped "Dreamer" for Claude Matrix (my Claude Code plugin you can find on https://claudeonrails.dev ). What it does: Schedule Claude Code tasks with cron or natural language ("every weekday at 9am"), and it runs autonomously via launchd/crontab. By default runs in git worktrees Instead of touching your working branch, it: 1. Creates an isolated worktree 2. Spins up a new branch 3. Runs your Claude prompt 4. Auto-commits changes 5. Pushes and cleans up Last night I scheduled "review yesterday's PRs and update the changelog", woke up to a commit waiting for me. Example use cases I'm running: \- Daily: "Run tests, fix any failures, commit" \- Weekly: "Find dead code and unnecessary/outdated dependencies" \- Nightly: "Review today's commits, update docs if needed" It's basically autonomous Claude with a schedule. Still early but it's already changing how I work. Curious to find new use cases!

More from r/ClaudeAI