🦀 ClawHub
Night Shift
by @vardhineediganesh877-ui
Queue coding plans during the day, approve them, execute later in isolated worktrees, and inspect reports. Background agentic execution requires an explicitl...
⚡ When to Use
💡 Examples
Example 1 — queue a feature for later
User intent: > Add OAuth login to the app, but do it overnight.Night Shift flow:
1. plan add add OAuth login to the app
2. inspect generated phases
3. plan approve #
4. later: good night
Example 2 — multiple plans in one batch
User intent: > Queue three fixes now, run them all tonight.Flow: 1. add three plans 2. set priorities as needed 3. approve the safe ones 4. run Night Shift 5. read the morning report
Example 3 — dry run before execution
User intent: > Show me what would run tonight.Flow:
night shift dry-runExample 4 — retry a failed plan
User intent: > Retry the failed parser plan.Flow:
night shift retry #Example 5 — inspect before merge
User intent: > Show me what Night Shift changed before we merge.Flow:
night shift inspect #night shift merge # when satisfied⚙️ Configuration
Required
data/night-shift/Optional but useful
cursor executionclaude-code executionStrongly recommended
📋 Tips & Best Practices
“No approved plans found”
Approve at least one plan before starting execution.“Night Shift already running”
A lock file or active run exists. Inspect status before forcing a restart.“Worktree creation failed”
Check:“Phase keeps failing”
“Notifications are not sent”
Check notification env vars:TELEGRAM_BOT_TOKENNIGHT_SHIFT_CHAT_ID or TELEGRAM_CHAT_ID“Cursor / Claude execution not found”
Set the expected binary path explicitly or install the required tool:CURSOR_CLIclaude-code“Execution stopped midway”
Inspect checkpoints, report output, logs, and plan status. Resume/retry instead of starting from scratch blindly.TERMINAL
clawhub install night-shift