vityah1

Claude Tg Bot — Development skill for Claude Code

Development community

Drive Claude Code sessions from Telegram: answer its interactive questions with buttons, on Linux or WSL.

How to install Claude Tg Bot

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vityah1/claude-tg-bot and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Tg Bot does

Drive Claude Code sessions from Telegram: answer its interactive questions with buttons, on Linux or WSL.

Alternatives in Development

  • Research Codebase — You are tasked with conducting comprehensive research across the codebase to answer user questions by spawning 10k ★
  • Telegram — Show Telegram bot status and manage global session 1.3k ★
  • Claude Code Zh Cn — Claude Code CLI 简体中文本地化 / 汉化插件;支持 macOS、Linux、WSL、Windows 与新版 native,一行安装,更新后自动修复 721 ★

README

claude-tg-bot

A Telegram dispatcher for Claude Code sessions, running on Linux or WSL.

From your phone it lets you see the list of sessions, start new ones in any directory, bring closed ones back, send prompts and `/`-commands, and — above all — **answer Claude's interactive questions** with buttons.

An overview — what it is for and how it compares with the built-in remote control, SSH from the phone and API-wrapper bots — is on the project page: **[vhworx.com/claude-tg-bot](https://vhworx.com/claude-tg-bot)**.

Quick start

You need Linux or WSL with a systemd user session, and [Claude Code](https://claude.com/product/claude-code) installed and signed in. The installer handles everything else.

git clone  claude-tg-bot && cd claude-tg-bot
./install.sh

It checks the prerequisites, builds the virtualenv, and asks for the bot token from [@BotFather](https://t.me/BotFather) — validating it on the spot, so a mistyped token is caught in two seconds rather than five minutes later in the log. Then, instead of sending you off to look up your numeric Telegram id, it asks you to message the bot and reads the id off that message: one action that also proves you can reach the bot. Finally it installs the two systemd user units — the session host first, then the bot — starts them, and confirms the whole chain works by sending you a message in Telegram.

Run it again whenever you like — it is also the update path (`git pull && ./install.sh`), and it never overwrites a working `.env` without asking. `./install.sh --doctor` inspects an existing install and changes nothing.

**Windows** is not supported natively: the bot and its session host run as systemd user units, which Windows does not have. Install WSL (`wsl --install` in PowerShell) and run everything inside it. **macOS** runs the bot fine, but has no autostart template yet — install by hand, as below.

How it works

The built-in channels (`--remote-control`, `--channels`) are blocked by a corpor