← 返回 Skills 市场
timyao61-max

Feishu Cron Delivery

作者 timyao61-max · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-cron-delivery
功能描述
Configure, repair, and validate OpenClaw scheduled outbound delivery to Feishu. Use when creating or fixing cron jobs that must proactively send user-visible...
使用说明 (SKILL.md)

Feishu Cron Delivery

Use this skill to make OpenClaw cron jobs reliably send proactive messages to Feishu.

Core rule

For strong-SLA Feishu delivery, do not use:

  • sessionTarget: "main" + payload.kind: "systemEvent"
  • delivery.channel: "last" as the final production route

Use this validated pattern instead:

  • sessionTarget: "isolated"
  • payload.kind: "agentTurn"
  • delivery.mode: "announce"
  • delivery.channel: "feishu"
  • delivery.accountId: \x3CaccountId>
  • delivery.to: user:\x3Copen_id> or another explicit Feishu destination

What to check first

  1. Run openclaw cron list --json.
  2. Identify whether the job is:
    • a main-session system event job, or
    • an isolated agent-turn job.
  3. Inspect the last run state:
    • lastDeliveryStatus: not-requested usually means it never entered outbound delivery.
    • status/error with Feishu 400 usually means delivery was attempted but the route/payload was rejected.

Repair workflow

Case 1: Job uses main + systemEvent

Treat it as an internal wakeup pattern, not user-visible delivery.

Repair it by changing to:

  • --session isolated
  • --message "..."
  • --announce
  • --channel feishu
  • --account \x3Cid>
  • --to user:\x3Copen_id>

Case 2: Job uses isolated + announce + channel:last

Treat last as debugging-only for Feishu. If it fails or returns 400, replace it with explicit routing:

  • --channel feishu
  • --account \x3Cid>
  • --to user:\x3Copen_id>

Case 3: Delivery should stay internal

Use:

  • --session isolated
  • --message "..."
  • --no-deliver

or set delivery.mode: "none".

Validation workflow

After creating or editing a Feishu cron job:

  1. Create a one-shot smoke test with explicit Feishu routing.
  2. Use scripts/create_smoke_test.py if you want a deterministic command generator.
  3. Wait for the scheduled time.
  4. Confirm the user actually received the Feishu message.
  5. Check openclaw cron runs --id \x3Cjob-id>.

Successful validation means:

  • user received the message in Feishu
  • run status is ok
  • delivery is not not-requested

Recommended CLI patterns

One-shot smoke test

openclaw cron add \
  --name "Feishu delivery smoke test" \
  --at "2026-04-04T14:32:30" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --message "在本轮只输出这一句话:主动消息链路测试。" \
  --announce \
  --channel feishu \
  --account default \
  --to "user:OPEN_ID" \
  --delete-after-run

Recurring 15-minute report

openclaw cron add \
  --name "xhs-progress-15m" \
  --cron "*/15 * * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --message "请输出一份发给老姚的中文进度报告..." \
  --announce \
  --channel feishu \
  --account default \
  --to "user:OPEN_ID"

09:00 morning summary

openclaw cron add \
  --name "daily-memory-report-0900" \
  --cron "0 9 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --message "请向老姚发送一份中文晨报..." \
  --announce \
  --channel feishu \
  --account default \
  --to "user:OPEN_ID"

When to keep a separate internal job

Split internal work from user-visible delivery when needed:

  • 04:00 internal memory distillation → delivery.mode: none
  • 09:00 outward user summary → explicit Feishu announce delivery

This avoids confusing internal maintenance with outward delivery.

Packaging notes

Before publishing:

  • replace any user-specific identifiers with placeholders
  • keep examples parameterized (OPEN_ID, ACCOUNT_ID)
  • run the smoke test workflow locally once
  • validate and package the skill

Reference

Read references/validated-pattern.md for the concrete failure modes and the validated fix pattern.

安全使用建议
This skill appears coherent and low-risk, but take normal operational precautions before running commands that send messages to real users: 1) Ensure your OpenClaw environment has the correct Feishu channel credentials configured (the skill does not supply credentials). 2) Replace placeholders (OPEN_ID, ACCOUNT_ID) with test accounts when smoke-testing to avoid spamming real users. 3) Review the generated cron command before executing — the provided Python script only prints a command. 4) Be aware that scheduling cron jobs can create live side effects (outbound messages); use --delete-after-run or test accounts for validation. If you need higher assurance, confirm that your OpenClaw channel tokens are scoped to only allow the intended deliveries.
功能分析
Type: OpenClaw Skill Name: feishu-cron-delivery Version: 1.0.0 The skill bundle provides documentation and a helper script for managing and troubleshooting Feishu-based scheduled tasks (cron jobs) within the OpenClaw environment. The instructions in SKILL.md and references/validated-pattern.md focus on technical configuration fixes for message delivery, and the Python script scripts/create_smoke_test.py is a simple command generator with no execution or network capabilities.
能力评估
Purpose & Capability
Name/description match the actual content: SKILL.md and the helper script only build and validate OpenClaw cron jobs that announce to Feishu. The files do not request unrelated credentials or access (no AWS/GitHub/etc.).
Instruction Scope
Runtime instructions are limited to OpenClaw CLI commands (cron list/add/runs) and a smoke-test generator script. They do not instruct reading arbitrary host files, scanning environment variables, or sending data to third-party endpoints outside OpenClaw/Feishu routing. The guidance to confirm the user received the Feishu message is appropriate for validation.
Install Mechanism
No install spec; this is instruction-only plus a small Python script. Nothing is downloaded or extracted from external URLs, so there is no high-risk installer behavior.
Credentials
The skill declares no required env vars or credentials. It reasonably assumes the operator's OpenClaw/Feishu channel is already configured; it does not try to collect or require secrets itself. Use of OPEN_ID/ACCOUNT_ID placeholders is explicit and appropriate.
Persistence & Privilege
Skill is not always-enabled, does not request persistent system presence, and does not modify other skills' configs. It simply provides operational instructions and a helper script.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-cron-delivery
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-cron-delivery 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: validated OpenClaw cron delivery pattern for Feishu, explicit routing, smoke test helper, and repair guidance.
元数据
Slug feishu-cron-delivery
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Feishu Cron Delivery 是什么?

Configure, repair, and validate OpenClaw scheduled outbound delivery to Feishu. Use when creating or fixing cron jobs that must proactively send user-visible... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 Feishu Cron Delivery?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-cron-delivery」即可一键安装,无需额外配置。

Feishu Cron Delivery 是免费的吗?

是的,Feishu Cron Delivery 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu Cron Delivery 支持哪些平台?

Feishu Cron Delivery 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu Cron Delivery?

由 timyao61-max(@timyao61-max)开发并维护,当前版本 v1.0.0。

💬 留言讨论