telegram-personal
- Repo stars 0
- Author updated Live
- Author repo telegram-personal
- Domain
- Engineering
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @000alen · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: telegram-personal
description: Access a personal Telegram account's messages and chats via MTProto (Telethon). Use when asked t…
category: engineering
runtime: no special runtime
---
# telegram-personal output preview
## PART A: Task fit
- Use case: Access a personal Telegram account's messages and chats via MTProto (Telethon). Use when asked to: search Telegram messages across all chats, read DMs or group history, list conversations, check unread messages, export chat history, download media from Telegram, or any task requiring access to a user's full Telegram account (not just bot-visible messages)..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Setup / CLI: scripts/tg.py / Chat identifiers” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Access a personal Telegram account's messages and chats via MTProto (Telethon). Use when asked to: search Telegram messages across all chats, read DMs or group history, list conversations, check unread messages, export chat history, download media from Telegram, or any task requiring access to a user's full Telegram account (not just bot-visible messages).”.
- **02** When the source has headings, the agent prioritizes “Setup / CLI: scripts/tg.py / Chat identifiers” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source mentions slash commands such as `/path`; use them first when your agent supports command triggers.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands.
Start with a small task and check whether the result follows “Setup / CLI: scripts/tg.py / Chat identifiers”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: telegram-personal
description: Access a personal Telegram account's messages and chats via MTProto (Telethon). Use when asked t…
category: engineering
source: 000alen/telegram-personal
---
# telegram-personal
## When to use
- Access a personal Telegram account's messages and chats via MTProto (Telethon). Use when asked to: search Telegram mes…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Setup / CLI: scripts/tg.py / Chat identifiers” and keep inference separate from source facts.
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "telegram-personal" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Setup / CLI: scripts/tg.py / Chat identifiers
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files, run shell commands | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} telegram-personal
Read-only access to a personal Telegram account via Telethon (MTProto API).
Setup
One-time: bash scripts/setup.sh (installs Telethon, runs interactive auth).
Requires api_id + api_hash from https://my.telegram.org → API Development.
Credentials stored at ~/.config/telegram-personal/credentials.json (mode 600).
Session file at ~/.config/telegram-personal/session.session.
CLI: scripts/tg.py
# List all conversations
tg dialogs [--limit N]
# Read messages from a chat (username, phone, or numeric ID)
tg read <chat> [--limit 20]
# Search across all chats (or one specific chat)
tg search "query" [--chat <name>] [--limit 20]
# Show unread DMs/groups with previews
tg unread [--limit 30]
# Download media from a message
tg download <chat> <msg_id> [-o dir]
# Export chat to markdown
tg export <chat> [--since 7d] [--limit 500] [-o file.md]
# Get info about a chat or yourself
tg info [chat]
Chat identifiers
Any of: @username, +phone, numeric ID (from tg dialogs), or chat title.
Safety
- Read-only — no send/delete commands
- Session file = full account access. Never expose it
- Telethon auto-handles FloodWait (sleeps on rate limits)
- Global search iterates dialogs (slower); prefer
--chatwhen possible
Integration with OpenClaw
From a skill or heartbeat, call via exec:
cd /path/to/telegram-personal && uv run tg search "keyword" --limit 10
cd /path/to/telegram-personal && uv run tg unread
Decide Fit First
Design Intent
How To Use It
Boundaries And Review