[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Y8MNR0FFS0CX4E4RT9ZMK":3,"skill-same:01M77Y8MNR0FFS0CX4E4RT9ZMK":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M77Y8MNR0FFS0CX4E4RT9ZMK","whatsapp-happybday",null,"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.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fw\u002Fwhatsapp-happybday\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: whatsapp-happybday\nversion: 1.0.2\ndescription: 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.\ntriggers:\n  - whatsapp happybday\n  - monitor whatsapp group\n  - send congratulations\n  - whatsapp congratulate\nmetadata:\n  openclaw:\n    requires:\n      bins:\n        - python3\n      env:\n        - BIRTHDAY_MIN_MESSAGES\n        - BIRTHDAY_CONFIDENCE_THRESHOLD\n        - BIRTHDAY_SIMULATE\n    primaryEnv: BIRTHDAY_MIN_MESSAGES\n    homepage: https:\u002F\u002Fgithub.com\u002Fzero-astro\u002Fwhatsapp-happybday\n---\n\n# WhatsApp HappyBDay Skill\n\nA skill to automatically detect when someone is being congratulated in WhatsApp groups and send them a random, customizable congratulatory message. \n\nIt 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.\n\n## Features\n\n- **Dynamic Group Monitoring**: Automatically fetches active groups and recent messages via `wacli`. No need to hardcode group names.\n- **Score-Based Keyword Detection**: Uses a weighted scoring system (e.g., \"birthday\" = +40 pts, \"family\" = -50 pts) to accurately detect congratulatory intent.\n- **Name Identification**: Extracts the name of the person being congratulated from the messages using Regex and dictionary filtering.\n- **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.\n- **Fully Customizable**: Uses external JSON files (`messages.json` and `scoring_words.json`) so you can adapt it to any language or vibe.\n- **Simulation Mode**: Test the logic safely without actually sending messages.\n\n## Dependencies\n\n- **Python 3**: Ensure Python 3 is installed on your system.\n- **Python Packages**: The script requires the `python-dotenv` package to read environment variables from `.env`. You can install it using the provided `requirements.txt`:\n  ```bash\n  pip install -r ~\u002F.openclaw\u002Fskills\u002Fwhatsapp-happybday\u002Frequirements.txt\n  ```\n- **`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).\n\n## Setup & Configuration\n\nTo make the skill work, you need to configure a few environment variables and (optionally) customize the dictionaries.\n\n### 1. Environment Variables (`.env`)\nCreate a `.env` file in the skill's root directory (`~\u002F.openclaw\u002Fskills\u002Fwhatsapp-happybday\u002F.env`) or export these variables in your environment:\n\n```bash\n# Skip list with enhanced format:\n# - \"Name|MM-DD\" = skip this person ONLY on their birthday (date-based)\n# - \"Name\" (no pipe) = permanently skip this name (e.g., your own name)\n# Examples: \"John|01-15,Jane,Alice|12-25\"\nexport BIRTHDAY_SKIP_LIST=\"Urtzi|03-16,Iraide,Xune,Eñaut|08-25\"\n\n# Minimum messages mentioning the name before triggering (default: 3)\nexport BIRTHDAY_MIN_MESSAGES=\"3\"\n\n# Minimum score threshold to trigger the congratulation (default: 120)\nexport BIRTHDAY_CONFIDENCE_THRESHOLD=\"120\"\n\n# Simulation mode (true = dry-run\u002Flogging only, false = actually send messages) (default: true)\nexport BIRTHDAY_SIMULATE=\"true\"\n```\n\n### 2. Dictionaries\n\nThe skill uses two JSON files. If they don't exist, it uses English defaults.\n\n**`scoring_words.json`**: Defines the words and their point values.\n```json\n{\n  \"birthday\": {\"words\": [\"birthday\", \"years\", \"candle\", \"cake\"], \"points\": 40},\n  \"general\": {\"words\": [\"congratulations\", \"congrats\", \"celebrate\", \"day\", \"happy\", \"party\"], \"points\": 15},\n  \"negative\": {\"words\": [\"family\", \"son\", \"daughter\", \"child\", \"kid\", \"work\", \"job\"], \"points\": -50}\n}\n```\n\n**`messages.json`**: Templates for the automated responses.\n```json\n{\n  \"greetings\": [\n    \"Happy birthday, {name}!\", \n    \"Congrats {name}!!\"\n  ],\n  \"wishes\": [\n    \"Have a great day!\", \n    \"Wishing you the best!\"\n  ],\n  \"emojis\": [\"🎉\", \"🎂\", \"🥳\"]\n}\n```\n*Note: The script combines one greeting, one wish, and 1-4 random emojis.*\n\n## Agent Integration\n\nFor the system to work autonomously, your OpenClaw agent needs to continuously sync WhatsApp messages and run the detection script.\n\n### 1. Syncing Messages (`HEARTBEAT.md`)\nThe 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`:\n\n```markdown\n## WhatsApp Synchronization and Birthday\u002FCongrats Monitoring\n\n- **Action:** Run `wacli sync --once`. Afterward, check if there are any new congratulatory\u002Fbirthday messages in the configured WhatsApp groups.\n- **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.\n```\n\n### 2. Automated Execution (Cron Job)\nCreate a cron job to run the monitor script periodically (e.g., every hour between 8 AM and 8 PM). Run this in your terminal:\n\n```bash\nopenclaw cron add \\\n  --name \"WhatsApp HappyBDay Monitor\" \\\n  --cron \"0 8-20 * * *\" \\\n  --message \"Run this command: python3 ~\u002F.openclaw\u002Fskills\u002Fwhatsapp-happybday\u002Fscripts\u002Fwhatsapp_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.\"\n```\n\n## How It Works Under the Hood\n\n1. **Message Fetching**: Iterates through all active WhatsApp groups and fetches recent messages for the current day.\n2. **Scoring**: Calculates a score for each message based on `scoring_words.json`. Messages with a score \u003C= 0 are ignored.\n3. **Name Extraction**: Uses Regex to find capitalized proper nouns, filtering out dictionary words.\n4. **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`.\n5. **State Tracking**: Stores its progress in `data\u002Fname_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.\n6. **Dispatch**: Formats a random message from `messages.json` and sends it using `wacli` (unless `BIRTHDAY_SIMULATE` is true).","# WhatsApp HappyBDay Skill\n\nA skill to automatically detect when someone is being congratulated in WhatsApp groups and send them a random, customizable congratulatory message. \n\nIt 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.\n\n## Features\n\n- **Dynamic Group Monitoring**: Automatically fetches active groups and recent messages via `wacli`. No need to hardcode group names.\n- **Score-Based Keyword Detection**: Uses a weighted scoring system (e.g., \"birthday\" = +40 pts, \"family\" = -50 pts) to accurately detect congratulatory intent.\n- **Name Identification**: Extracts the name of the person being congratulated from the messages using Regex and dictionary filtering.\n- **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.\n- **Fully Customizable**: Uses external JSON files (`messages.json` and `scoring_words.json`) so you can adapt it to any language or vibe.\n- **Simulation Mode**: Test the logic safely without actually sending messages.\n\n## Dependencies\n\n- **Python 3**: Ensure Python 3 is installed on your system.\n- **Python Packages**: The script requires the `python-dotenv` package to read environment variables from `.env`. You can install it using the provided `requirements.txt`:\n  ```bash\n  pip install -r ~\u002F.openclaw\u002Fskills\u002Fwhatsapp-happybday\u002Frequirements.txt\n  ```\n- **`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).\n\n## Setup & Configuration\n\nTo make the skill work, you need to configure a few environment variables and (optionally) customize the dictionaries.\n\n### 1. Environment Variables (`.env`)\nCreate a `.env` file in the skill's root directory (`~\u002F.openclaw\u002Fskills\u002Fwhatsapp-happybday\u002F.env`) or export these variables in your environment:\n\n```bash\n# Skip list with enhanced format:\n# - \"Name|MM-DD\" = skip this person ONLY on their birthday (date-based)\n# - \"Name\" (no pipe) = permanently skip this name (e.g., your own name)\n# Examples: \"John|01-15,Jane,Alice|12-25\"\nexport BIRTHDAY_SKIP_LIST=\"Urtzi|03-16,Iraide,Xune,Eñaut|08-25\"\n\n# Minimum messages mentioning the name before triggering (default: 3)\nexport BIRTHDAY_MIN_MESSAGES=\"3\"\n\n# Minimum score threshold to trigger the congratulation (default: 120)\nexport BIRTHDAY_CONFIDENCE_THRESHOLD=\"120\"\n\n# Simulation mode (true = dry-run\u002Flogging only, false = actually send messages) (default: true)\nexport BIRTHDAY_SIMULATE=\"true\"\n```\n\n### 2. Dictionaries\n\nThe skill uses two JSON files. If they don't exist, it uses English defaults.\n\n**`scoring_words.json`**: Defines the words and their point values.\n```json\n{\n  \"birthday\": {\"words\": [\"birthday\", \"years\", \"candle\", \"cake\"], \"points\": 40},\n  \"general\": {\"words\": [\"congratulations\", \"congrats\", \"celebrate\", \"day\", \"happy\", \"party\"], \"points\": 15},\n  \"negative\": {\"words\": [\"family\", \"son\", \"daughter\", \"child\", \"kid\", \"work\", \"job\"], \"points\": -50}\n}\n```\n\n**`messages.json`**: Templates for the automated responses.\n```json\n{\n  \"greetings\": [\n    \"Happy birthday, {name}!\", \n    \"Congrats {name}!!\"\n  ],\n  \"wishes\": [\n    \"Have a great day!\", \n    \"Wishing you the best!\"\n  ],\n  \"emojis\": [\"🎉\", \"🎂\", \"🥳\"]\n}\n```\n*Note: The script combines one greeting, one wish, and 1-4 random emojis.*\n\n## Agent Integration\n\nFor the system to work autonomously, your OpenClaw agent needs to continuously sync WhatsApp messages and run the detection script.\n\n### 1. Syncing Messages (`HEARTBEAT.md`)\nThe 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`:\n\n```markdown\n## WhatsApp Synchronization and Birthday\u002FCongrats Monitoring\n\n- **Action:** Run `wacli sync --once`. Afterward, check if there are any new congratulatory\u002Fbirthday messages in the configured WhatsApp groups.\n- **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.\n```\n\n### 2. Automated Execution (Cron Job)\nCreate a cron job to run the monitor script periodically (e.g., every hour between 8 AM and 8 PM). Run this in your terminal:\n\n```bash\nopenclaw cron add \\\n  --name \"WhatsApp HappyBDay Monitor\" \\\n  --cron \"0 8-20 * * *\" \\\n  --message \"Run this command: python3 ~\u002F.openclaw\u002Fskills\u002Fwhatsapp-happybday\u002Fscripts\u002Fwhatsapp_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.\"\n```\n\n## How It Works Under the Hood\n\n1. **Message Fetching**: Iterates through all active WhatsApp groups and fetches recent messages for the current day.\n2. **Scoring**: Calculates a score for each message based on `scoring_words.json`. Messages with a score \u003C= 0 are ignored.\n3. **Name Extraction**: Uses Regex to find capitalized proper nouns, filtering out dictionary words.\n4. **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`.\n5. **State Tracking**: Stores its progress in `data\u002Fname_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.\n6. **Dispatch**: Formats a random message from `messages.json` and sends it using `wacli` (unless `BIRTHDAY_SIMULATE` is true).",{"name":5,"version":24,"metadata":25,"triggers":35,"description":7},"1.0.2",{"openclaw":26},{"homepage":27,"requires":28,"primaryEnv":30},"https:\u002F\u002Fgithub.com\u002Fzero-astro\u002Fwhatsapp-happybday",{"env":29,"bins":33},[30,31,32],"BIRTHDAY_MIN_MESSAGES","BIRTHDAY_CONFIDENCE_THRESHOLD","BIRTHDAY_SIMULATE",[34],"python3",[36,37,38,39],"whatsapp happybday","monitor whatsapp group","send congratulations","whatsapp congratulate","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fw\u002Fwhatsapp-happybday",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill whatsapp-happybday",{"tool":55,"command":56},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill whatsapp-happybday",{"tool":58,"command":59},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill whatsapp-happybday","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fw\u002Fwhatsapp-happybday\u002FSKILL.md",true,[],[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]