Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

whatsapp-happybdayWhatsApp happybday 搜索

Agent Skill

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

总安装

3,182

周安装

130

GitHub Stars

公开资料未说明

下载量

1,019
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:whatsapp-happybday(WhatsApp happybday 搜索)
来源仓库:https://github.com/zero-astro/whatsapp-happybday
安装命令:
openclaw skills install whatsapp-happybday
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install whatsapp-happybday

简介

用于查找、检索和筛选相关信息,支持动态生日检测。

  • 适用于监控 WhatsApp 群组并识别关键字如“生日”的场景。
  • 自动检测人物和祝贺内容,生成个性化祝福消息。
  • 安装前需确认群组访问权限和消息读取许可。whatsapp-happybday 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议核实原始文档中的关键字过滤规则和隐私保护措施。

SKILL.md

name
whatsapp-happybday
version
1.0.2
description
Monitor WhatsApp groups to dynamically detect people who should be congratulated. It identifies keywords (e.g., "birthday", "congratulations") and the person's name using a score-based system, then automatically sends a random customizable congratulatory message.
triggers
metadata
openclaw
requires
bins
env
primaryEnv
BIRTHDAY_MIN_MESSAGES
homepage
https://github.com/zero-astro/whatsapp-happybday

WhatsApp HappyBDay Skill

A skill to automatically detect when someone is being congratulated in WhatsApp groups and send them a random, customizable congratulatory message.

It dynamically checks recent messages across all active groups, uses a score-based NLP approach to prevent false positives, and supports any language via customizable dictionaries.

Features

  • Dynamic Group Monitoring: Automatically fetches active groups and recent messages via wacli. No need to hardcode group names.
  • Score-Based Keyword Detection: Uses a weighted scoring system (e.g., "birthday" = +40 pts, "family" = -50 pts) to accurately detect congratulatory intent.
  • Name Identification: Extracts the name of the person being congratulated from the messages using Regex and dictionary filtering.
  • Enhanced Skip List: Supports both permanent skips (e.g., your own name) AND date-based skips (skip only on specific birthdays). Format: "Name|MM-DD,OtherName" where names with |MM-DD are skipped ONLY on that date, and names without the pipe are permanently skipped.
  • Fully Customizable: Uses external JSON files (messages.json and scoring_words.json) so you can adapt it to any language or vibe.
  • Simulation Mode: Test the logic safely without actually sending messages.

Dependencies

  • Python 3: Ensure Python 3 is installed on your system.
  • Python Packages: The script requires the python-dotenv package to read environment variables from .env. You can install it using the provided requirements.txt:
  pip install -r ~/.openclaw/skills/whatsapp-happybday/requirements.txt
  • wacli: OpenClaw already provides a wacli skill out of the box. Just ensure that the wacli skill is activated, available to the agent, and properly configured (i.e., you have completed the authentication process by following its own instructions).

Setup & Configuration

To make the skill work, you need to configure a few environment variables and (optionally) customize the dictionaries.

1. Environment Variables (.env)

Create a .env file in the skill's root directory (~/.openclaw/skills/whatsapp-happybday/.env) or export these variables in your environment:

# Skip list with enhanced format:
# - "Name|MM-DD" = skip this person ONLY on their birthday (date-based)
# - "Name" (no pipe) = permanently skip this name (e.g., your own name)
# Examples: "John|01-15,Jane,Alice|12-25"
export BIRTHDAY_SKIP_LIST="Urtzi|03-16,Iraide,Xune,Eñaut|08-25"

# Minimum messages mentioning the name before triggering (default: 3)
export BIRTHDAY_MIN_MESSAGES="3"

# Minimum score threshold to trigger the congratulation (default: 120)
export BIRTHDAY_CONFIDENCE_THRESHOLD="120"

# Simulation mode (true = dry-run/logging only, false = actually send messages) (default: true)
export BIRTHDAY_SIMULATE="true"

2. Dictionaries

The skill uses two JSON files. If they don't exist, it uses English defaults.

scoring_words.json: Defines the words and their point values.

{
  "birthday": {"words": ["birthday", "years", "candle", "cake"], "points": 40},
  "general": {"words": ["congratulations", "congrats", "celebrate", "day", "happy", "party"], "points": 15},
  "negative": {"words": ["family", "son", "daughter", "child", "kid", "work", "job"], "points": -50}
}

messages.json: Templates for the automated responses.

{
  "greetings": [
    "Happy birthday, {name}!", 
    "Congrats {name}!!"
  ],
  "wishes": [
    "Have a great day!", 
    "Wishing you the best!"
  ],
  "emojis": ["🎉", "🎂", "🥳"]
}

*Note: The script combines one greeting, one wish, and 1-4 random emojis.*

Agent Integration

For the system to work autonomously, your OpenClaw agent needs to continuously sync WhatsApp messages and run the detection script.

1. Syncing Messages (HEARTBEAT.md)

The Python script reads from the local wacli database, so it must be kept up to date. Add the following to your workspace's HEARTBEAT.md:

## WhatsApp Synchronization and Birthday/Congrats Monitoring

- **Action:** Run `wacli sync --once`. Afterward, check if there are any new congratulatory/birthday messages in the configured WhatsApp groups.
- **Silence Rule (CRITICAL):** If there are no errors AND no new congratulatory messages or new people detected to congratulate, **DO NOT SEND ANY MESSAGE**. Respond ONLY with the exact string `HEARTBEAT_OK`. The user does not want to receive empty notifications or status updates between 08:00 and 20:00. Only report positive findings or critical system errors.

2. Automated Execution (Cron Job)

Create a cron job to run the monitor script periodically (e.g., every hour between 8 AM and 8 PM). Run this in your terminal:

openclaw cron add \
  --name "WhatsApp HappyBDay Monitor" \
  --cron "0 8-20 * * *" \
  --message "Run this command: python3 ~/.openclaw/skills/whatsapp-happybday/scripts/whatsapp_happybday.py. Examine the script's output carefully. If the script sent a congratulatory message to someone, reply with a short summary saying who received it. If the script encountered an error, reply explaining the exact error message. If neither happened (no message sent and no errors), reply ONLY with exactly HEARTBEAT_OK."

How It Works Under the Hood

  1. Message Fetching: Iterates through all active WhatsApp groups and fetches recent messages for the current day.
  2. Scoring: Calculates a score for each message based on scoring_words.json. Messages with a score <= 0 are ignored.
  3. Name Extraction: Uses Regex to find capitalized proper nouns, filtering out dictionary words.
  4. Validation: Checks if the name has reached the BIRTHDAY_MIN_MESSAGES count and the combined BIRTHDAY_CONFIDENCE_THRESHOLD score. It also checks the BIRTHDAY_SKIP_LIST.
  5. State Tracking: Stores its progress in data/name_counter.json. This file tracks which messages have been processed, the accumulated scores and message counts for each detected name, and a list of people who have already been congratulated today (to prevent duplicate messages). Older data is automatically purged after 7 days.
  6. Dispatch: Formats a random message from messages.json and sends it using wacli (unless BIRTHDAY_SIMULATE is true).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

85.86%
按下载量换算875

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills