Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

telegram-group-moderationTelegram group moderation 广告

Agent Skill

telegram-group-moderation 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,867

周安装

289

GitHub Stars

公开资料未说明

下载量

2,404
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:telegram-group-moderation(Telegram group moderation 广告)
来源仓库:https://github.com/xaviermary56/telegram-group-moderation
安装命令:
openclaw skills install telegram-group-moderation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install telegram-group-moderation

简介

telegram-group-moderation 通过消息分析与策略执行管理 Telegram 群组。

  • 识别广告与不当接触行为并自动干预。
  • 提升群组安全与用户体验。telegram-group-moderation 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 需配置管理员权限与规则阈值。
  • 建议定期审核日志以避免误判。

SKILL.md

name
telegram-group-moderation
version
0.9.0
description
Moderate Telegram groups with a bot by receiving message/webhook events, extracting text/caption/media context, applying anti-advertising and anti-contact policies, and deciding whether to pass, delete, warn, mute, ban, or send for manual review. Use when connecting Telegram groups or channels to an existing moderation system, especially when reusing post-content-moderation as the policy core.
emoji
📱
homepage
https://github.com/XavierMary56/OmniPublish
requires
metadata
openclaw
requires
bins

Telegram Group Moderation

Build Telegram group moderation as an integration layer, not as a replacement for your existing moderation policy skill.

Recommended architecture:

  • use post-content-moderation as the moderation-policy core
  • use this skill to receive Telegram updates, normalize Telegram payloads, call the moderation core, and execute Telegram moderation actions

Core responsibilities

Use this skill for:

  • Telegram Bot webhook integration
  • Telegram group message normalization
  • extracting text, caption, media URL/file metadata, sender info, and chat info
  • mapping moderation results into Telegram actions
  • enforcing group-specific whitelist / admin-exemption / punishment rules
  • logging moderation decisions for audit

Do not bloat this skill with generic moderation policy text that already belongs in post-content-moderation.

Recommended decision flow

  1. Receive Telegram update.
  2. Detect update type:

- message - edited_message - channel_post - edited_channel_post

  1. Extract moderation input:

- chat_id - message_id - user_id - username / display name - text - caption - photo / video presence - forwarded / reply / sticker / invite-link hints if needed

  1. Normalize into a moderation payload.
  2. Call moderation core.
  3. Map result into Telegram action:

- pass -> no action - reject -> delete / warn / mute / ban depending on rule set - review -> flag to admin channel or log queue

  1. Persist result and evidence.

Action mapping

Use clear business mapping. Example:

  • pass -> allow
  • reject + high risk -> delete message and warn user
  • reject + repeated violations -> delete and mute
  • reject + explicit scam/spam pattern -> delete and ban
  • review -> forward summary to admin review channel

Keep action policy configurable per group.

Telegram-specific rule inputs

Add these rule dimensions on top of the generic moderation core:

  • allowed chat ids
  • admin / moderator user whitelist
  • trusted service bots whitelist
  • punishment ladder by offense count
  • whether edited messages should be re-audited
  • whether forwarded posts are allowed
  • whether links are fully blocked or only ad-like links are blocked
  • whether usernames / bios / display names count as diversion evidence

Media limitations

Telegram integration often needs more than plain text:

  • image moderation may require OCR and QR detection
  • video moderation may require frame extraction and subtitle/ASR pipeline
  • file_id alone is not enough for real moderation; fetch or proxy media only when policy and privacy requirements allow it

If real media inspection is not implemented, document that clearly and avoid claiming full image/video moderation coverage.

Security baseline

  • validate Telegram webhook authenticity at the integration layer
  • verify chat allowlist before processing
  • keep bot token and API keys only in environment variables
  • rate-limit admin actions and callback retries
  • log delete/mute/ban actions with chat_id, user_id, message_id, and moderation reason
  • avoid downloading media to unsafe temp paths
  • define retention policy for moderated content snapshots

Bundled references

Read these files as needed:

  • references/architecture.md for recommended system design
  • references/telegram-event-mapping.md for Telegram update normalization
  • references/action-policy.md for pass/reject/review to delete/warn/mute/ban mapping
  • references/php-yaf-integration.md for PHP 7.3 / Yaf-oriented integration notes
  • references/multi-language-integration.md for Python, Go, and Java integration guidance
  • references/install-and-usage.zh-CN.md for practical Chinese installation and configuration guidance
  • references/production-rollout.zh-CN.md for production rollout boundaries and deployment advice
  • references/http-contract-example.json for request/response contract example with moderation core
  • references/http-contract-production.zh-CN.md for production HTTP contract guidance
  • references/http-contract-production-v2.zh-CN.md for trace_id-aware production contract guidance
  • references/redis-db-offense-store.zh-CN.md for Redis/DB offense-count design guidance
  • references/db-schema-example.sql for default DB offense-log schema
  • references/audit-log-schema-example.sql for audit-log schema
  • references/audit-log-rollout.zh-CN.md for audit-log rollout guidance
  • references/config-template.env.example for environment template hints
  • references/release-notes.zh-CN.md for Chinese release notes
  • references/clawhub-release-copy.zh-CN.md for Chinese release copy and page wording

Bundled scripts

Use bundled scripts as starting points, not production-final code:

  • scripts/config.php for env-driven config layout
  • scripts/telegram_support.php for shared constants and helpers
  • scripts/telegram_webhook_example.php for PHP webhook entry example
  • scripts/telegram_action_example.php for PHP Telegram Bot API action calls
  • scripts/python_telegram_webhook_example.py for Python webhook/action flow example
  • scripts/go_telegram_webhook_example.go for Go webhook/action flow example
  • scripts/java_telegram_webhook_example.java for Java webhook/action flow example

Packaging guidance

Keep this skill platform-specific and small:

  • Telegram ingress and action logic belongs here
  • reusable moderation policy belongs in post-content-moderation
  • if you later add Discord/WhatsApp, create separate integration skills instead of mixing all platforms into one

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.45%
按下载量换算2,102

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills