By kojott
Get Telegram notifications when Claude Code finishes a task or needs attention. Know when to come back and assign new work.
npx claudepluginhub kojott/claude-notify-telegram --plugin claude-notify-telegramGet Telegram notifications when Claude Code finishes a task or needs attention. Know when to come back and assign new work.
When Claude finishes a task (Stop event):
✅ my-project — task finished
┌─────────────────────────────────────────────────┐
│ I've implemented the authentication module and │
│ added tests. All 12 tests pass. │
└─────────────────────────────────────────────────┘
When Claude needs attention (Notification event):
🔔 my-project — notification
Claude is waiting for permission to run: npm test
/newbot and follow the prompts123456:ABC-DEF1234...)https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates"chat":{"id": in the response — that number is your chat IDOption A: Config file (recommended)
mkdir -p ~/.config/claude-notify-telegram
cat > ~/.config/claude-notify-telegram/config << 'EOF'
TELEGRAM_BOT_TOKEN="your-bot-token"
TELEGRAM_CHAT_ID="your-chat-id"
EOF
chmod 600 ~/.config/claude-notify-telegram/config
Option B: Environment variables
Add to your shell profile (~/.bashrc, ~/.zshrc, etc.):
export CLAUDE_NOTIFY_TG_TOKEN="your-bot-token"
export CLAUDE_NOTIFY_TG_CHAT_ID="your-chat-id"
The plugin-specific CLAUDE_NOTIFY_TG_* names avoid conflicts if you already use TELEGRAM_BOT_TOKEN for something else. The generic names (TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID) also work as a fallback.
From a local path:
claude plugin marketplace add /path/to/claude-notify-telegram
claude plugin install claude-notify-telegram
Or from a git URL:
claude plugin marketplace add https://github.com/user/claude-notify-telegram
claude plugin install claude-notify-telegram
jq — install with apt install jq / brew install jqcurl — pre-installed on most systemsThe plugin registers hooks for Claude Code's Stop and Notification events. When triggered, it extracts the relevant message and project name, then sends a formatted message to your Telegram bot.
If no credentials are configured, the plugin silently does nothing. Notification failures never block Claude.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Intelligent prompt optimization using skill-based architecture. Enriches vague prompts with research-based clarifying questions before Claude Code executes them
Persistent memory system for Claude Code - seamlessly preserve context across sessions