Xpersona
W

WeCom post in group

CLAWHUB · Unverified

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 includ...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17994rg2rhqqb61z4dkxmc0b983nxbx:wecom-post-in-group
  1. Install using `clawhub skill install s17994rg2rhqqb61z4dkxmc0b983nxbx:wecom-post-in-group` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/luckyethan/wecom-post-in-group before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-luckyethan-wecom-post-in-group/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

18,851 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

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:
```bash
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:**

| Type | Examples | Implementation |
|------|----------|----------------|
| **Daily** | 每天、每日、daily | RRULE: `FREQ=HOURLY;INTERVAL=24` |
| **Weekly** | 每周一、每周五、weekly on Monday | RRULE: `FREQ=WEEKLY;BYDAY=MO;BYHOUR=10;BYMINUTE=0` |
| **Monthly (fixed date)** | 每月1日、每月27号、monthly on the 15th | RRULE: `FREQ=HOURLY;INTERVAL=24` + date guard `day == N` |
| **Monthly (pattern)** | 每月最后一周的周一、first Monday of each month | RRULE: `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/tec

_meta.json

{
  "ownerId": "kn7d8xhwxz61zfjg596zxx06wd836bn5",
  "slug": "wecom-post-in-group",
  "version": "1.0.1",
  "publishedAt": 1774597335400
}

references/schedule_patterns.md

# Schedule Patterns Reference

This document provides the complete mapping from natural language schedule descriptions to automation RRULE configurations and date guard logic.

## RRULE Limitations

The automation system only supports two RRULE frequencies:
- `FREQ=HOURLY` with `INTERVAL=N` (every N hours)
- `FREQ=WEEKLY` with `BYDAY`, `BYHOUR`, `BYMINUTE`

For monthly or more complex schedules, combine a frequent RRULE trigger with a **date guard** in the automation prompt that checks the current date and skips execution if conditions aren't met.

---

## Daily Schedules

| User Input | RRULE | Date Guard |
|------------|-------|------------|
| 每天 / 每日 / daily | `FREQ=HOURLY;INTERVAL=24` | None |
| 每天上午10点 | `FREQ=HOURLY;INTERVAL=24` | None (RRULE handles time) |
| 每个工作日 / weekdays | `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;BYHOUR=10;BYMINUTE=0` | None |

---

## Weekly Schedules

| User Input | RRULE | Date Guard |
|------------|-------|------------|
| 每周一 / every Monday | `FREQ=WEEKLY;BYDAY=MO;BYHOUR=10;BYMINUTE=0` | None |
| 每周五下午3点 | `FREQ=WEEKLY;BYDAY=FR;BYHOUR=15;BYMINUTE=0` | None |
| 每周一三五 | `FREQ=WEEKLY;BYDAY=MO,WE,FR;BYHOUR=10;BYMINUTE=0` | None |
| 每两周一次(周一) | `FREQ=WEEKLY;BYDAY=MO;BYHOUR=10;BYMINUTE=0` | Check if ISO week number is odd/even |

### Day Mapping

| Chinese | English | RRULE |
|---------|---------|-------|
| 周一 / 星期一 | Monday | MO |
| 周二 / 星期二 | Tuesday | TU |
| 周三 / 星期三 | Wednesday | WE |
| 周四 / 星期四 | Thursday | TH |
| 周五 / 星期五 | Friday | FR |
| 周六 / 星期六 | Saturday | SA |
| 周日 / 星期日 | Sunday | SU |

---

## Monthly Schedules (Fixed Date)

For fixed-date monthly schedules, use a daily RRULE with a date guard.

| User Input | RRULE | Date Guard |
|------------|-------|------------|
| 每月1日 / 每月1号 | `FREQ=HOURLY;INTERVAL=24` | `day == 1` |
| 每月15号 | `FREQ=HOURLY;INTERVAL=24` | `day == 15` |
| 每月27日 | `FREQ=HOURLY;INTERVAL=24` | `day == 27` |
| 每月最后一天 | `FREQ=HOURLY;INTERVAL=24` | `day == last_day_of_month` |

**Date guard prompt template (fixed date):**

```
首先检查今天的日期,如果今天不是每月的 {N} 日,则直接结束,不执行任何操作,不输出任何内容。

如果今天是每月的 {N} 日,则执行以下步骤:
```

**Date guard prompt template (last day of month):**

```
首先检查今天是否为本月的最后一天(即明天的月份与今天不同)。如果不是最后一天,则直接结束,不执行任何操作。

如果今天是本月最后一天,则执行以下步骤:
```

---

## Monthly Schedules (Pattern-Based)

For pattern-based monthly schedules, use a weekly RRULE filtered to the target weekday, combined with a date guard for the week position.

### Last [Weekday] of Month

| User Input | RRULE | Date Guard |
|------------|-------|------------|
| 每月最后一个周一 / 每月最后一周的周一 | `FREQ=WEEKLY;BYDAY=MO;BYHOUR=10;BYMINUTE=0` | `day + 7 > last_day_of_month` |
| 每月最后一个周五 | `FREQ=WEEKLY;BYDAY=FR;BYHOUR=10;BYMINUTE=0` | `day + 7 > last_day_of_month` |

**Date guard prompt template (last weekday):**

```
首先检查今天的日期。计算本月的总天数,如果今天的日期加上 7 仍然不超过本月总天数(即今天不在本月的最后一周),则直接结束,不执行任何操作。

如果今天在本月最后一周内,则执行以下步骤:
```

### First [Weekday] of Month

| User Input | RRULE | Date Guard |
|------------|-------|------------|
| 每月第一个周一 | `FREQ=WEEKLY;BYDAY=MO;BYHOUR=10

skill-card.md

## Description:

Sets up scheduled or recurring content pushes to WeChat Work group webhooks with daily, weekly, monthly, and advanced schedule patterns.

This skill is ready for commercial/non-commercial use.

## Publisher:

[luckyethan](https://clawhub.ai/user/luckyethan)

### License/Terms of Use:

MIT-0

## Use Case:

Employees, developers, and operations teams use this skill to configure recurring WeChat Work group notifications, validate webhook access, format messages, and create scheduled automations.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Webhook URLs and keys are reusable secrets and may be exposed through prompts, logs, shell history, or user-facing output.

Mitigation: Treat webhook URLs and keys like passwords: mask them in user-visible summaries, avoid storing them in logs or shell history, and rotate any key that may have been exposed.

Risk: The skill can send live test messages and create recurring active posts to a WeChat Work group.

Mitigation: Require clear user confirmation before any test send or scheduled automation is created, and verify the target group, message content, schedule, and active status before enabling it.

## Reference(s):

- [Schedule Patterns Reference](references/schedule_patterns.md)
- [ClawHub skill page](https://clawhub.ai/luckyethan/skills/wecom-post-in-group)

## Skill Output:

**Output Type(s):** [Guidance, Markdown, Shell commands, Configuration]

**Output Format:** [Markdown with inline shell commands and automation configuration]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce live WeChat Work webhook validation or post commands when the user provides a webhook.]

## Skill Version(s):

1.0.1 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to WeCom post in group and adjacent AI workflows.