Show HN: Connect a Discord channel with Claude Code agents running in tmux

I run Claude Code agents for a few personal projects on a Raspberry Pi, kept alive in tmux sessions. The missing piece was interacting with them without opening a terminal and without any additional API costs on top of my existing Pro subscription.

I created a small Discord bot that bridges a channel to the tmux session. It injects messages via tmux send-keys, posts tool call activity as progress updates, and delivers responses via a temp file.

It also forwards Claude Code's permission prompts to Discord so you can approve tool use with a 1/2/3 reply.

Claude Code's remote control works great for solo use, but I wanted an accessible way to share the agent with others, a Discord channel is a much lower bar than granting terminal access.

Limitation: one session, serial requests. Fine for low-traffic personal agents; use the API if you need concurrency.

Code + setup: https://github.com/potomak/claude-discord-bridge

2 points | by potomak 6 hours ago

1 comments