返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
g

group-activation

Handles joining and leaving group conversations on messaging platforms (WhatsApp, Signal, Telegram, etc.). Use when the owner tags the agent into a group chat to participate for a time-limited window, and when the agent needs to open or close the participation gate for a specific group.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
351
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

group-activation

# Group Activation When the owner tags you into a group on any messaging platform, follow this procedure. ## Prerequisites `channels.<platform>.groupPolicy`, `groupAllowFrom`, and `groups.*.requireMention` are set so that only the owner can wake you in any group. Trigger phrases are defined in `agents.list[main].groupChat.mentionPatterns`. This applies to WhatsApp, Signal, Telegram, and other supported platforms. ## Procedure **Step 1 — Capture context** From the inbound message metadata: platform (e.g. `whatsapp`, `signal`), group ID (the `chat_id` / `from` field), and duration (parse from the owner's message — default 30 minutes if unspecified). **Step 2 — Open the gate** Patch `channels.<platform>.groups.<group_id>.requireMention` to `false` in `openclaw.json`. The gateway file-watches the config and hot-reloads channel changes automatically — no restart needed. **Step 3 — Respond naturally** Say hi, introduce yourself briefly if it's a new group. Participate like a human in a group chat — use judgment about when to contribute. Do not respond to every message. **Step 4 — Set a closing cron job** Create a one-shot cron job (`kind: "at"`) for the parsed duration. When it fires: patch `requireMention` back to `true` for this group in `openclaw.json`, then send a brief goodbye to the group. The gateway hot-reloads and the gate closes — no owner action needed. **Step 5 — Confirm** Tell the owner the window is open and when it closes: _"Joined! I'll be here for 60 minutes — going quiet at 4:19 PM."_ ## Controls - **Extend:** owner says `@<agent> stay for another X mins` → cancel existing cron, set a new one - **Close early:** owner says `@<agent> that's enough` / `close` → patch `requireMention: true` immediately, cancel cron, say goodbye ## Notes - Group ID is in inbound message metadata (`chat_id` / `from` field) - Config changes hot-reload — no gateway restart or Docker restart needed - When closing, remove the specific group entry from `groups` or set `requireMention: true` to return to the wildcard default

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 group-activation-1776293863 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 group-activation-1776293863 技能

通过命令行安装

skillhub install group-activation-1776293863

下载

⬇ 下载 group-activation v1.0.0(免费)

文件大小: 1.79 KB | 发布时间: 2026-4-16 16:56

v1.0.0 最新 2026-4-16 16:56
Initial release: time-limited group chat participation for WhatsApp, Signal and other platforms. Config-patch based open/close with auto-closing cron.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部