Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

telegram-postTelegram post 命令行

Agent Skill

telegram-post 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

857

周安装

35

GitHub Stars

23

下载量

277
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:telegram-post(Telegram post 命令行)
来源仓库:https://github.com/publora/skills
仓库路径:skills/telegram-post
安装命令:
npx skills add https://github.com/publora/skills --skill telegram-post
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/publora/skills --skill telegram-post

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,注意可能触发联网、命令执行或文件读写操作。
  • telegram-post 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Telegram Post

Create and schedule posts to Telegram channels and groups using the Publora MCP server. Supports rich markdown formatting, photos, videos, and message delivery options.

Prerequisites

Plans: Free Starter (15 posts/month), Pro, Premium

Getting Started

  1. Create account at publora.com/register (free)
  2. Create Telegram bot:

- Message @BotFather on Telegram - Send /newbot and follow instructions - Save the bot token

  1. Add bot to your channel:

- Add the bot as administrator to your channel/group - Grant can_post_messages permission

  1. Connect in Publora at Dashboard with bot token and channel name
  2. Get API key at publora.com/settings/api
  3. Configure MCP in Claude Desktop (~/.claude/claude_desktop_config.json):
{
  "mcpServers": {
    "publora": {
      "type": "http",
      "url": "https://mcp.publora.com",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

REST API Fallback

If the MCP server is unavailable or returns errors, use the REST API directly:

Base URL: https://api.publora.com/api/v1

Authentication: Use x-publora-key header (NOT Authorization: Bearer):

# Get your connected platforms
curl -X GET "https://api.publora.com/api/v1/platform-connections" \
  -H "x-publora-key: sk_your_api_key"

# Create a post
curl -X POST "https://api.publora.com/api/v1/create-post" \
  -H "x-publora-key: sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "platforms": ["telegram-1001234567890"],
    "content": "*Announcement*\n\nYour message here",
    "scheduledTime": "2026-03-25T10:00:00Z"
  }'

Platform ID Format: telegram-{chat_id} where {chat_id} is the channel/group numeric ID from /platform-connections.

Example IDs: telegram-1001234567890, telegram--1002345678901

📖 Full API documentation: docs.publora.com

Plan Limits

PlanPosts/monthPrice
Starter15Free
Pro100/account$2.99/account/month
Premium500/account$9.99/account/month

Platform Limits (Bot API)

FeatureLimit
Text message4,096 characters
Media caption1,024 characters (critical limit!)
Images10 MB max, 10 per media group
Image formatsJPEG, PNG, GIF, BMP, WebP
Video size50 MB max (not 4 GB - that's for users!)
Video formatsMP4, MOV, AVI, MKV, WebM
Rate limit30 msg/sec global, 20 msg/min per group

Critical: Bot API has much lower limits than regular Telegram users. Videos over 50 MB and captions over 1,024 characters will fail.

Markdown Formatting

Telegram uses its own markdown flavor with single asterisks for bold:

SyntaxResult
*bold*bold
_italic_*italic*
` code `inline code
`code`Code block
[text](url)hyperlink
> textBlockquote

Note: This differs from standard Markdown where **double asterisks** make bold.

Available Tools

create_post

Create a new Telegram post.

Parameters:

  • platforms: Array with your Telegram connection ID (e.g., ["telegram-1001234567890"])
  • content: Message text (supports markdown)
  • scheduledTime: ISO 8601 datetime (required - for immediate posting, use current time + 1 minute)

get_upload_url

Get presigned URL for media uploads.

list_posts / update_post / delete_post

Manage scheduled and draft posts.

Post Options (via REST API)

Telegram-specific options available via REST API platformSettings.telegram:

OptionDescription
disableNotificationSend silently (no sound)
disableWebPagePreviewNo link preview cards
showCaptionAboveMediaCaption above image/video
protectContentPrevent forwarding/saving

Note: platformSettings is not available via MCP - use REST API for these options.

Examples

Simple Channel Post

Post this to my Telegram channel:
"*Product Update v2.5*

We have shipped the following improvements:
- _Faster API response times_ (avg 45ms)
- New `batch` endpoint for bulk operations

[Read the changelog](https://example.com/changelog)"

Formatted Announcement

Create a Telegram post with this formatting:
"*Important Update*

We're launching our new feature tomorrow at 10 AM UTC.

_What's new:_
- Feature A improvements
- Feature B release

[Read the full announcement](https://example.com/update)"

Post with Image

Post this image to my Telegram channel with caption:
"*New Dashboard Preview*

Here's a sneak peek at our redesigned analytics dashboard."

Important: Caption must be under 1,024 characters when posting with media.

Scheduled Post

Schedule this for tomorrow at 8 AM Moscow time:
"*Good morning!* Here's your daily market summary..."

Important Restrictions

  1. Caption limit is 1,024 chars: When posting with media (images/videos), text is sent as a caption limited to 1,024 characters. Text-only messages allow 4,096 characters.
  2. Video max 50 MB: Bot API limits videos to 50 MB (not 4 GB like regular users). Large videos will fail.
  3. Bot must be admin: Your bot needs administrator role with can_post_messages permission. This is verified at connection time.
  4. No mixed media: A single post cannot contain both images and videos.
  5. Caption overflow: If caption exceeds 1,024 chars on a media post, it's sent as a separate reply message instead of being truncated.

Best Practices

Content

  1. Use formatting: Bold headlines, italic emphasis improves readability
  2. Link previews: Great for articles; disable for cleaner announcements
  3. Emoji usage: Common and expected on Telegram
  4. Post length: No penalty for longer posts on text-only messages

Timing

  • Global audience: Telegram users are worldwide; consider timezone posts
  • Best times: 8-10 AM, 12-2 PM, 7-9 PM in target regions
  • Frequency: Channels can post more frequently (5-10/day)

Engagement

  • Enable comments in channel settings for discussions
  • Use polls for engagement
  • Pin important announcements

Troubleshooting

ErrorCauseSolution
"Bot not admin"Bot missing admin permissionsAdd bot as admin with can_post_messages
"Channel not found"Wrong channel name/IDVerify @channelname or numeric chat ID
MEDIA_CAPTION_TOO_LONGCaption > 1,024 charsShorten caption or use text-only post
"Bad Request: file is too big"File > 50 MBCompress video/image to under 50 MB
"Mixed media not supported"Images + video in same postUse one media type per post

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.91%
按下载量换算99

Claude

28.23%
按下载量换算78

Cursor

19.38%
按下载量换算54

Gemini CLI

9.24%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills