Elect a single leader among multiple instances. Only one instance runs cron jobs or processes queues. Automatic failover when leader dies.
Install
npx skills add dadbodgeoff/drift --skill leader-electionnpx skills add dadbodgeoff/drift --skill leader-election -a claude-code -gnpx skills add dadbodgeoff/drift --skill leader-election -a codex -ggemini skills install https://github.com/dadbodgeoff/drift.git --path skills/leader-electiongh skill install dadbodgeoff/drift leader-electiongit clone --depth 1 https://github.com/dadbodgeoff/drift /tmp/dadbodgeoff__drift
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/dadbodgeoff__drift/skills/leader-election ~/.claude/skills/leader-election # Claude Code
cp -R /tmp/dadbodgeoff__drift/skills/leader-election ~/.agents/skills/leader-election # Codex, Cursor, Gemini CLI, Copilot, OpenCode