Use when user needs to set up Telegram CLI for the first time, authenticate or log in to a Telegram account, re-authenticate a session, or configure 1Password credentials for Telegram access.
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.
Configures VPN and dedicated connections like Direct Connect, ExpressRoute, Interconnect for secure on-premises to AWS, Azure, GCP, OCI hybrid networking.
One-time setup to authenticate personal Telegram accounts via MTProto.
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.
op --versionClaude Automation| Profile | 1Password Item | Item UUID | Phone |
|---|---|---|---|
eon | Telegram API - EonLabsOperations | iqwxow2iidycaethycub7agfmm | +1 (CA) |
missterryli | Telegram API - missterryli (CN) | dk456cs3v2fjilppernryoro5a | +86 (CN) |
/usr/bin/env bash << 'VERIFY_EOF'
op item get "iqwxow2iidycaethycub7agfmm" --vault "Claude Automation" --fields "App ID" 2>&1
op item get "dk456cs3v2fjilppernryoro5a" --vault "Claude Automation" --fields "App ID" 2>&1
VERIFY_EOF
Each profile requires a one-time interactive auth. The user must run directly:
/usr/bin/env bash << 'AUTH_EOF'
SCRIPT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/tlg}/scripts/tg-cli.py"
# Auth eon profile
uv run --python 3.13 "$SCRIPT" -p eon whoami
# Auth missterryli profile
uv run --python 3.13 "$SCRIPT" -p missterryli whoami
AUTH_EOF
Prompts for:
/usr/bin/env bash << 'VERIFY_EOF'
SCRIPT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/tlg}/scripts/tg-cli.py"
uv run --python 3.13 "$SCRIPT" -p eon whoami
uv run --python 3.13 "$SCRIPT" -p missterryli whoami
VERIFY_EOF
| File | Purpose |
|---|---|
~/.local/share/telethon/eon.session | EonLabsOperations MTProto session |
~/.local/share/telethon/missterryli.session | missterryli MTProto session |
To re-authenticate (e.g., after revoking session in Telegram > Settings > Devices):
rm ~/.local/share/telethon/<profile>.session
# Then re-run whoami for that profile
Edit the PROFILES dict in scripts/tg-cli.py:
PROFILES: dict[str, str] = {
"eon": "iqwxow2iidycaethycub7agfmm",
"missterryli": "dk456cs3v2fjilppernryoro5a",
"newprofile": "<1password-item-uuid>",
}
Then store API credentials in 1Password vault Claude Automation with fields App ID and App API Hash.
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.