Telegram Tools Suite
Telegram 自动化工具包(群监控、群搜索、批量加群、定时发送)。 运行时会生成敏感会话文件并包含可选长驻任务;默认启用风险保护,需显式确认后才可执行高风险动作。
Rank
62
Safety
84
Downloads
999
Updated
Oct 11, 2026
Version
1.3.3
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 999 downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 999 downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.3.3release · observed Apr 22, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.3.3release
安全优化:1. 为session_runtime.py临时会话复制逻辑增加明确注释,说明仅用于进程隔离防锁死,任务结束自动删除无留存;2. clawhub.yaml新增设计说明,明确告知无第三方数据传输逻辑,消除扫描误判;3. 所有安全设计完全透明可追溯
Observed Apr 22, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17byqgfxb0xcxd564d2gh3yys84v9aa:telegram-tools-suite- Install using `clawhub skill install s17byqgfxb0xcxd564d2gh3yys84v9aa:telegram-tools-suite` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/testman2025/telegram-tools-suite before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-testman2025-telegram-tools-suite/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
158,033 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: Telegram Tools Suite
description: >
Telegram 自动化工具包(群监控、群搜索、批量加群、定时发送)。
运行时会生成敏感会话文件并包含可选长驻任务;默认启用风险保护,需显式确认后才可执行高风险动作。
requiredEnv:
- name: TELEGRAM_API_ID
description: Telegram API ID(来自 https://my.telegram.org)
required: true
- name: TELEGRAM_API_HASH
description: Telegram API Hash(高敏感)
required: true
- name: TELEGRAM_PHONE
description: Telegram 账号手机号(国际格式)
required: true
optionalEnv:
- name: ENABLE_HIGH_RISK_OPERATIONS
description: 高风险总开关(join/send-schedule 需设为 true 才可运行)
required: false
default: "false"
- name: TELEGRAM_SESSION_NAME
description: 会话文件名(默认 tg_monitor_session)
required: false
- name: TELEGRAM_PROXY_HTTP_HOST
description: Telegram 代理地址(默认 127.0.0.1)
required: false
- name: TELEGRAM_PROXY_HTTP_PORT
description: Telegram 代理端口(默认 1087)
required: false
- name: TG_CODE
description: 登录短信验证码(auth 后)
required: false
- name: TG_PHONE_CODE_HASH
description: 登录验证码哈希(auth 输出)
required: false
- name: TG_PROJECT_ROOT
description: 项目根目录覆盖(用于定位配置文件)
required: false
- name: TG_MONITOR_WEB_OUTPUT_DIR
description: 网页脚本输出目录
required: false
- name: TG_TARGET_GROUPS_FILE
description: 监控群白名单文件路径
required: false
- name: TG_KEYWORDS_FILE
description: 监控关键词文件路径(默认 config/keywords.txt)
required: false
- name: TG_MONITOR_REGEX_RULES_FILE
description: 监控正则规则文件路径
required: false
- name: TG_GROUP_SEARCH_KEYWORDS_FILE
description: 群搜索关键词文件路径
required: false
- name: TG_GROUP_SEARCH_SETTINGS_FILE
description: 群搜索配置文件路径
required: false
- name: TG_JOIN_LIST_FILE
description: 批量加群目标文件路径
required: false
- name: TG_ENABLE_PERSISTENT_JOIN
description: 是否开启 join 长驻模式(默认关闭;需 true)
required: false
- name: TG_JOIN_DELAY_SEC
description: 加群间隔秒数(最小 1800)
required: false
- name: TG_MAX_JOINS_PER_RUN
description: 单轮最多加群数量(最大 20)
required: false
---
# Telegram Tools Suite
> ⚠️ 【重要安全&运行提示 安装前必读】
> 1. 敏感文件生成:技能运行时会在`userdata/`目录生成`*.session`会话文件(包含Telegram登录认证状态),并使用`.env`配置文件,均为高敏感信息,已默认加入`.gitignore`/`.clawignore`禁止提交到代码仓库/发布,请勿手动分享这些文件。
> 2. 持久运行说明:`monitor`(群监控)、`search`(群搜索)、`join`(批量加群定时模式)均为长时间运行的长驻任务,启动后会持续在后台运行直至手动终止。
> 3. 配置生效规则:所有配置文件(.env、config目录下的关键词/规则/配置文件)修改后,都需要重启对应的运行任务才会生效,修改配置不会影响正在运行的任务。
> 4. 合规使用提示:本工具仅用于合法的Telegram群组自动化管理用途,禁止用于发送垃圾信息、骚扰用户、批量爬取用户信息等违反Telegram服务条款和当地法律法规的行为。建议使用独立测试账号运行,避免主账号被平台封禁。所有配置需用户自行填写,工具无内置默认发送目标、消息内容或爬取规则。
> 4. 默认风险保护:`join` 与 `send-schedule` 均需先设置 `ENABLE_HIGH_RISK_OPERATIONS=true` 才可运行;其中 `join` 长驻模式还需额外设置 `TG_ENABLE_PERSISTENT_JOIN=true`。定时群发由 `send-schedule` 子命令执行,并按 `config/scheduled_tasks.json` 的限制进行校验。
## Instructions
### 🔹 前置说明
本技能为Telegram自动化工具,使用前需提前申请Telegram官方API凭证,需配置3项必填信息:`TELEGRAM_API_ID`、`TELEGRAM_API_HASH`、绑定手机号(国际格式)。
### 🔹 安装后引导&首次运行流程(按顺序执行)
1. **安装依赖**:执行 `pip install -e .`
2. **获取API凭证**:打开 <https://my.telegram.org>,用Telegram绑定手机号登录,进入「API development tools」创建应用,获得`api_id`和`api_hREADME.md
# Telegram Tools Suite | Telegram工具集 > Telegram (Telethon) keyword monitoring and group search toolkit. This repository provides the **Python package `tg_monitor_kit`**, command line **`tg-monitor` / `python -m tg_monitor_kit`**, and **OpenClaw Skill**. All time and scheduled tasks are based on **Beijing Time**. > > Telegram(Telethon)关键词监控与群搜索工具包。本仓库提供 **Python 包 `tg_monitor_kit`**、命令行 **`tg-monitor` / `python -m tg_monitor_kit`**,以及 **OpenClaw Skill**。时间与定时任务均以**北京时间**为准。 Quick Start | 快速入口: Install with `pip install -e .`; CLI help `python -m tg_monitor_kit --help` or `tg-monitor --help`. 快速入口:安装 `pip install -e .`;CLI 帮助 `python -m tg_monitor_kit --help` 或 `tg-monitor --help`。 ## Installation & Configuration | 安装与配置 1. Install dependencies (choose one): | 安装依赖(任选其一): - `pip install -e .` (Recommended, execute in project root directory) | `pip install -e .`(推荐,在项目根目录执行) - Or `pip install -r requirements.txt` then add `src` to `PYTHONPATH` (Not recommended) | 或 `pip install -r requirements.txt` 后把 `src` 加入 `PYTHONPATH`(不推荐) 2. Copy `.env.example` to `.env`, fill in `TELEGRAM_API_ID`, `TELEGRAM_API_HASH`; fill in `TELEGRAM_PHONE` as needed (for login). | 复制 `.env.example` 为 `.env`,填写 `TELEGRAM_API_ID`、`TELEGRAM_API_HASH`;按需填写 `TELEGRAM_PHONE`(登录用)。 3. Session file: by default generated under `userdata/` in project root (name determined by `TELEGRAM_SESSION_NAME`). **Do not** delete the in-use `.session` file. | 会话文件:默认在项目根目录 `userdata/` 下生成(名称由 `TELEGRAM_SESSION_NAME` 决定)。**勿**删除正在使用的 `.session` 文件。 ## First Run (Step by Step) | 首次运行步骤(必看) 1. Install | 安装: - `pip install -e .` 2. Get API credentials | 获取 API 凭据: - 打开 <https://my.telegram.org> - 使用手机号登录 - 进入 `API development tools` - 创建应用后拿到 `api_id` 与 `api_hash` 3. Configure `.env` | 配置: - 必填:`TELEGRAM_API_ID`、`TELEGRAM_API_HASH` - 建议填:`TELEGRAM_PHONE`(如 `+8613xxxxxxxxx`) 4. Request code hash | 请求验证码 hash: - `python3 -m tg_monitor_kit auth` - 成功时输出:`SENT_CODE_SUCCESS:<phone_code_hash>` 5. Wait user code and login | 等待用户提供验证码并登录: - 设置 `TG_CODE`(短信验证码) - 设置 `TG_PHONE_CODE_HASH`(上一步输出) - 运行 `python3 -m tg_monitor_kit login` - 成功时输出:`LOGIN_SUCCESS` 6. Verify account | 验证账号: - `python3 -m tg_monitor_kit groups` 7. Start business command | 启动业务命令: - 监控:`python3 -m tg_monitor_kit monitor` - 搜索:`python3 -m tg_monitor_kit search` - 加群(单轮):`ENABLE_HIGH_RISK_OPERATIONS=true python3 -m tg_monitor_kit join --once` - 定时群发:`ENABLE_HIGH_RISK_OPERATIONS=true python3 -m tg_monitor_kit send-schedule` ## Command List (Recommended) | 命令一览(推荐) Execute in the project root directory (if `pip install -e .` is installed, you can directly use `tg-monitor`; otherwise use `PYTHONPATH=src python3 -m tg_monitor_kit`): | 在项目根目录执行(已 `pip install -e .` 时可直接用 `tg-monitor`;否则使用 `PYTHONPATH=src python3 -m tg_monitor_kit`): | Subcommand | Description | 说明 | |--------|--------|------| | `monitor` | Whitelist group keyword monitoring, hit notification, 18:00 daily Excel sum
_meta.json
{
"ownerId": "kn71svn18t9cb73emms0vf78s984tb7p",
"slug": "telegram-tools-suite",
"version": "1.3.3",
"publishedAt": 1776824289841
}CHANGELOG.md
# Changelog ## 1.0.0 - 2026-04-15 - 清理发布包中的隐私与运行时文件(`.env`、`.session`、日志、锁文件、本地虚拟环境、测试脚本)。 - 统一默认会话名为 `tg_monitor_session`,移除个人路径示例。 - 重写根目录 `SKILL.md` 为可发布格式(frontmatter + instructions/rules/examples)。 - 新增 `clawhub.json`,补充 ClawHub 发布元数据。 - 更新 `.clawignore`,保留 `.env.example` 并强化敏感文件排除策略。
skill-card.md
## Description: Telegram Tools Suite provides Telegram account automation for group monitoring, group search, batch group joining, scheduled messages, and account queries. This skill is ready for commercial/non-commercial use. ## Publisher: [testman2025](https://clawhub.ai/user/testman2025) ### License/Terms of Use: MIT-0 ## Use Case: External users and developers use this skill to configure and run Telegram automation workflows for monitoring selected groups, searching groups by keyword, querying account or group data, joining groups from a list, and sending scheduled messages. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Reusable Telegram session credentials can expose the connected account if the workspace is shared, archived, or published. Mitigation: Use a test account, keep the workspace private, exclude userdata and .env files from archives, and review session-file permissions after login. Risk: Scheduled sending and bulk group joining can risk account enforcement or misuse. Mitigation: Keep high-risk operations disabled unless needed, explicitly enable them only for reviewed tasks, and verify target lists, message content, and frequency before execution. ## Reference(s): - [Telegram API development tools](https://my.telegram.org) - [ClawHub skill page](https://clawhub.ai/testman2025/skills/telegram-tools-suite) ## Skill Output: **Output Type(s):** [text, markdown, shell commands, configuration, guidance] **Output Format:** [Markdown with inline shell commands and configuration guidance] **Output Parameters:** [1D] **Other Properties Related to Output:** [May produce operational guidance for long-running Telegram commands and local configuration files.] ## Skill Version(s): 1.3.3 (source: ClawHub release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/testman2025/skills/telegram-tools-suite",
"sourceUrl": "https://clawhub.ai/testman2025/skills/telegram-tools-suite",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T20:12:03.215Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-testman2025-telegram-tools-suite/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-testman2025-telegram-tools-suite/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T20:12:03.215Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "999 downloads",
"href": "https://clawhub.ai/testman2025/telegram-tools-suite",
"sourceUrl": "https://clawhub.ai/testman2025/telegram-tools-suite",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T20:12:03.215Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.3.3",
"href": "https://clawhub.ai/testman2025/telegram-tools-suite",
"sourceUrl": "https://clawhub.ai/testman2025/telegram-tools-suite",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-22T02:18:09.841Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-testman2025-telegram-tools-suite/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-testman2025-telegram-tools-suite/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.3.3",
"description": "安全优化:1. 为session_runtime.py临时会话复制逻辑增加明确注释,说明仅用于进程隔离防锁死,任务结束自动删除无留存;2. clawhub.yaml新增设计说明,明确告知无第三方数据传输逻辑,消除扫描误判;3. 所有安全设计完全透明可追溯",
"href": "https://clawhub.ai/testman2025/telegram-tools-suite",
"sourceUrl": "https://clawhub.ai/testman2025/telegram-tools-suite",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-22T02:18:09.841Z",
"isPublic": true
}
]
}Record generated Oct 12, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-testman2025-telegram-tools-suite/run-check
