Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

wecom-post-in-groupwecom 在群里发帖

Agent Skill

wecom-post-in-group 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,170

周安装

308

GitHub Stars

公开资料未说明

下载量

2,513
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install wecom-post-in-group

简介

定期向企业微信群组推送内容,支持灵活时间调度。

  • 可配置固定周期或自定义触发条件进行消息分发。
  • 适用于公告发布、进度同步等团队协作场景。wecom-post-in-group 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 需确保Webhook地址有效且具备群聊发送权限。
  • 建议设置内容审核机制防止误发或重复消息。

SKILL.md

name
scheduled-webhook-push
description
This skill should be used when users want to set up scheduled or recurring content push to WeChat Work group webhooks. It supports flexible scheduling including daily, weekly, monthly (specific date), and advanced patterns like last Monday of each month. Trigger phrases include webhook推送, 定时推送, 推送到企微, 企微群机器人, scheduled push, periodic webhook, 按天推送, 按周推送, 按月推送.

Scheduled Webhook Push Skill

Purpose

Provide a complete workflow for setting up scheduled content push to WeChat Work (企业微信) group webhooks. This skill handles webhook configuration, flexible schedule patterns, content formatting, and automation creation.

When to Use

  • User wants to push content to a WeChat Work group webhook on a schedule
  • User mentions webhook ID/URL and a push frequency (daily, weekly, monthly, or custom)
  • User wants to configure recurring automated messages to 企业微信 groups
  • User provides a webhook key or full URL and wants to set up automation

Workflow

Step 1: Parse Webhook Configuration

Extract the webhook information from user input. The webhook can be provided in multiple formats:

  1. Full URL: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  2. Key only: adeee643-bc8e-4ad1-bb52-83001cd5986e
  3. From a file: User may specify a file path containing the webhook key/URL

If provided as key only, construct the full URL:

https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key={KEY}

To validate the webhook, run the validation script:

python3 {SKILL_DIR}/scripts/validate_webhook.py <webhook_url_or_key>

Step 2: Determine Schedule Pattern

Parse the user's desired schedule into one of the supported patterns. Refer to references/schedule_patterns.md for the full mapping of natural language to RRULE + date-guard logic.

Supported schedule types:

TypeExamplesImplementation
Daily每天、每日、dailyRRULE: FREQ=HOURLY;INTERVAL=24
Weekly每周一、每周五、weekly on MondayRRULE: FREQ=WEEKLY;BYDAY=MO;BYHOUR=10;BYMINUTE=0
Monthly (fixed date)每月1日、每月27号、monthly on the 15thRRULE: FREQ=HOURLY;INTERVAL=24 + date guard day == N
Monthly (pattern)每月最后一周的周一、first Monday of each monthRRULE: FREQ=WEEKLY;BYDAY=MO;BYHOUR=10;BYMINUTE=0 + date guard

Date guard logic for monthly patterns (used in automation prompt):

  • Fixed date (e.g. 每月27日): Add to prompt: 首先检查今天的日期,如果今天不是每月的 {N} 日,则直接结束,不执行任何操作。
  • Last Monday of month: Add to prompt: 首先检查今天的日期,计算本月最后一个周一的日期(本月最后一天往前找到第一个周一),如果今天不是该日期,则直接结束。
  • First Monday of month: Add to prompt: 首先检查今天的日期,如果今天的日期不在 1-7 号之间,则直接结束。
  • Last week of month: Add to prompt: 首先检查今天的日期,如果今天的日期加 7 后仍在本月内(即不是最后一周),则直接结束。

Step 3: Determine Push Content

Ask the user what content to push, or infer from context. Common content types:

  1. GitHub Trending — Fetch and summarize trending AI/tech repos
  2. Custom message — User-provided static or template message
  3. Data report — Query data and format as report
  4. URL content — Fetch and summarize a web page

Step 4: Test the Push

Before creating the automation, perform a one-time test push to verify the webhook and content formatting.

Use the push script to send a test message:

python3 {SKILL_DIR}/scripts/push_to_webhook.py \
  --webhook "<WEBHOOK_URL>" \
  --format markdown \
  --message "<FORMATTED_CONTENT>"

Or use curl directly:

curl -s '<WEBHOOK_URL>' \
  -H 'Content-Type: application/json' \
  -d '{"msgtype":"markdown","markdown":{"content":"<CONTENT>"}}'

Verify the response is {"errcode":0,"errmsg":"ok"}.

Step 5: Create the Automation

Use the automation_update tool with the following configuration:

mode: "suggested create"
name: <descriptive name based on content and schedule>
prompt: <date guard if needed> + <content generation steps> + <push via webhook>
rrule: <computed RRULE from Step 2>
cwds: <current workspace>
status: ACTIVE

Automation prompt template:

{DATE_GUARD_IF_NEEDED}

执行以下步骤:

1. {CONTENT_GENERATION_STEPS}

2. 将整理好的内容通过企业微信群机器人 Webhook 推送,Webhook 地址为:{WEBHOOK_URL}

3. 推送格式使用 {FORMAT},确保内容格式正确、可读性好。

Step 6: Confirm to User

After creating the automation, summarize the configuration:

  • Task name: What was created
  • Schedule: Human-readable description (e.g. "每月 27 日上午 10:00")
  • Webhook: Target webhook (masked key for security: show first 8 and last 4 chars)
  • Content: What will be pushed
  • Status: Active/Paused

Message Format Reference

WeChat Work webhook supports these message types:

Markdown (recommended for rich content)

{
  "msgtype": "markdown",
  "markdown": {
    "content": "# Title\
> Quote\
**Bold** <font color=\"warning\">Warning</font>"
  }
}

Supported markdown elements:

  • Headers: #, ##, ###
  • Bold: **text**
  • Links: [text](url)
  • Quotes: > text
  • Color: <font color="info|comment|warning">text</font>
  • Line breaks: `\

`

Text (for simple messages)

{
  "msgtype": "text",
  "text": {
    "content": "Message content",
    "mentioned_list": ["@all"]
  }
}

Important Notes

  • WeChat Work webhook has a rate limit of 20 messages per minute per webhook
  • Markdown message content has a max length of 4096 bytes
  • If content exceeds the limit, split into multiple messages
  • Always mask webhook keys in user-facing output for security
  • The automation scheduling system only supports HOURLY and WEEKLY RRULE frequencies; for monthly schedules, use a date guard in the prompt

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

76.02%
按下载量换算1,910

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills