collection of hooks
This one hook "ecosystem" (re)starts your claude with --dangerously-skip-permissions in tmux session, pastes your prompt of choice into a new session and takes it from there.
Ideal for orchestrator based multi-agent workflows.
Pre-requisites:
CC runs in tmux session
tested on ubuntu 22.04 LTS
For usage:
-
adapt
PROJECT_DIRin1.1 putclaude-hooks/claude_auto_loop.sh
Line 4 in b574874
claude_auto_loop.shin your /home/ or /root/ folder. -
adapt
https://github.com/seqwut/claude-hooks/blob/cadc3d3b51d8f9bbb60239f025e7bf2a0ace5d90/.claude/settings.json#L7
2.1 Add hooks snippet to your settings.json -
adapt
3.1 putstop_blocker.pyin .claude/hooks/
3.2 chmod +xstop_blocker.py
sudo bash claude_auto_loop.sh
touch /tmp/claude_stop_now or CTRL+C when script is attempting to restart claude when you stopped it.