telegram-integration
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.
When & Why to Use This Skill
This Claude skill enables seamless bidirectional communication between Claude Code and Telegram. It allows developers to remotely monitor coding progress, receive real-time milestone updates, and interact with their development environment through the Telegram messaging platform, ensuring constant visibility into long-running tasks.
Use Cases
- Remote Monitoring: Track the progress of long-running debugging or code generation tasks via Telegram while away from your workstation.
- Real-time Milestone Updates: Receive instant notifications when Claude completes specific steps, such as finding a bug, finishing a file edit, or passing a test suite.
- Mobile Interaction: Send commands or context to Claude Code directly from a mobile device to trigger background operations or check project status.
- Visual Feedback: Use the image-sending tool to receive screenshots of UI changes or visual logs directly in your Telegram chat for quick review.
| 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