← ClaudeAtlas

willow-remotelisted

Start Willow Discord remote control — phone ↔ Claude Code CLI via Discord REST bridge
rudi193-cmd/willow-2.0 · ★ 2 · AI & Automation · score 61
Install: claude install-skill rudi193-cmd/willow-2.0
# /willow-remote Connects this Claude Code session to Discord so USER can send commands from their phone and see responses. ## What this does 1. Starts `scripts/discord_remote.py run` as a background daemon (if not already running) 2. Posts a "Willow remote online" message to Discord 3. Sets a persistent Monitor on the bridge log — fires immediately when an inbound Discord message arrives, no polling delay 4. On each notification: reads Grove `hanuman` for the command, processes it, posts the response back so the bridge forwards it to Discord ## Steps ### 1. Start the bridge daemon Tell the user to run in a separate terminal (daemon cannot persist inside bwrap/kart): ``` cd ~/github/willow-2.0 && source ~/github/.willow/env && python3 scripts/discord_remote.py run --interval 15 ``` Or check if it is already running: `python3 scripts/discord_remote.py status`. ### 2. Announce online Post to Grove `hanuman` as `hanuman`: ``` grove_send_message(channel_name="hanuman", content="willow-remote online — listening for Discord commands", sender="hanuman") ``` The bridge will forward this to Discord within 15 seconds. ### 3. Set the Monitor ```python Monitor( description="Discord inbound commands", command="tail -n 0 -f $WILLOW_HOME/discord_remote.log | grep --line-buffered 'inbound Discord'", persistent=True, ) ``` This fires a notification each time a new inbound Discord message lands — reaction time is bounded by the bridge poll interval (15s), not a separat