configure

Solid

Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.

AI & Automation 2 stars 0 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /telegram:configure — Telegram Channel Setup Writes the bot token to `~/.claude/channels/telegram/.env` and orients the user on access policy. The server reads both files at boot. Arguments passed: `$ARGUMENTS` --- ## Dispatch on arguments ### No args — status and guidance Read both state files and give the user a complete picture: 1. **Token** — check `~/.claude/channels/telegram/.env` for `TELEGRAM_BOT_TOKEN`. Show set/not-set; if set, show first 10 chars masked (`123456789:...`). 2. **Access** — read `~/.claude/channels/telegram/access.json` (missing file = defaults: `dmPolicy: "pairing"`, empty allowlist). Show: - DM policy and what it means in one line - Allowed senders: count, and list display names or IDs - Pending pairings: count, with codes and display names if any 3. **Channel allowlist** — without this, slash commands and the `reply` tool work, but inbound Telegram messages never reach the agent's context. The file is platform-specific: - **macOS**: `/Library/Application Support/ClaudeCode/managed-settings.json` - **Linux**: `/etc/claude-code/managed-settings.json` - **Windows**: `%ProgramData%\ClaudeCode\managed-settings.json` Read the file (it may not exist — that's the common case for standalone plugin installs). Expected shape: ```json { "allowedChannelPlugins": [ {"plugin": "telegram", "marketplace": "5dive-plugins"} ] } ``` Each entry is an **object** `{plugin, marketplace}`...

Details

Author
5dive-ai
Repository
5dive-ai/5dive-plugins
Created
2 months ago
Last Updated
3 days ago
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category