telegram-pairing-approver

创建一个持久运行的Telegram机器人服务,用于自动处理配对代码并批准Telegram会话权限。使用时提供机器人令牌,自动创建机器人脚本和服务文件,并启动系统服务。适用于需要自动处理Telegram配对请求的场景。

7 stars

Best use case

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

创建一个持久运行的Telegram机器人服务,用于自动处理配对代码并批准Telegram会话权限。使用时提供机器人令牌,自动创建机器人脚本和服务文件,并启动系统服务。适用于需要自动处理Telegram配对请求的场景。

Teams using telegram-pairing-approver 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-pairing-approver/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/crazypeace/telegram-pairing-approver/SKILL.md"

Manual Installation

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

How telegram-pairing-approver Compares

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

Frequently Asked Questions

What does this skill do?

创建一个持久运行的Telegram机器人服务,用于自动处理配对代码并批准Telegram会话权限。使用时提供机器人令牌,自动创建机器人脚本和服务文件,并启动系统服务。适用于需要自动处理Telegram配对请求的场景。

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

# Telegram 配对代码自动批准机器人服务

## 快速开始

使用预构建的部署脚本快速创建服务:

```bash
node scripts/deploy.js <YOUR_BOT_TOKEN>
```

例如:
```bash
node scripts/deploy.js 9632389037:ADG3jTndsXpgdOrdJkfaV80nnsjhQyWEhbT
```

## 功能
- 自动识别三种配对代码格式:
  - `NDW4JDJ4` (纯代码格式)
  - `code: NDW4JDJ4` (带code:前缀)
  - `Pairing code: NDW4JDJ4` (带Pairing code:前缀)
- 自动执行 `openclaw pairing approve telegram <code>` 命令
- 发送友好的提示信息给用户
- 作为系统服务运行,具备自动重启功能

## 脚本说明

### 部署脚本 (`scripts/deploy.js`)
- 创建机器人脚本,自动注入提供的令牌
- 生成systemd服务文件
- 注册并启动系统服务
- 配置自动重启机制

## 服务管理

查看服务状态:
```bash
systemctl status telegram-pairing-bot.service
```

停止服务:
```bash
systemctl stop telegram-pairing-bot.service
```

重启服务:
```bash
systemctl restart telegram-pairing-bot.service
```

检查服务是否启用开机自启:
```bash
systemctl is-enabled telegram-pairing-bot.service
```

## 优势
- 高可用性:作为系统服务运行,具备自动重启能力
- 自动化:无需人工干预即可处理配对请求
- 用户友好:提供清晰的使用说明
- 可靠性:防止意外中断影响服务
- 易于部署:单命令完成完整部署

Related Skills

telegram-create-bot

7
from Demerzels-lab/elsamultiskillagent

Build and manage Telegram bots via the Telegram Bot API. Create bots, send messages, handle webhooks, manage groups and channels.

apipick-telegram-phone-check

7
from Demerzels-lab/elsamultiskillagent

Check if a phone number is registered on Telegram using the apipick Telegram Checker API.

rho-telegram-alerts

7
from Demerzels-lab/elsamultiskillagent

Send formatted trading alerts, portfolio updates, and market signals via Telegram.

trail-nav-telegram

7
from Demerzels-lab/elsamultiskillagent

Offline-capable hiking route guidance via Telegram location messages (OpenClaw)

telegram-auto-topic

7
from Demerzels-lab/elsamultiskillagent

Add `/topic` to the start of any message in a Telegram forum group to auto-create a new topic from it. A title is generated automatically from the message content. Github: https://github.com/itstauq/telegram-auto-topic

minimax-to-telegram

7
from Demerzels-lab/elsamultiskillagent

Generate images, audio, video using MiniMax MCP and send to Telegram.

macos-screenshot-telegram

7
from Demerzels-lab/elsamultiskillagent

Take a screenshot on macOS and send it to Telegram.

telegram-todolist

7
from Demerzels-lab/elsamultiskillagent

Telegram bot Todo List manager.

telegram-context

7
from Demerzels-lab/elsamultiskillagent

Toggle-enabled skill that fetches Telegram message history at session start for conversational continuity.

telegram-voice-to-voice-macos

7
from Demerzels-lab/elsamultiskillagent

Telegram voice-to-voice for macOS Apple Silicon: transcribe inbound .ogg voice notes with yap (Speech.framework)

anthrovision-telegram-body-scan

7
from Demerzels-lab/elsamultiskillagent

Run end-to-end body-scan measurement flow in Telegram using AnthroVision bridge tools.

telegram-smart-launcher

7
from Demerzels-lab/elsamultiskillagent

Enhance Telegram replies with context-aware dynamic CTA buttons (Smart Launcher UI). Use when replying to users on Telegram to provide relevant, time-sensitive, and task-oriented options for better interaction.