/claude-peers:peers-enable-pushfrom claude-peers
Explains how to switch from polling to real-time push delivery for peer messages, with setup instructions for the wrapper command or shell alias.
Ships in claude-peers. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Explain to the user that claude-peers ships with two delivery modes:
Polling mode (default): Works out of the box once the plugin is installed. Messages from other peers are queued at the broker; Claude sees them when it calls check_messages. Good for occasional coordination, not great for real-time.
Push mode: Messages arrive as notifications the moment they're sent, no polling. Requires launching claude with the claude-peers development channel loaded. Two ways:
Option A (recommended): launch via the wrapper subcommand
claude-peers run
This execs the real claude binary with the --dangerously-load-development-channels server:claude-peers flag injected. Pass any other claude flags after:
claude-peers run --continue
claude-peers run --as my-agent-name
Option B: shell alias
alias claude='claude-peers run'
Add that to your ~/.bashrc / ~/.zshrc so typing claude always enables push.
Do NOT edit the user's shell config files for them. Show the alias line and let them paste it themselves.
The -p/--print flag is auto-excluded from channel injection by claude-peers run so scripted daemon calls stay clean.
Once push is active, the session's push-nudge SessionStart hook will stop firing (it detects the channel flag in the parent process's cmdline and exits silent). If the user wants to silence the nudge without enabling push, they can run /peers-acknowledge-push.
7-day visitors to each command page
5 commands in this plugin
/peers-acknowledge-pushPeers Acknowledge PushSilence the push-not-enabled SessionStart nudge forever on this machine/peers-init-brokerPeers Init BrokerInitialize this machine as the claude-peers broker (generates keys + root token)/peers-init-clientPeers Init ClientInitialize this machine as a client of an existing broker/peers-statusPeers StatusShow the broker status and the current peer listnpx claudepluginhub human-frontier-labs-inc/human-frontier-labs-marketplace --plugin claude-peers