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

whatsapp-monitorWhatsApp monitor 效率

Agent Skill

whatsapp-monitor 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,345

周安装

138

GitHub Stars

公开资料未说明

下载量

1,093
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install whatsapp-monitor

简介

实时监控指定 WhatsApp 聊天中的关键词,并将匹配的消息批量导出到飞书多维表,并可选择提醒。

SKILL.md

name
whatsapp-monitor
description
Real-time WhatsApp message monitor that tracks specified chats or groups for keyword hits and periodically aggregates matching messages to a Feishu (Lark) multi-dimensional table. Use when: (1) You need to monitor WhatsApp conversations for specific keywords, (2) You want to collect filtered messages into a structured Feishu table, (3) You need scheduled batch reporting from WhatsApp to Feishu, (4) You're setting up automated message monitoring and alerting systems.

WhatsApp Message Monitor Skill

Overview

This skill enables automated monitoring of WhatsApp conversations, filtering for specific keywords, and batch exporting matching messages to Feishu (Lark) multi-dimensional tables.

Core Features

  • Target Monitoring: Configure WhatsApp contacts or groups to monitor
  • Keyword Filtering: Define keywords or patterns to watch for
  • Batch Collection: Accumulate messages until threshold is reached
  • Scheduled Export: Periodically push collected messages to Feishu tables
  • Real-time Alerts: Optional immediate notification for high-priority keywords

快速开始

1. 前提条件

使用此技能前,请确保:

  • WhatsApp 访问权限:个人或商业账户
  • 飞书/Lark 账户:具备 API 访问权限
  • 飞书多维表格应用:已安装和配置
  • OpenClaw WhatsApp 渠道:已配置并配对设备

2. OpenClaw 集成步骤

  1. 配置 WhatsApp 渠道
   # 在 OpenClaw 中设置 WhatsApp 渠道
   openclaw channels enable whatsapp
  1. 配对 WhatsApp 设备

- 打开浏览器访问 WhatsApp Web (web.whatsapp.com) - 扫描二维码配对设备 - 确保设备状态显示为“已连接”

  1. 安装技能依赖
   cd ~/whatsapp-monitor   # 或你的克隆目录,例如 /opt/whatsapp-monitor
   pip install -r requirements.txt
  1. 配置监控目标
   # 编辑配置文件
   python scripts/setup.py
  1. 配置飞书集成

- 获取飞书应用凭证 (App ID, App Secret) - 创建多维表格并获取 Table Token - 更新 config/feishu-settings.json

3. 首次运行

测试配置:

python scripts/monitor.py --test-config

启动监控:

python scripts/monitor.py --start

查看状态:

python scripts/monitor.py --status

2. Configuration Files

This skill uses two main configuration files:

  • config/whatsapp-targets.json - Define WhatsApp contacts/groups to monitor
  • config/feishu-settings.json - Configure Feishu API and table settings

Configuration

WhatsApp Targets

Create config/whatsapp-targets.json:

{
  "version": "1.0",
  "targets": [
    {
      "name": "Project Team Chat",
      "type": "group",  // "contact" or "group"
      "identifier": "1234567890-1234567890@g.us",  // WhatsApp group ID
      "enabled": true,
      "keywords": ["urgent", "deadline", "blocker", "issue"],
      "priority": "high"
    },
    {
      "name": "Client Support",
      "type": "contact",
      "identifier": "+1234567890@c.us",  // WhatsApp contact ID
      "enabled": true,
      "keywords": ["complaint", "escalation", "critical", "outage"],
      "priority": "medium"
    }
  ],
  "monitoring": {
    "scan_interval_minutes": 5,
    "batch_size": 10,
    "max_age_hours": 24,
    "alert_on_high_priority": true
  }
}

Feishu Settings

Create config/feishu-settings.json:

{
  "feishu": {
    "app_id": "YOUR_APP_ID",
    "app_secret": "YOUR_APP_SECRET",
    "table_app_token": "YOUR_TABLE_APP_TOKEN",
    "table_token": "YOUR_TABLE_TOKEN"
  },
  "table": {
    "name": "WhatsApp Monitor Log",
    "fields": [
      {"name": "timestamp", "type": "datetime"},
      {"name": "source", "type": "text"},
      {"name": "sender", "type": "text"},
      {"name": "message", "type": "text"},
      {"name": "keyword_matched", "type": "text"},
      {"name": "priority", "type": "text"}
    ]
  },
  "export": {
    "batch_threshold": 10,
    "schedule": "every 30 minutes",
    "retry_on_failure": true,
    "max_retries": 3
  }
}

使用工作流

设置阶段

  1. 初始化配置 - 设置监控目标和飞书凭证
   python scripts/setup.py
  1. 测试连接 - 验证 WhatsApp 和飞书 API 连接
   python scripts/monitor.py --test-config
  1. 启动监控 - 开始扫描配置的聊天
   python scripts/monitor.py --start

OpenClaw Skill 集成

在 OpenClaw 中使用此技能:

# 加载技能(路径改为本机 Linux 上的技能目录)
openclaw skills load ~/whatsapp-monitor

# 或直接调用技能函数
openclaw skills run whatsapp-monitor --start

定时任务设置

通过 OpenClaw cron 设置定时监控:

# 创建定时任务
schedule:
  kind: "cron"
  expr: "*/5 * * * *"  # 每5分钟运行一次
payload:
  kind: "agentTurn"
  message: "运行 WhatsApp 消息监控"
  sessionTarget: "isolated"

实时通知配置

配置实时告警(当匹配到高优先级关键词时):

  1. config/whatsapp-targets.json 中设置:
{
  "monitoring": {
    "alert_on_high_priority": true
  }
}
  1. 配置通知渠道(可选):

- 飞书机器人消息 - 电子邮件通知 - 短信告警

Monitoring Phase

The system will:

  1. Periodically check configured WhatsApp chats
  2. Filter messages for keyword matches
  3. Store matching messages locally
  4. Export to Feishu when batch threshold is reached or on schedule

Export Phase

When ready to export, the system will:

  1. Format collected messages according to table schema
  2. Push to Feishu multi-dimensional table
  3. Clear local cache after successful export
  4. Log export status and any errors

Tools and Scripts

Core Monitoring Script

See scripts/monitor.py for the main monitoring logic.

Configuration Management

See scripts/config.py for handling configuration files.

Feishu API Integration

See scripts/feishu_client.py for Feishu table operations.

WhatsApp Web Automation

See scripts/whatsapp_web.py for WhatsApp Web interaction.

Advanced Features

Custom Filters

Beyond simple keywords, you can implement:

  • Regular expression patterns
  • Sentiment analysis
  • Time-based rules
  • Sender-specific filters

Alerting Options

Configure additional alert channels:

  • Email notifications
  • Slack/Teams messages
  • SMS alerts
  • Push notifications

Data Enrichment

Enhance collected messages with:

  • Sentiment scores
  • Entity extraction
  • Topic classification
  • Translation services

Troubleshooting

Common Issues

  1. WhatsApp Web Connection - Ensure browser automation is working
  2. Feishu API Permissions - Verify app has correct table permissions
  3. Keyword Matching - Check for case sensitivity and special characters

Monitoring Status

Check monitoring logs in logs/whatsapp-monitor.log for operational details and errors.

Integration Examples

Combine with Other Skills

This skill can be combined with:

  • Calendar Integration - Trigger calendar events based on messages
  • Task Management - Create tasks from important messages
  • CRM Systems - Update customer records from support chats

Automated Reporting

Set up automated reports:

  • Daily summary reports
  • Weekly keyword trend analysis
  • Monthly activity reports

Security Considerations

  • Store sensitive credentials securely (use environment variables)
  • Implement rate limiting for API calls
  • Regularly audit access logs
  • Consider data retention policies

Performance Optimization

For high-volume monitoring:

  • Implement message deduplication
  • Use batch API calls for Feishu
  • Optimize keyword matching algorithms
  • Consider distributed monitoring for multiple accounts

Maintenance

Regular maintenance tasks:

  • Update keyword lists periodically
  • Review export success rates
  • Monitor API rate limits
  • Backup configuration and logs

References

For detailed API documentation and additional resources, see:

Quick Commands

Start Monitoring

python scripts/monitor.py --start

Force Export

python scripts/monitor.py --export

View Status

python scripts/monitor.py --status

Test Configuration

python scripts/monitor.py --test-config

Support

For assistance or feature requests, refer to the troubleshooting section or contact the skill maintainer.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

92.02%
按下载量换算1,006

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills