agentsclimarketplace

Telegram official

Skill uvwt/agentdock/skill-sources/telegram-official

Send Dock notifications through Telegram's official Bot API using only Python standard library and api.telegram.org.From its SKILL.md

Install
npx -y skills add uvwt/agentdock --skill telegram-official

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

3 things to look at

  • reads credentialsReads from 3 credential sources: `TELEGRAM_BOT_TOKEN` and 2 more.
  • runs commandsInstructs the agent to run 1 command, including `printf '%s' '{"skill_action":"<动作>"}' | python3 run.py`.
  • fetches URLsInstructs the agent to fetch 1 URL, including https://api.telegram.org.

SKILL.md

1.5 KB, 420 tokens by cl100k_base, as published. Nobody here has run it

Telegram Official Bot API Skill

通过 Telegram 官方 Bot API 给 Dock 发送通知。

能力

  • send:发送普通文本消息。
  • event:发送格式化的 Dock 事件通知。
  • updates:读取精简后的 getUpdates 输出,用于发现 chat_id。
  • health:调用 getMe 验证 token 和官方 API 连通性。

安全

  • 只访问 https://api.telegram.org。
  • 不登录 Telegram 个人号,不读取用户私聊历史。
  • 不依赖第三方 Telegram SDK、MCP server 或代理服务。
  • 不接受 token 作为 action input 或 CLI 参数。
  • token 只从 TELEGRAM_BOT_TOKEN / TG_BOT_TOKEN / .env 读取。

辅助脚本执行

Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。

printf '%s' '{"skill_action":"<动作>"}' | python3 run.py

输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。

动作用途
sendSend a text message to the configured Telegram chat.
eventSend a formatted Dock event notification.
updatesRead compact getUpdates output to discover chat ids.
healthCall getMe to verify token and official Bot API connectivity.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.