Agent Skills: Send Telegram Message

Send Telegram message as your personal account via MTProto. Use when user wants to send a message on Telegram, text someone on Telegram, or message a Telegram contact. TRIGGERS - telegram send, send telegram, text on telegram, message telegram, telegram message

UncategorizedID: terrylica/cc-skills/send-message

Install this agent skill to your local

pnpm dlx add-skill https://github.com/terrylica/cc-skills/tree/HEAD/plugins/tlg/skills/send-message

Skill Files

Browse the full folder contents for send-message.

Download Skill

Loading file tree…

plugins/tlg/skills/send-message/SKILL.md

Skill Metadata

Name
send-message
Description
"Send Telegram message as your personal account via MTProto. Use when user wants to send a message on Telegram, text someone on Telegram, or message a Telegram contact. TRIGGERS - telegram send, send telegram, text on telegram, message telegram, telegram message"

Send Telegram Message

Send a message from your personal Telegram account (not a bot) via MTProto.

Preflight

Before sending, verify:

  1. Session exists at ~/.local/share/telethon/<profile>.session
    • If missing, run /tlg:setup first
  2. 1Password CLI available: op --version

Usage

/usr/bin/env bash << 'SEND_EOF'
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/tlg}"

# Default profile (eon)
uv run --python 3.13 "$PLUGIN_DIR/scripts/send.py" send @username "Hello"

# By chat ID
uv run --python 3.13 "$PLUGIN_DIR/scripts/send.py" send 2124832490 "Hello"

# Specific profile
uv run --python 3.13 "$PLUGIN_DIR/scripts/send.py" -p missterryli send @username "Hello"
SEND_EOF

Profiles

| Profile | Account | User ID | | --------------- | ------------------ | ---------- | | eon (default) | @EonLabsOperations | 90417581 | | missterryli | @missterryli | 2124832490 |

Parameters

| Parameter | Type | Description | | -------------- | ---------- | ----------------------------------------------------------- | | -p/--profile | string | Account profile (default: eon) | | recipient | string/int | Username (@user), phone (+1234567890), or chat ID (integer) | | message | string | Message text (cannot be empty) |

Error Handling

| Error | Cause | Fix | | ------------------------- | ------------------- | ----------------------------- | | Unknown profile | Invalid -p value | Use eon or missterryli | | Cannot find any entity | Bad username/ID | Verify with dialogs command | | message cannot be empty | Empty string passed | Provide message text |