Skip to content
Back to skills

Telegram Action Notifier

ASecurity

Notify the user through Telegram or Discord when a Codex or Claude Code task cannot continue without their approval, answer, choice, credential, login, or other concrete action. Do not use for optional next steps or ordinary completed work.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 21, 2026
ai-agentsgonode

Works with

  • claude code

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add dzotyara/ai-forge --skill telegram-action-notifier --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Telegram Action Notifier?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Telegram Action Notifier
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dzotyara-telegram-action-notifier/badge)](https://www.skillsdirectory.com/skills/dzotyara-telegram-action-notifier)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: telegram-action-notifier
description: Notify the user through Telegram or Discord when a Codex or Claude Code task cannot continue without their approval, answer, choice, credential, login, or other concrete action. Do not use for optional next steps or ordinary completed work.
---

# Telegram Action Notifier

Use this skill only when the current task is blocked on a concrete user action.

Before ending the turn:

1. Exhaust safe, in-scope work that does not require the user.
2. Ask for only the minimum action needed to continue.
3. Start the final user-facing request with exactly `ACTION_REQUIRED:`. Keep the action and reason concise.

The bundled `Stop` hook detects that marker and sends the request to the configured destination: Telegram, Discord, or both. Approval prompts use the bundled `PermissionRequest` hook. In smart mode, the bridge waits for the user to answer in the app before notifying them.

Do not use the marker for optional suggestions, progress updates, routine handoffs, or a completed task. Never include secrets in the message.

## Claude Code: replies from Telegram

In Claude Code the user can answer in the session's Telegram topic. Their message wakes the session as a system reminder starting with `User message from Telegram:` (in Russian: `Сообщение пользователя из Telegram:`) or `Telegram:` (fixed markers from the bridge; a `Telegram:` line is a reply to a message or a button press). Treat it as the user's next prompt and reply normally; that reply is posted back to the same topic. In Codex, Telegram is notification-only: wait for the user in the agent session.

To post into a topic yourself (for example from an alerts session), run `node <this skill>/scripts/telegram-action-notifier.mjs post --to "<your session title>" "<text>"`. See the plugin README for `--buttons`, `--reply-to` and `edit`.

## Sending files to the owner

When the owner asks for a file ("send me the file", "send it to Discord", a video, a screenshot, a voice sample), do not paste its contents into the chat. Run:

```
node <this skill>/scripts/telegram-action-notifier.mjs send-file [--caption "<text>"] <path>...
```

For example: `send-file --caption "Render v3" ./out/render.mp4 ./out/contact-sheet.jpg`. The files go to this session's Telegram topic and/or Discord channel, whichever the owner chose in "Where to send"; there is nothing to configure and no way to pick the destination per call. Name every file: directories are refused, and so are missing or empty files (then nothing is sent). Images (`.jpg`, `.png`) arrive as images, `.mp4` as a playable video, `.mp3` and `.m4a` as audio, anything else as a document. The caption is optional and goes with the first file.

Limits: Telegram takes 50 MiB per file (a photo 10 MiB, bigger images go as a document); Discord takes 20 MiB per file, 50 or 100 MiB on a server with Boost level 2 or 3. A file over the limit of one destination is not sent there, and the command says so. Read its output and tell the owner exactly what it says: which destination got which file, and which did not, with the reason. The command exits with 1 unless every file reached every destination. Never report a file as sent when it printed `NOT sent`; if a file is too big, offer to shrink or split it. Use `--to "<session title>"` only to send on behalf of another session, and `--json` for machine-readable output.

If notification delivery is not configured, still ask the user in the agent session and mention that the plugin's `configure.mjs` must be run on the device.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml207 B
  • assets/discord-avatar.png18.5 KB
  • assets/discord-banner.png32.7 KB
  • assets/discord-server-icon.png19.9 KB
  • scripts/lib/bridge.mjs97.9 KB
  • scripts/lib/codex-hooks.mjs1.6 KB
  • scripts/lib/common.mjs11.6 KB
  • scripts/lib/devices.mjs7.7 KB
  • scripts/lib/discord.mjs25.8 KB
  • scripts/lib/format.mjs11.4 KB
  • scripts/lib/grants.mjs4.9 KB
  • scripts/lib/i18n.mjs1.2 KB
  • scripts/lib/presence.mjs5.7 KB
  • scripts/lib/questions.mjs9.6 KB
  • scripts/lib/rpc.mjs5.7 KB
  • scripts/lib/settings.html48.1 KB
  • scripts/lib/ui.mjs21.1 KB
  • scripts/lib/workers.mjs22.7 KB
  • scripts/telegram-action-notifier.mjs36.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.