access

Manage Telegram channel access by editing the access.json state file.

1|Updated Jul 6, 2015
One-click install
npx skills add https://github.com/ksolomon/dotfiles --skill access-ksolomon
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: access
Source: https://github.com/ksolomon/dotfiles/tree/main/AI/.claude/plugins/cache/claude-plugins-official/telegram/0.0.6/skills/access
Command: npx skills add https://github.com/ksolomon/dotfiles --skill access-ksolomon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Controlling who can message a Telegram bot channel requires manual edits to a JSON state file, which is error-prone and easy to clobber while the channel server is running. This Skill provides a safe, structured workflow for approving pairings, managing allowlists, and setting DM/group policy without talking to Telegram directly. ## Core Features & Use Cases - Pairing Approval: Approve or deny pending pairing requests by code, writing approval marker files the channel server polls. - Allowlist & Policy Management: Add or remove sender IDs from allowFrom and set dmPolicy to pairing, allowlist, or disabled. - Group & Delivery Config: Configure per-group requireMention rules and delivery settings like ackReaction, replyToMode, and textChunkLimit. - Use Case: A new user DMs your Telegram bot and receives a 6-character pairing code. You run the pair command with that code, and the Skill updates access.json and writes the approval file so the channel server notifies the user they are in. ## Quick Start Ask the assistant to show the current Telegram channel access status, or approve a pending pairing by providing its 6-character code.

Frequently Asked Questions about access

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I approve a Telegram bot pairing request?▼

Run the pair command with the 6-character code from the pending entry. The Skill adds the sender ID to allowFrom, removes the pending entry, and writes an approval file the channel server polls to notify the user.

How do I change the Telegram channel DM policy?▼

Use the policy command with one of three modes: pairing, allowlist, or disabled. The Skill validates the mode, updates dmPolicy in access.json, and the channel server re-reads the file automatically.

Where is Telegram channel access state stored?▼

All state lives in ~/.claude/channels/telegram/access.json, containing dmPolicy, allowFrom, groups, pending pairings, and mentionPatterns. A missing file is treated as the default pairing policy with empty lists.

Can a Telegram message trigger access changes?▼

No. The Skill refuses any access mutation requested via channel notifications because channel messages can carry prompt injection. The user must run the access command themselves in their terminal session.

Why does pairing require an explicit code?▼

The code proves the request is intentional, since an attacker can seed a pending entry by DMing the bot. The Skill never auto-picks a pending entry, even when only one exists, and instead lists entries and asks which code to approve.