360 Secure SkillHub
360 安全技能中心

WhatsApp Groups

该 Skill 通过 Node 脚本读取 Baileys 会话缓存,提供 list、search、get-id 和 sync 命令,用于发现、列出、按名称搜索 WhatsApp 群组,获取群组 ID,并与配置同步;结果以 JSON 返回,包含群组总数及 id、name、isActive 等字段。未包含发送消息或群组管理功能。

分类:搜索
marcosrippel
marcosrippel
热度 45.79
最近更新 2026-05-17 12:21:46

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add marcosrippel/whatsapp-groups
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
whatsapp-groups
description
Discover, list, and search WhatsApp groups from Baileys session data

WhatsApp Groups Skill

Automatically discover WhatsApp groups the bot participates in by reading Baileys session cache files.

Usage

exec({ cmd: "node <skill_dir>/scripts/groups.js COMMAND [ARGS]" })

Commands

List All Groups

exec({ cmd: "node <skill_dir>/scripts/groups.js list" })

Search Group by Name

exec({ cmd: "node <skill_dir>/scripts/groups.js search \"Marketing\"" })

Get Group ID by Name

exec({ cmd: "node <skill_dir>/scripts/groups.js get-id \"Support\"" })

Sync Groups with Config

exec({ cmd: "node <skill_dir>/scripts/groups.js sync" })

Output

Commands return JSON with group information:

{
  "total": 3,
  "groups": [
    {
      "id": "5551XXXXXXXX-TIMESTAMP@g.us",
      "name": "Team Chat",
      "isActive": true
    }
  ]
}