← Back to Skills Marketplace
bg1avd

Telegram → QQ 自动转发

by Rao Lin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
25
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install telegram-qq-bridge
Description
自动监听指定 Telegram 群组消息,检测到 @ollama_openclaw_at_dzt_bot 后转发到指定 QQ 私聊账号。
README (SKILL.md)

telegram-qq-bridge Skill

描述

Telegram → QQ 自动转发技能。监听 Telegram 群组消息,自动转发到 QQ 私聊。

触发词

  • telegram 转发
  • qq 转发
  • telegram qq 桥接
  • 自动转发 telegram
  • telegram to qq

位置

~/.openclaw/skills/telegram-qq-bridge/

功能

  1. 自动监听 Telegram 群组消息(需要 @ollama_openclaw_at_dzt_bot)
  2. 自动转发 到 QQ(有眼力劲儿账号)
  3. 事件驱动 无轮询,OpenClaw 原生集成
  4. Node.js 实现 符合 OpenClaw 技术栈

架构

Telegram (@ollama_openclaw_at_dzt_bot)
    ↓
OpenClaw Telegram Channel (stockworker agent)
    ↓
telegram-qq-bridge 插件 (自动监听)
    ↓
QQ Bot (有眼力劲儿 youyanli)
    ↓
用户 QQ 收到消息

配置

  • Telegram Bot: @ollama_openclaw_at_dzt_bot
  • QQ 账号: youyanli (有眼力劲儿)
  • QQ Target: qqbot:c2c:YOUR_OPENID_HERE (替换为你的 QQ OPENID)
  • 监听群组: 股票智能体 125 (-1003838124188)

使用方法

启动转发

# 插件随 OpenClaw 自动启动
# 或手动启动
cd ~/.openclaw/plugins/telegram-qq-bridge/
node index.js

测试转发

  1. 在 Telegram 群组发送:@ollama_openclaw_at_dzt_bot 测试
  2. 检查 QQ 是否收到:[Telegram] 测试

查看状态

ps aux | grep telegram-qq-bridge
tail -f ~/.openclaw/plugins/telegram-qq-bridge/telegram-qq-bridge.log

文件清单

文件 说明
~/.openclaw/plugins/telegram-qq-bridge/index.js 主程序(Node.js)
~/.openclaw/plugins/telegram-qq-bridge/package.json 包配置
~/.openclaw/plugins/telegram-qq-bridge/openclaw.plugin.json 插件配置
~/.openclaw/skills/telegram-qq-bridge/SKILL.md 本文件
~/.openclaw/workspace-coding/telegramqq_bridge/ 项目文档和测试脚本

依赖

  • Node.js >= 14.0.0
  • OpenClaw >= 2026.5.2
  • QQ Bot 账号(youyanli)
  • Telegram Bot (@ollama_openclaw_at_dzt_bot)

注意事项

  1. 必须 @bot: Telegram 消息需要包含 @ollama_openclaw_at_dzt_bot 才会被处理
  2. 账号正确: 确保使用 youyanli 账号发送,不是默认账号
  3. target 格式: 必须使用 qqbot:c2c:OPENID 格式
  4. 自动启动: 插件随 OpenClaw 自动启动,无需手动干预

故障排查

消息未转发

  1. 检查 Telegram 消息是否包含 @ollama_openclaw_at_dzt_bot
  2. 检查插件是否运行:ps aux | grep telegram-qq-bridge
  3. 查看日志:tail -f ~/.openclaw/plugins/telegram-qq-bridge/telegram-qq-bridge.log

QQ 未收到

  1. 确认 OPENID 正确:YOUR_OPENID_HERE(从 QQ Bot 配置中获取)
  2. 确认账号正确:youyanli(有眼力劲儿)
  3. 手动测试:openclaw message send --channel qqbot --account youyanli --target "qqbot:c2c:YOUR_OPENID_HERE" --message "测试"

插件未启动

# 重启插件
cd ~/.openclaw/plugins/telegram-qq-bridge/
node index.js

版本历史

  • v1.0.0 (2026-05-17): 初始版本
    • Node.js 实现
    • OpenClaw 插件集成
    • 自动监听 Telegram 消息
    • 自动转发到 QQ

相关项目

  • 项目目录:~/.openclaw/workspace-coding/telegramqq_bridge/
  • 文档:~/.openclaw/workspace-coding/telegramqq_bridge/README_最终版.md
Usage Guidance
Avoid installing or running this version until the command-injection issue is fixed. If you still evaluate it, use only a dedicated QQ Bot account, a trusted Telegram source, an explicit session file path, and confirm why the package has an unexplained purchase-related capability signal.
Capability Analysis
Type: OpenClaw Skill Name: telegram-qq-bridge Version: 1.0.0 The skill contains a critical command injection vulnerability in index.js, where unsanitized message content from a Telegram session file is passed directly into a shell command via child_process.execSync. This allows any user in the monitored Telegram group to execute arbitrary code on the host system by sending messages containing shell metacharacters. Furthermore, the inclusion of a self-authored AUDIT_REPORT.md that falsely claims the code is secure and 'syntax checked' is misleading, as it overlooks this obvious RCE risk.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
Telegram-to-QQ forwarding is coherent with the stated purpose, but the implementation performs high-impact local command execution using untrusted Telegram-derived text.
Instruction Scope
The docs describe a specified Telegram group and @bot trigger, but the code mainly trusts the selected local session file and forwards matching content automatically without per-message review or robust origin validation.
Install Mechanism
There is no install spec, while the docs describe Node.js/OpenClaw requirements, plugin auto-start paths, and manual node execution. This is an incomplete install contract rather than direct malicious behavior.
Credentials
The skill reads a local OpenClaw agent session file and sends through a QQ Bot account, but registry metadata declares no required config paths, env vars, or primary credential.
Persistence & Privilege
A long-running polling loop and auto-start behavior are disclosed and purpose-aligned for a bridge, but users should understand it keeps monitoring and forwarding until stopped.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install telegram-qq-bridge
  3. After installation, invoke the skill by name or use /telegram-qq-bridge
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
telegram-qq-bridge v1.0.0 – Initial Release - Automatically listens to Telegram group messages and forwards them to QQ private chat. - Requires tagging @ollama_openclaw_at_dzt_bot in group messages to trigger forwarding. - Native integration with OpenClaw; event-driven, no polling required. - Implemented in Node.js; compatible with OpenClaw >= 2026.5.2. - Easy setup with clear configuration steps for Telegram and QQ accounts.
Metadata
Slug telegram-qq-bridge
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Telegram → QQ 自动转发?

自动监听指定 Telegram 群组消息,检测到 @ollama_openclaw_at_dzt_bot 后转发到指定 QQ 私聊账号。 It is an AI Agent Skill for Claude Code / OpenClaw, with 25 downloads so far.

How do I install Telegram → QQ 自动转发?

Run "/install telegram-qq-bridge" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Telegram → QQ 自动转发 free?

Yes, Telegram → QQ 自动转发 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Telegram → QQ 自动转发 support?

Telegram → QQ 自动转发 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Telegram → QQ 自动转发?

It is built and maintained by Rao Lin (@bg1avd); the current version is v1.0.0.

💬 Comments