# Built with Claude Code: a Discord channel where every thread is its own Claude Code session, so I can run it from my phone — retained record

> Retained reddit record from reddit:ClaudeAI.

Canonical: https://highsignal.app/data/records/8768eb21ac8a95ab

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:ClaudeAI)  published 2026-09-14 15:13 ingested 2026-09-15 02:36

[original source ↗](https://www.reddit.com/r/ClaudeAI/comments/1wg6755/built_with_claude_code_a_discord_channel_where/)

## retained text



```
Hey everyone! I wanted to keep handing Claude Code work while away from my desk, so I use Discord on my phone as the remote. The official Discord plugin got me most of the way, but replies sometimes never arrived and everything shared one conversation. So I rebuilt it around Discord threads: **discord-threads**. Free and open source.

# What it does:

* Post in the channel and it opens a thread. That thread *is* the conversation, with its own Claude Code session and its own memory
* Open a second thread and you have a second, fully separate task running next to the first. Bug fix in one, refactor in another, question in a third
* Each thread can point at a different repo (/cwd) and run a different model (/model), like several terminals open on your phone
* Come back a day later, scroll up, the whole history is right there. Reply and it picks up where you left off
* Replies always land in the right thread, even if the box restarts mid-task
* Only your own Discord account can talk to it

# How Claude Code built it:

Almost all of it. I described the two failure modes (lost replies, one shared session), and Claude Code read the official plugin source, proposed moving the Discord connection out of the model's hands into a small always-on daemon, wrote the SQLite turn ledger that makes delivery exactly-once, the systemd and launchd units, the tests and the docs. My job was testing it on my own box, pushing back on the design, and deciding what to cut. The install guide is itself written for an agent: you paste one line into Claude Code and it does the setup.

# Setup:

    Follow the agent.md in https://github.com/killerz3/claude-discord-threads and install and setup

Repo: [https://github.com/killerz3/claude-discord-threads](https://github.com/killerz3/claude-discord-threads)

Would love to hear how you use Claude Code away from your desk!
```



document fetched 2026-09-15 00:23 · canonical https://reddit.com/r/ClaudeAI/comments/1wg6755/built_with_claude_code_a_discord_channel_where
