
seedprod/claude-code-telegram
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Connect Claude Code to Telegram for a personal AI assistant
개요
A personal AI assistant you can message from anywhere via Telegram. You know how Claude Code runs in your terminal and can read files, run commands, search the web, etc? This lets you talk to it from your phone via Telegram instead of being tied to your computer. Some things you can do: - "What's on my calendar today?" - "Search the web for the latest news on X" - "Read my notes and summarize them" - "Send me a daily briefing every morning at 7am" It also works the other way - Claude can message YOU via Telegram (notifications when tasks finish, scheduled briefings, alerts, etc). Out of the box, Claude Code can read files and search the web. But to make it truly YOUR assistant, create skills that give it access to your stuff: - Google Calendar (read your schedule) - Gmail (read-only access to emails) - Notes app (Obsidian, Apple Notes, etc.) - Weather for your location - Whatever else you want The skills/ folder has examples to get you started.
README
원문 README의 일부입니다. 원문 보기.
claude-code-telegram
A personal AI assistant you can message from anywhere via Telegram.
What is this?
You know how Claude Code runs in your terminal and can read files, run commands, search the web, etc? This lets you talk to it from your phone via Telegram instead of being tied to your computer.
Text your bot → it runs Claude Code → sends back the response.
Some things you can do:
- “What’s on my calendar today?”
- “Search the web for the latest news on X”
- “Read my notes and summarize them”
- “Send me a daily briefing every morning at 7am”
It also works the other way - Claude can message YOU via Telegram (notifications when tasks finish, scheduled briefings, alerts, etc).
The key is skills. Out of the box, Claude Code can read files and search the web. But to make it truly YOUR assistant, create skills that give it access to your stuff:
- Google Calendar (read your schedule)
- Gmail (read-only access to emails)
- Notes app (Obsidian, Apple Notes, etc.)
- Weather for your location
- Whatever else you want
The skills/ folder has examples to get you started.
Quick Start
Open Claude Code and paste:
https://github.com/seedprod/claude-code-telegram - help me set this up
Claude will clone the repo and walk you through the entire setup.
Claude will walk you through:
- Creating a Telegram bot with @BotFather
- Getting your user ID from @userinfobot
- Configuring the
.envfile - Installing the telegram-sender skill globally
- Setting up launchd to run the bot continuously
- (Optional) Setting up scheduled skills like daily briefings
What’s Included
| File | Purpose |
|---|---|
telegram-bot.py |
Receives messages from Telegram → sends to Claude Code |
skills/telegram-sender/ |
Lets Claude send messages TO you |
skills/daily-brief/ |
Example scheduled skill using telegram-sender |
launchd/ |
Templates for running bot + scheduled skills |
How It Works
Inbound (you → Claude):
Telegram → telegram-bot.py → claude -p "message" → response → Telegram
Outbound (Claude → you):
Claude skill → telegram-sender/send.sh → Telegram API → you
Manual Setup
If you prefer to set up manually instead of having Claude guide you:
1. Prerequisites
- Claude Code CLI installed and authenticated
- Python 3.10+
2. Create Telegram Bot
- Message @BotFather on Telegram
- Send
/newbotand follow prompts - Copy the bot token
3. Get Your User ID
- Message @userinfobot on Telegram
- Copy your user ID
4. Configure
cp .env.example .env
# Edit .env with your token and user ID
5. Install Dependencies
pip install -r requirements.txt
6. Install Skill Globally
cp -r skills/telegram-sender ~/.claude/skills/
7. Run Bot (Manual)
python telegram-bot.py
8. Run Bot (launchd - Recommended)
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add seedprod/claude-code-telegram