agentsclimarketplace

Telegram session

Skill aAAaqwq/AGI-Super-Team/skills/telegram-session

Create/update Telethon sessionFrom its SKILL.md

Install
npx -y skills add aAAaqwq/AGI-Super-Team --skill telegram-session

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.5 KB, 395 tokens by cl100k_base, as published. Nobody here has run it

Infra Telegram Session

Managing Telegram session via tg-auth

When to use

  • "telegram is not working"
  • "SessionExpiredError" / "AuthKeyUnregisteredError"
  • "check telegram session"
  • First launch on a new device

Tool

$TG_TOOLS_PATH/tools/tg_auth.py

How to execute

Check session

python3 $TG_TOOLS_PATH/tools/tg_auth.py check

Shows: name, username, phone + last 10 chats.

QR Login (new session)

# QR + wait for scan (2 min timeout)
python3 $TG_TOOLS_PATH/tools/tg_auth.py qr

# Only show QR (without waiting)
python3 $TG_TOOLS_PATH/tools/tg_auth.py qr --no-wait

On phone: Settings > Devices > Link Desktop Device > scan QR.

List sessions

python3 $TG_TOOLS_PATH/tools/tg_auth.py sessions

Shows all .session files in the sessions directory.

Custom session

python3 $TG_TOOLS_PATH/tools/tg_auth.py --session /path/to/session check

Paths

WhatPath
Default session$SALES_PATH/telegram/sessions/telegram_session.session
ENV$SALES_PATH/.env

Troubleshooting

ProblemSolution
SessionExpiredErrortg-auth qr -- create a new session
AuthKeyUnregisteredErrortg-auth qr -- re-login
"Not authorized"tg-auth qr
FloodWaitErrorWait the specified time
QR timeoutRun tg-auth qr again

Related skills

  • telegram-send -- sending messages
  • telegram-check -- checking replies

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.