360 Secure SkillHub
360 安全技能中心

Whatsapp Sticker

该 Skill 将本地图片转换为 512×512 的 WebP 贴纸(尽量控制在 100 KB 以内),先检查本地 Baileys 桥接连通性,再请求以原生贴纸形式发送到指定 WhatsApp 会话。需要 Node.js 20 及以上、支持 libwebp 的 FFmpeg,以及用户自有并已认证的桥接与 WhatsApp 会话。

sakumdisinipa
sakumdisinipa
热度 41.11
最近更新 2026-10-13 14:55:23
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:文件转换 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add sakumdisinipa/whatsapp-sticker-v2
Metadata
name
whatsapp-sticker
description
Convert images into WebP stickers and send native WhatsApp stickers through an existing Baileys bridge.

WhatsApp Sticker

Use this skill when the user asks to convert an image into a WhatsApp sticker and send it to a specified chat.

Requirements

  • Node.js 20 or newer.
  • FFmpeg with libwebp support.
  • A trusted, running Baileys bridge exposing /health and /send-media.
  • An authenticated WhatsApp session owned and configured by the user.
  • A valid recipient chat ID and a local image file.

Usage

Run:

node convert-send.mjs /absolute/path/to/image.jpg RECIPIENT_CHAT_ID

The script converts the image to a 512 × 512 WebP sticker, attempts to keep it under 100 KB, checks bridge connectivity, and requests native sticker delivery.

Configuration

  • WHATSAPP_BRIDGE_URL: bridge base URL; defaults to http://127.0.0.1:3000.
  • WHATSAPP_BRIDGE_FILE: path to the compatible bridge's bridge.js.
  • WHATSAPP_CHECK_BRIDGE_HASH: set to false only when intentionally using a trusted bridge without matching hash support.

Keep the bridge bound to localhost unless remote access is deliberately secured. Never expose an unauthenticated sending endpoint to the public internet.

Safety

  • Use only chat IDs supplied or confirmed by the user.
  • Never create or export another person's WhatsApp session.
  • Do not claim a sticker was delivered unless the bridge confirms the request.
  • Do not publish session files, credentials, private chat IDs, or personal data.