360 Secure SkillHub
360 安全技能中心

WhatsApp Contacts

通过 Node 脚本读取本地 Baileys WhatsApp 会话缓存,提供 list(按数量列出)、search(按姓名或电话搜索)和 get(按号码查询)三个命令,仅能获取曾与已连接账号互动过的联系人;需通过宿主执行命令调用,不涉及发送消息或修改联系人。

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

安装

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

WhatsApp Contacts Skill

Read and search contacts stored in the local Baileys WhatsApp session.

Usage

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

Commands

List Contacts

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

Search by Name or Phone

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

Get Contact Info

exec({ cmd: "node <skill_dir>/scripts/contacts.js get 5511999999999" })

Note

This skill reads contacts from the local Baileys session cache. Only contacts that have previously interacted with the connected account will be available.