Install
openclaw skills install telegram-md-uploaderUploads 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.
openclaw skills install telegram-md-uploaderThis skill enables you to send markdown files directly from your workspace to a Telegram chat.
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'
Run the script directly from your terminal:
python3 scripts/upload.py <file_path.md>
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.
.md extension.