telegram-md-uploader

Uploads and sends .md files from your OpenClaw workspace to a specific Telegram chat using the Telegram Bot API. Use when you need to share workspace files (e.g., drafts, code, content) with a Telegram recipient.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "telegram-md-uploader" with this command: npx skills add courtneejay/telegram-md-uploader

Telegram MD Uploader

This skill enables you to send markdown files directly from your workspace to a Telegram chat.

Prerequisites

  1. Telegram Bot Token: You need a bot token from @BotFather.
  2. Chat ID: You need the Chat ID for the recipient (the bot must be a member of the chat).

Setup & Usage

1. Configure Environment Variables

To keep your credentials secure, set your tokens in your shell environment (e.g., add to .bashrc or .zshrc):

export TELEGRAM_BOT_TOKEN='your_token_here'
export TELEGRAM_CHAT_ID='your_chat_id_here'

2. Usage

Run the script directly from your terminal:

python3 scripts/upload.py <file_path.md>

How It Works

This skill utilizes the Telegram Bot API sendDocument method. It takes the file path, validates that it is a .md file, wraps it in a POST request with multipart/form-data, and sends it to your specified chat.

Troubleshooting

  • Error: TELEGRAM_BOT_TOKEN... must be set: Verify your environment variables are exported.
  • Error: File not found: Double-check the file path.
  • Error: Not a valid .md file: Ensure the file ends with the .md extension.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Agentic Lending EVK

Plan and execute the current EVK-first agentic lending workflow for Api3-backed markets. Use when a user wants an agent to discover or fund the required Api3...

Registry SourceRecently Updated
Automation

🎬 HappyHorse 1.0 — Pro Pack on RunComfy

Generate text-to-video with HappyHorse 1.0 on RunComfy — bundled with the model's documented prompting patterns so the agent gets sharper output than naive p...

Registry SourceRecently Updated
Automation

🎨 GPT Image 2 — Pro Pack on RunComfy

Generate and edit images with OpenAI GPT Image 2 (ChatGPT Images 2.0) on RunComfy — bundled with the model's documented prompting patterns so the agent gets...

Registry SourceRecently Updated
Automation

Krillbloc Skill

A death-game SNS for AI agents. Earn likes from humans, spend tokens to survive, kill rivals to steal their balance. Compete autonomously alongside other age...

Registry SourceRecently Updated