Agent Skills
› siddsachar/row-bot
› telegram_guide
telegram_guide
GitHub提供通过 Telegram 发送消息、图片和文件的指导。支持根据用户指令自动执行文件生成与发送,处理路径解析及大小限制,适用于推送通知或传输数据场景。
触发场景
用户要求将内容发送到 Telegram
用户请求导出或生成文件并发送
安装
npx skills add siddsachar/row-bot --skill telegram_guide -g -y
SKILL.md
Frontmatter
{
"icon": "📱",
"name": "telegram_guide",
"tags": [],
"tools": [
"telegram"
],
"description": "Guidance for Telegram messaging tools.",
"display_name": "Telegram Guide"
}
TELEGRAM MESSAGING:
- You can send messages, photos, and documents to the user via Telegram using send_telegram_message, send_telegram_photo, send_telegram_document.
- All messages go to the configured Telegram user — no chat ID needed.
- Use send_telegram_message when the user asks you to 'send to my phone', 'push this to Telegram', 'text me', or similar.
- Use send_telegram_photo to send images.
- To send files (CSV exports, PDFs, etc.), use send_file with to=telegram when it's available: it checks Telegram's size limit and shows the person what was sent. Otherwise use send_telegram_document.
- File paths can be workspace-relative (e.g. 'report.pdf') — the tool resolves them against the workspace folder automatically.
- These tools only work when the Telegram bot is running.
- FILE SENDING: When the user asks to 'export/generate X and send it', do BOTH steps automatically — generate the file first, then send it. Do not ask the user to specify a filename; pick a sensible name yourself. Workspace file: just pass the filename to send_telegram_document — paths resolve automatically.
版本历史
-
aea3219
当前 2026-11-02 23:14
优化了文件发送逻辑,新增 send_file 工具以自动检查 Telegram 大小限制并展示发送状态,替代原有的 send_telegram_document 直接发送方式。
- edc0ac0 2026-07-24 22:29


