telegram-session

Create/update Telethon session

33 stars

Best use case

telegram-session is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create/update Telethon session

Teams using telegram-session should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/telegram-session/SKILL.md --create-dirs "https://raw.githubusercontent.com/aAAaqwq/AGI-Super-Team/main/skills/telegram-session/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/telegram-session/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How telegram-session Compares

Feature / Agenttelegram-sessionStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create/update Telethon session

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

Related Skills

telegram-send

33
from aAAaqwq/AGI-Super-Team

Telegram DM sending from CSV, rate limiting, idempotency

telegram-scraper-run

33
from aAAaqwq/AGI-Super-Team

Automatic Telegram scraping

telegram-scrape

33
from aAAaqwq/AGI-Super-Team

Search Telegram channels, read posts, ad contacts

telegram-push

33
from aAAaqwq/AGI-Super-Team

通过独立 Telegram Bot 向群聊或私聊推送消息,适合不依赖 OpenClaw channel 配置的通知场景。

telegram-inbound-run

33
from aAAaqwq/AGI-Super-Team

Automatic inbound Telegram message processing

telegram-groups

33
from aAAaqwq/AGI-Super-Team

Posting, members, Telegram group management

telegram-contacts

33
from aAAaqwq/AGI-Super-Team

Export/import/lookup Telegram contacts

telegram-check

33
from aAAaqwq/AGI-Super-Team

Check inbound Telegram messages

telegram-automation

33
from aAAaqwq/AGI-Super-Team

Automate Telegram tasks via Rube MCP (Composio): send messages, manage chats, share photos/documents, and handle bot commands. Always search tools first for current schemas.

session-logs

33
from aAAaqwq/AGI-Super-Team

Search and analyze your own session logs (older/parent conversations) using jq.

wemp-operator

33
from aAAaqwq/AGI-Super-Team

> 微信公众号全功能运营——草稿/发布/评论/用户/素材/群发/统计/菜单/二维码 API 封装

Content & Documentation

zsxq-smart-publish

33
from aAAaqwq/AGI-Super-Team

Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.