skills$openclaw/telegram-pairing-approver
crazypeace3.3k

by crazypeace

telegram-pairing-approver – OpenClaw Skill

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

3.3k stars6.7k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nametelegram-pairing-approver
description创建一个持久运行的Telegram机器人服务,用于自动处理配对代码并批准Telegram会话权限。使用时提供机器人令牌,自动创建机器人脚本和服务文件,并启动系统服务。适用于需要自动处理Telegram配对请求的场景。 OpenClaw Skills integration.
ownercrazypeace
repositorycrazypeace/telegram-pairing-approver
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @crazypeace/telegram-pairing-approver
last updatedFeb 7, 2026

Maintainer

crazypeace

crazypeace

Maintains telegram-pairing-approver in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
deploy.js
5.7 KB
_meta.json
355 B
SKILL.md
1.7 KB
SKILL.md

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

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

快速开始

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

node scripts/deploy.js <YOUR_BOT_TOKEN>

例如:

node scripts/deploy.js 9632389037:ADG3jTndsXpgdOrdJkfaV80nnsjhQyWEhbT

功能

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

脚本说明

部署脚本 (scripts/deploy.js)

  • 创建机器人脚本,自动注入提供的令牌
  • 生成systemd服务文件
  • 注册并启动系统服务
  • 配置自动重启机制

服务管理

查看服务状态:

systemctl status telegram-pairing-bot.service

停止服务:

systemctl stop telegram-pairing-bot.service

重启服务:

systemctl restart telegram-pairing-bot.service

检查服务是否启用开机自启:

systemctl is-enabled telegram-pairing-bot.service

优势

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

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install telegram-pairing-approver?

Run openclaw add @crazypeace/telegram-pairing-approver in your terminal. This installs telegram-pairing-approver into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/crazypeace/telegram-pairing-approver. Review commits and README documentation before installing.