Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

whatsapp-automationWhatsApp 自动化

Agent Skill

whatsapp-automation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,270

周安装

54

GitHub Stars

2,761

下载量

445
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:whatsapp-automation(WhatsApp 自动化)
来源仓库:https://github.com/davepoon/buildwithclaude
仓库路径:skills/whatsapp-automation
安装命令:
npx skills add https://github.com/davepoon/buildwithclaude --skill whatsapp-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/davepoon/buildwithclaude --skill whatsapp-automation

简介

基于 Composio 的 WhatsApp Business 工具集实现消息群发与客户沟通自动化。

  • 适用于客服系统与营销通知等合规通信场景。
  • 需先调用 RUBE_SEARCH_TOOLS 获取工具结构,再配置 WhatsApp Business API 账户。
  • 配置时将 https://rube.app/mcp 设为 MCP 服务器,无需额外申请 API 密钥。
  • whatsapp-automation 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

WhatsApp Business Automation via Rube MCP

Automate WhatsApp Business operations through Composio's WhatsApp toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/whatsapp

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active WhatsApp connection via RUBE_MANAGE_CONNECTIONS with toolkit whatsapp
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas
  • WhatsApp Business API account required (not regular WhatsApp)

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit whatsapp
  3. If connection is not ACTIVE, follow the returned auth link to complete WhatsApp Business setup
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Send a Text Message

When to use: User wants to send a text message to a WhatsApp contact

Tool sequence:

  1. WHATSAPP_GET_PHONE_NUMBERS - List available business phone numbers [Prerequisite]
  2. WHATSAPP_SEND_MESSAGE - Send a text message [Required]

Key parameters:

  • to: Recipient phone number in international format (e.g., '+14155551234')
  • body: Message text content
  • phone_number_id: Business phone number ID to send from

Pitfalls:

  • Phone numbers must be in international E.164 format with country code
  • Messages outside the 24-hour window require approved templates
  • The 24-hour window starts when the customer last messaged you
  • Business-initiated conversations require template messages first

2. Send Template Messages

When to use: User wants to send pre-approved template messages for outbound communication

Tool sequence:

  1. WHATSAPP_GET_MESSAGE_TEMPLATES - List available templates [Prerequisite]
  2. WHATSAPP_GET_TEMPLATE_STATUS - Check template approval status [Optional]
  3. WHATSAPP_SEND_TEMPLATE_MESSAGE - Send the template message [Required]

Key parameters:

  • template_name: Name of the approved template
  • language_code: Template language (e.g., 'en_US')
  • to: Recipient phone number
  • components: Template variable values and parameters

Pitfalls:

  • Templates must be approved by Meta before use
  • Template variables must match the expected count and format
  • Sending unapproved or rejected templates returns errors
  • Language code must match an approved translation of the template

3. Send Media Messages

When to use: User wants to send images, documents, or other media

Tool sequence:

  1. WHATSAPP_UPLOAD_MEDIA - Upload media to WhatsApp servers [Required]
  2. WHATSAPP_SEND_MEDIA_BY_ID - Send media using the uploaded media ID [Required] OR
  3. WHATSAPP_SEND_MEDIA - Send media using a public URL [Alternative]

Key parameters:

  • media_url: Public URL of the media (for SEND_MEDIA)
  • media_id: ID from upload response (for SEND_MEDIA_BY_ID)
  • type: Media type ('image', 'document', 'audio', 'video', 'sticker')
  • caption: Optional caption for the media

Pitfalls:

  • Uploaded media IDs are temporary and expire after a period
  • Media size limits vary by type (images: 5MB, videos: 16MB, documents: 100MB)
  • Supported formats: images (JPEG, PNG), videos (MP4, 3GPP), documents (PDF, etc.)
  • SEND_MEDIA requires a publicly accessible HTTPS URL

4. Reply to Messages

When to use: User wants to reply to an incoming WhatsApp message

Tool sequence:

  1. WHATSAPP_SEND_REPLY - Send a reply to a specific message [Required]

Key parameters:

  • message_id: ID of the message being replied to
  • to: Recipient phone number
  • body: Reply text content

Pitfalls:

  • message_id must be from a message received within the 24-hour window
  • Replies appear as quoted messages in the conversation
  • The original message must still exist (not deleted) for the quote to display

5. Manage Business Profile and Templates

When to use: User wants to view or manage their WhatsApp Business profile

Tool sequence:

  1. WHATSAPP_GET_BUSINESS_PROFILE - Get business profile details [Optional]
  2. WHATSAPP_GET_PHONE_NUMBERS - List registered phone numbers [Optional]
  3. WHATSAPP_GET_PHONE_NUMBER - Get details for a specific number [Optional]
  4. WHATSAPP_CREATE_MESSAGE_TEMPLATE - Create a new template [Optional]
  5. WHATSAPP_GET_MESSAGE_TEMPLATES - List all templates [Optional]

Key parameters:

  • phone_number_id: Business phone number ID
  • template_name: Name for the new template
  • category: Template category (MARKETING, UTILITY, AUTHENTICATION)
  • language: Template language code

Pitfalls:

  • New templates require Meta review before they can be used
  • Template names must be lowercase with underscores (no spaces)
  • Category affects pricing and approval criteria
  • Templates have specific formatting requirements for headers, body, and buttons

6. Share Contacts

When to use: User wants to send contact information via WhatsApp

Tool sequence:

  1. WHATSAPP_SEND_CONTACTS - Send contact cards [Required]

Key parameters:

  • to: Recipient phone number
  • contacts: Array of contact objects with name, phone, email details

Pitfalls:

  • Contact objects must follow the WhatsApp Business API contact schema
  • At least a name field is required for each contact
  • Phone numbers in contacts should include country codes

Common Patterns

24-Hour Messaging Window

  • Customers must message you first to open a conversation window
  • Within 24 hours of their last message, you can send free-form messages
  • After 24 hours, only approved template messages can be sent
  • Template messages can re-open the conversation window

Phone Number Resolution

1. Call WHATSAPP_GET_PHONE_NUMBERS
2. Extract phone_number_id for your business number
3. Use phone_number_id in all send operations

Media Upload Flow

1. Call WHATSAPP_UPLOAD_MEDIA with the file
2. Extract media_id from response
3. Call WHATSAPP_SEND_MEDIA_BY_ID with media_id
4. OR use WHATSAPP_SEND_MEDIA with a public URL directly

Known Pitfalls

Phone Number Format:

  • Always use E.164 format: +[country code][number] (e.g., '+14155551234')
  • Do not include dashes, spaces, or parentheses
  • Country code is required; local numbers without it will fail

Messaging Restrictions:

  • Business-initiated messages require templates outside the 24-hour window
  • Template messages cost money per conversation
  • Rate limits apply per phone number and per account

Media Handling:

  • Uploaded media expires; use promptly after upload
  • Media URLs must be publicly accessible HTTPS
  • Stickers have specific requirements (WebP format, 512x512 pixels)

Template Management:

  • Template review can take up to 24 hours
  • Rejected templates need to be fixed and resubmitted
  • Template variables use double curly braces: {{1}}, {{2}}, etc.

Quick Reference

TaskTool SlugKey Params
Send messageWHATSAPP_SEND_MESSAGEto, body
Send templateWHATSAPP_SEND_TEMPLATE_MESSAGEtemplate_name, to, language_code
Upload mediaWHATSAPP_UPLOAD_MEDIA(file params)
Send media by IDWHATSAPP_SEND_MEDIA_BY_IDmedia_id, to, type
Send media by URLWHATSAPP_SEND_MEDIAmedia_url, to, type
Reply to messageWHATSAPP_SEND_REPLYmessage_id, to, body
Send contactsWHATSAPP_SEND_CONTACTSto, contacts
Get mediaWHATSAPP_GET_MEDIAmedia_id
List phone numbersWHATSAPP_GET_PHONE_NUMBERS(none)
Get phone numberWHATSAPP_GET_PHONE_NUMBERphone_number_id
Get business profileWHATSAPP_GET_BUSINESS_PROFILEphone_number_id
Create templateWHATSAPP_CREATE_MESSAGE_TEMPLATEtemplate_name, category, language
List templatesWHATSAPP_GET_MESSAGE_TEMPLATES(none)
Check template statusWHATSAPP_GET_TEMPLATE_STATUStemplate_id

*Powered by Composio*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.61%
按下载量换算172

Claude

28.53%
按下载量换算127

Cursor

18.63%
按下载量换算83

Gemini CLI

10.62%
按下载量换算47

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills