
telegram-integration
by remingtonspaz
Claude Code Telegram plugin. *Vibe coded! Use at your own risk!*
SKILL.md
name: telegram-integration description: Set up, check status, or use the Telegram integration for Claude Code. Use this skill when the user mentions Telegram, wants to send messages to Telegram, check Telegram status, or troubleshoot Telegram connectivity. This skill should be active for ALL sessions in this project.
Telegram Integration for Claude Code
This skill enables bidirectional communication with Telegram.
Note: If your prompt is just . - that means a Telegram message triggered the auto-enter. Check the [Telegram Messages Received] section in your context for the actual message.
IMPORTANT: Always Forward to Telegram
You MUST use the telegram_send tool to forward your responses to Telegram. The user monitors this session remotely via Telegram and needs to see what you're doing.
Communication Pattern
- First: Send an initial acknowledgment/plan when you receive a message
- During: Send milestone updates for important progress (found the issue, making changes, tests passing, etc.)
- Finally: Send a summary of what was completed
Example Flow
User sends Telegram message: "Fix the bug in auth.js"
Claude sends to Telegram: "Looking at auth.js to fix the bug..."
Claude reads files, investigates
Claude sends to Telegram: "Found it - the token validation is missing a null check"
Claude makes edits
Claude sends to Telegram: "Fixed! Added null check on line 42. Ready for testing."
Keep Telegram messages concise but informative.
Quick Status Check
To verify the integration is working, check the MCP server status:
/mcp
Look for the telegram server in the list. If it shows as connected, the integration is active.
Available Tools
Once the MCP server is running, you have access to these tools:
telegram_send
Send a text message to Telegram.
Use the telegram_send tool with message: "Your message here"
telegram_send_image
Send an image file to Telegram.
Use the telegram_send_image tool with path: "/absolute/path/to/image.png" and optional caption
telegram_check_messages
Manually check for pending messages (messages are also auto-injected on each prompt).
Use the telegram_check_messages tool
How It Works
- Outbound (Claude to Telegram): Call the
telegram_sendortelegram_send_imagetools - Inbound (Telegram to Claude): Messages are automatically injected as context before each prompt via a UserPromptSubmit hook
Installation
If the integration isn't set up yet:
- Install the plugin:
/plugin install telegram - Configure credentials in
.mcp.json - Restart Claude Code to load the MCP server
Troubleshooting
MCP server not showing in /mcp
- Check that
mcp-server/node_modulesexists (runcd mcp-server && npm install) - Verify
.mcp.jsonexists in the project root - Restart Claude Code
Messages not being received
- Check the queue file:
~/.claude-telegram/queue.json - Verify the bot token is valid
- Make sure you're messaging from the authorized Telegram user ID
Send failing
- Check the bot token in
.mcp.json - Verify the user ID is correct
- Check MCP server logs in Claude Code output
Configuration
- Bot credentials:
.mcp.jsonin project root - Hook configuration:
.claude/settings.local.json - Message queue:
~/.claude-telegram/queue.json
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です