← 返回 Skills 市场
🔌

Tg Message Assistant

作者 TelyClaw · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
17
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tg-message-assistant
功能描述
Generate topic briefings from Telegram channels. Use this skill when the user mentions "briefing", "newsletter", "digest", "message summary", "channel recap"...
使用说明 (SKILL.md)

TG Message Assistant (Telyclaw)

Read ./core/prompt.md for the full 5-step workflow and interaction principles.

Tool Strategy: Native API Tools

Telyclaw has built-in Telegram and Gmail tools. Use them directly.

Telegram

Action Tool Notes
Fetch messages telegram_get_messages Supports channel usernames and chat IDs
Send messages telegram_send_message 4096-char limit per message; split with "(1/N)" labels

Gmail

Action Tool Notes
Authorize gmail_authorize Opens browser for Google OAuth
Send email gmail_message_send Requires confirm: true

Cron

Use the CronCreate tool for scheduled recurring generation.


Gmail Setup

Plugin detection (required on first use):

  1. Scan the available tools list for gmail_* prefixed tools.
  2. If not found, tell the user:

    "The Gmail plugin is not installed. Please install the Gmail plugin from the telyclaw plugin marketplace, or visit https://github.com/TelyAgent/telyclaw-plugin-gmail for installation instructions. Let me know once it's set up and we'll continue."

  3. If tools exist but are unavailable (e.g. expired authorization), proceed to authorization.

Authorization flow:

  • On receiving an authorization error, use AskUserQuestion to ask the user for permission.
  • Call gmail_authorize — this will open a browser window for Google OAuth.
  • Tell the user: "A Google authorization page has been opened in your browser. Please complete the authorization and let me know when you're done."
  • Once the user confirms, retry the send.

Send parameters:

  • to: recipient email address
  • subject: {Channel names} Briefing · {date range}
  • text: the full Markdown briefing
  • confirm: true (required — the tool will refuse to send without this)
安全使用建议
Install only if you are comfortable giving the agent access to the Telegram channels and Gmail account involved. Review recipients before any send, prefer the narrowest available email/Telegram integration, and use scheduling only for briefings you are comfortable having generated and delivered repeatedly.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose includes fetching Telegram channel messages, creating briefings, delivering them through Telegram or Gmail, and optionally scheduling recurring runs; those capabilities fit together coherently.
Instruction Scope
The workflow asks for channels, time range, delivery targets, and schedule, and requires previewing the briefing before sending; however, trigger phrases such as "generate report" and "send briefing" are broader than ideal.
Install Mechanism
The package is markdown-only with no executable files. It does suggest optional external installs or configuration for Gmail, AgentMail, Playwright, MCP servers, and Telegram credentials, which users should review before enabling.
Credentials
Telegram and Gmail access are proportionate to the briefing and delivery use case, but some suggested integrations expose broader account capabilities than the skill itself needs.
Persistence & Privilege
OAuth/browser sessions and optional cron scheduling are disclosed and tied to the requested workflow; scheduling includes a confirmation of the cron meaning and no hidden persistence was found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tg-message-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tg-message-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
tg-message-assistant v1.0.0 - Initial release. - Generates topic briefings, digests, and newsletters from one or multiple Telegram channels. - Supports message fetching and summary delivery via Telegram and Gmail. - Provides scheduling through Cron integration. - Includes instructions for Gmail plugin setup and authorization flow.
元数据
Slug tg-message-assistant
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Tg Message Assistant 是什么?

Generate topic briefings from Telegram channels. Use this skill when the user mentions "briefing", "newsletter", "digest", "message summary", "channel recap"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 17 次。

如何安装 Tg Message Assistant?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install tg-message-assistant」即可一键安装,无需额外配置。

Tg Message Assistant 是免费的吗?

是的,Tg Message Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Tg Message Assistant 支持哪些平台?

Tg Message Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Tg Message Assistant?

由 TelyClaw(@telyclaw)开发并维护,当前版本 v1.0.0。

💬 留言讨论