Telegram Bot to Manage Headless Claude Code Channels via tmux

Claude Code recently added an experimental Channels feature that lets you chat with Claude directly in Telegram. The catch: it requires a persistent terminal session. If you run Claude Code on a headless server, SSH-ing in just to restart it gets old fast.
Developer Yury Gagarin built a small Telegram bot to manage Claude Code Channels sessions on a remote Linux server. The bot (Python, stdlib only — zero external dependencies) wraps Claude Code in a tmux session and exposes Telegram commands:
/launch– start Claude Code Channels in a new tmux session/stop– kill the tmux session/restart– stop then launch/status– check if Claude is running/logs– tail recent output
The bot includes a watchdog that notifies you (or auto-restarts) if the Claude process dies. It’s designed to run persistently on a home server, controlled entirely from your phone via Telegram.
Repo: github.com/gagarinyury/claude-channels-launcher
Who it’s for: developers who run Claude Code on a headless Linux server and want to manage it from Telegram without SSH.
📖 Read the full source: r/ClaudeAI
👀 See Also

Reflect MCP Server Implements Reflexion Paper for Persistent Coding Agent Memory
A developer implemented the Reflexion paper (Shinn et al., NeurIPS 2023) as an MCP server to give local coding agents persistent memory of their mistakes. The system uses regex-based pattern matching on error messages and stores lessons in SQLite with FTS5.

Femtobot: Efficient Rust Agent for Low-Resource Environments
Femtobot is a lightweight Rust-based AI agent designed to run efficiently on low-resource machines, such as older Raspberry Pis, through a ~10MB binary without large runtime dependencies.

Savecraft MCP Server Provides Claude with Accurate Magic: The Gathering Data
Savecraft is an open-source MCP server that parses MTG Arena Player.log locally, syncs game state, and gives Claude access to 12 expert reference modules built on real Magic: The Gathering data. The tool prevents Claude from hallucinating card names and rules by providing access to actual Arena data, draft recommendations from 17Lands, and the complete Scryfall database.

mindpm: A Free MCP Server for Persistent Project Memory with Claude
mindpm is a free, open-source MCP server that provides Claude with a local SQLite database to track tasks, decisions, notes, and session summaries across conversations. Setup takes 30 seconds with the command: claude mcp add mindpm -e MINDPM_DB_PATH=~/.mindpm/memory.db -- npx -y mindpm.