telegram-doctor
10
总安装量
7
周安装量
#29976
全站排名
安装命令
npx skills add https://github.com/lycfyi/community-agent-plugin --skill telegram-doctor
Agent 安装分布
gemini-cli
4
antigravity
4
opencode
4
claude-code
3
github-copilot
3
Skill 文档
Telegram Doctor
Diagnose configuration and connectivity issues with Telegram integration.
When to Use
- User says “Telegram not working” or “diagnose Telegram”
- User reports connection or authentication errors
- User says “check Telegram setup” or “troubleshoot Telegram”
- Before asking for help with Telegram issues
- When sync or other Telegram commands fail unexpectedly
How to Execute
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_doctor.py
What It Checks
- Environment file –
.envexists in cwd - API ID –
TELEGRAM_API_IDis set and numeric - API hash –
TELEGRAM_API_HASHis set - Session string –
TELEGRAM_SESSIONis set and valid length - Authentication – Credentials can connect to Telegram API
- Config file –
config/agents.yamlexists and is valid YAML - Group configured – A default group is selected
- Data directory –
data/is writable
Output
Displays results with:
- â for passed checks
- â for failed checks
For each failure, provides a suggested fix that the user can run manually.
Important: This tool only diagnoses issues – it does not modify any files.
Example Output
telegram-doctor results:
â Environment file (.env found)
â API ID (12345678)
â API hash (abc123...xyz9)
â Session string (Session appears too short)
â Config file (config/agents.yaml not found)
â Group configured (No default group set)
â Data directory (./data)
Some checks failed. Suggested fixes:
⢠Session string:
Generate a fresh session: python scripts/generate_session.py
⢠Config file:
Run telegram-init to create the config file
⢠Group configured:
Run telegram-init to select a group
(Run these steps manually - doctor does not modify files)
Next Steps
After fixing issues:
- Run
telegram-initto reconfigure if needed - Run
telegram-syncto test connectivity