overnight

overnight queues tasks for Claude Code to run unattended. Define your work in a YAML file, walk away, and come back to results.

  • DAG dependencies β€” express task ordering with depends_on; independent tasks run in parallel
  • Crash recovery β€” checkpoints to disk and resumes where it left off
  • Security policies β€” tool whitelisting, path sandboxing, and deny patterns for sensitive files
  • Notifications β€” ntfy.sh push or webhook when the batch finishes
  • Verification β€” optional second pass to validate each task’s output
tasks:
  - id: validate
    prompt: |
      Add input validation to all public API endpoints in src/api/.

  - id: test-validation
    prompt: |
      Write unit tests for the validation added to src/api/.
    depends_on:
      - validate