Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By yannelliv0.1.0MITIn 1 marketplace
Send Claude Code notifications and approve or deny tool requests from Telegram.
Claude loads one when your task matches it, or you run it by name.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Telegram chat IDchat_id
Private chat or group that receives notifications.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Telegram bot tokenbot_token
Token issued by BotFather for a dedicated bot.
SensitivestringRequired
Allowed Telegram user IDsallowed_user_ids
Comma-separated numeric user IDs allowed to decide requests.
stringRequired
Approval timeoutapproval_timeout
Seconds to wait for a Telegram decision (15-300).
number15–300default 120
Telegram notifications and remote tool approvals for Claude Code and Codex. The plugin uses lifecycle hooks and the Telegram Bot API directly, with Python 3 and no third-party packages.
Notification events, including permission, idle, and input prompts.Notification hook event.PermissionRequest events with Allow and Deny buttons. A valid Telegram response returns the host's documented hook decision JSON.Create a dedicated bot with BotFather.
Open a private chat with the bot and send /start.
Get your numeric IDs by calling getUpdates locally. Keep the token out of shell history where possible:
read -rsp "Bot token: " TELEGRAM_BOT_TOKEN; echo
curl -sS "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/getUpdates" | jq
unset TELEGRAM_BOT_TOKEN
Use message.chat.id as the chat ID and message.from.id as an allowed user ID.
Use a private chat unless a group is necessary. The plugin restricts decisions by chat, message, one-time callback token, and the configured user IDs.
Install and configure the plugin:
/plugin marketplace add yannelli/agents
/plugin install telegram-approvals@yannelli-agents
/plugin enable telegram-approvals@yannelli-agents
The plugin installs disabled because it runs external hooks. Claude prompts for the bot token, chat ID, allowed user IDs, and timeout when the plugin is enabled. The token is marked sensitive and goes to the platform's secure plugin credential storage. Review and trust the bundled hooks when prompted.
For non-interactive installation, use claude plugin install ... --config key=value from a terminal. Avoid putting bot_token directly on a shared command line.
Add this repository as a marketplace, install the plugin from the Codex plugin browser, then export these variables in the environment that starts Codex:
export TELEGRAM_BOT_TOKEN="..."
export TELEGRAM_CHAT_ID="123456789"
export TELEGRAM_ALLOWED_USER_IDS="123456789"
export TELEGRAM_APPROVAL_TIMEOUT="120" # optional, 15-300 seconds
Codex skips plugin hooks until you review and trust their definitions. Codex currently has no plugin userConfig credential prompt, so its hook reads environment variables.
getUpdates is a single-consumer queue, and webhooks are mutually exclusive with polling.State is stored under ~/.cache/telegram-approvals/ (or $XDG_CACHE_HOME). It contains a Telegram update offset and a lock directory, partitioned by a truncated hash of the bot token.
The implementation follows the current official documentation:
npx claudepluginhub yannelli/agents --plugin telegram-approvalsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground