Use when user wants to send or upload a file, photo, video, voice note, or document on Telegram via their personal account.
From tlgnpx claudepluginhub terrylica/cc-skills --plugin tlgThis skill is limited to using the following tools:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Generates FastAPI project templates with async routes, dependency injection, Pydantic schemas, repository patterns, middleware, and config for PostgreSQL/MongoDB backends.
Send files, photos, videos, voice notes, and documents from your personal Telegram account.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
~/.local/share/telethon/<profile>.session
/tlg:setup first/usr/bin/env bash << 'EOF'
SCRIPT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/tlg}/scripts/tg-cli.py"
# Send a photo/image (auto-detected)
uv run --python 3.13 "$SCRIPT" send-file @username /path/to/photo.jpg
# Send with caption
uv run --python 3.13 "$SCRIPT" send-file 2124832490 /path/to/image.png -c "Check this out"
# Send as voice note (.ogg recommended)
uv run --python 3.13 "$SCRIPT" send-file @username /path/to/audio.ogg --voice
# Send as round video note
uv run --python 3.13 "$SCRIPT" send-file @username /path/to/clip.mp4 --video-note
# Force send as document (no preview)
uv run --python 3.13 "$SCRIPT" send-file @username /path/to/image.png --document
# Send with specific profile
uv run --python 3.13 "$SCRIPT" -p missterryli send-file @username /path/to/file.pdf
EOF
| Parameter | Type | Description |
|---|---|---|
| recipient | string/int | Username, phone, or chat ID |
| file | path | Local file path |
-c/--caption | string | Caption text |
--voice | flag | Send as voice note |
--video-note | flag | Send as round video |
--document | flag | Force document (no media preview) |
Telethon auto-detects media type by extension. Override with flags.
| Type | Extensions | Notes |
|---|---|---|
| Photo | jpg, png, webp | Compressed by Telegram |
| Video | mp4, mov, avi | Use --document to skip compression |
| Audio | mp3, m4a, flac | Sent as audio player |
| Voice | ogg (opus) | Requires --voice flag |
| Document | pdf, zip, any | Sent as file attachment |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.