Skip to content
Back to skills

Telegram Session

ASecurity

Create/update Telethon session

  • 121 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentspythonbash

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add aAAaqwq/AGI-Super-Skills --skill telegram-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Telegram Session?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Telegram Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aaaaqwq-telegram-session/badge)](https://www.skillsdirectory.com/skills/aaaaqwq-telegram-session)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: telegram-session
description: Create/update Telethon session
---
# 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

```bash
python3 $TG_TOOLS_PATH/tools/tg_auth.py check
```

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

### QR Login (new session)

```bash
# 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

```bash
python3 $TG_TOOLS_PATH/tools/tg_auth.py sessions
```

Shows all `.session` files in the sessions directory.

### Custom session

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

## Paths

| What | Path |
|------|------|
| Default session | `$SALES_PATH/telegram/sessions/telegram_session.session` |
| ENV | `$SALES_PATH/.env` |

## Troubleshooting

| Problem | Solution |
|---------|----------|
| SessionExpiredError | `tg-auth qr` -- create a new session |
| AuthKeyUnregisteredError | `tg-auth qr` -- re-login |
| "Not authorized" | `tg-auth qr` |
| FloodWaitError | Wait the specified time |
| QR timeout | Run `tg-auth qr` again |

## Related skills

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.