feishu-scheduled-push
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "feishu-scheduled-push" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bd8e0fd07df101218f573ae8ac19ab36806705389387ae22b6adf6ac4cf2f15f. Verify the upstream source and version against https://skillhub.cn/skills/user_d9314a2a/feishu-scheduled-push before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Feishu scheduled push: used to create scheduled messages to be sent automatically to Feishu groups. Supports text, rich text, and card messages, multiple groups and templates, flexible scheduling, and is implemented with pure Python and zero dependencies.
Introduction source: third_party · user_d9314a2a · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: feishu-scheduled-push
description: 飞书定时推送 — 创建定时消息自动发送到飞书群,支持文本/富文本/卡片消息,多群组多模板,灵活调度,纯Python零依赖
slug: feishu-scheduled-push
version: 1.0.0
author: huluwa-agent-2026
triggers:
- 飞书推送
- 定时推送
- 飞书定时
- feishu push
- 飞书提醒
- 飞书消息
category:
- 效率工具
tags:
- 飞书
- 定时任务
- 消息推送
- 自动化
displayName: 飞书定时推送
summary: 飞书定时推送 — 创建定时消息自动发送到飞书群,支持文本/富文本/卡片消息,多群组多模板,灵活调度,纯 Python 零依赖。飞书定时推送
自动在飞书群发送定时消息,支持日报/周报/会议提醒/股价播报等场景,一次配置永久运行。
核心功能
| 功能 | 说明 |
|---|---|
| 📅 定时调度 | 支持每天/每周/自定义Cron表达式 |
| 📝 多模板 | 文本/富文本/Markdown/卡片消息 |
| 🔗 多群组 | 一个技能管理多个飞书群推送 |
| 🧩 零依赖 | 纯Python标准库,pip install 都不需要 |
| 🔔 即时发送 | 支持立即测试发送,无需等定时触发 |
快速开始
1. 获取飞书Webhook地址
- 打开飞书,进入目标群聊
- 群设置 → 群机器人 → 添加机器人 → 自定义机器人
- 复制 Webhook 地址(格式:
https://open.feishu.cn/open-apis/bot/v2/hook/xxxxx)
2. 配置文件
编辑 feishu_config.json:
{
"schedules": [
{
"id": "morning_report",
"webhook": "https://open.feishu.cn/open-apis/bot/v2/hook/your-token-here",
"cron": "0 9 * * 1-5",
"message": {
"msg_type": "interactive",
"content": {
"title": "☀️ 每日早报",
"elements": [
{"tag": "div", "text": {"tag": "lark_md", "content": "新的一天开始啦!\\n\\n📋 今日待办\\n- 检查邮件\\n- 参加晨会\\n- 处理昨日遗留"}},
{"tag": "hr"},
{"tag": "note", "elements": [{"tag": "plain_text", "content": "每天早上9:00自动推送"}]}
]
}
}
},
{
"id": "stock_alert",
"webhook": "https://open.feishu.cn/open-apis/bot/v2/hook/your-token-here",
"cron": "0 */2 9-15 * * 1-5",
"message": {
"msg_type": "text",
"content": {"text": "📈 股市播报中... 请在指令行调用 stock-price-alert 技能"}
}
}
]
}
3. 运行
# 立即测试发送(发送所有schedule中配置的消息一次)
python scripts/feishu_sender.py --send-all
# 测试单条
python scripts/feishu_sender.py --send morning_report
# 启动定时调度器(前台运行,Ctrl+C停止)
python scripts/feishu_sender.py --daemon
# 使用hermes cron管理(推荐)
hermes cron create "0 9 * * 1-5" --script feishu_sender.py --no-agent
支持的消息类型
文本消息
{"msg_type": "text", "content": {"text": "纯文本消息内容"}}
富文本消息
{
"msg_type": "post",
"content": {
"post": {
"zh_cn": {
"title": "消息标题",
"content": [
[{"tag": "text", "text": "这是"}, {"tag": "a", "text": "链接", "href": "https://example.com"}]
]
}
}
}
}
卡片消息(推荐)
{
"msg_type": "interactive",
"content": {
"header": {"title": {"tag": "plain_text", "content": "卡片标题"}},
"elements": [
{"tag": "div", "text": {"tag": "lark_md", "content": "支持**Markdown**语法"}}
]
}
}
Cron 表达式参考
| 场景 | 表达式 |
|---|---|
| 每天9:00 | 0 9 * * * |
| 工作日9:00 | 0 9 * * 1-5 |
| 每天9:00和17:00 | 0 9,17 * * * |
| 每小时 | 0 * * * * |
| 每周一8:00 | 0 8 * * 1 |
| 每30分钟 | */30 * * * * |
| 交易时间每2小时 | 0 */2 9-15 * * 1-5 |
使用场景
- 📰 日报推送 — 每天早上推送团队日报模板
- 📈 股价播报 — 盘中定时推送关注股票行情
- 📅 会议提醒 — 会议前15分钟推送提醒
- 🎂 生日祝福 — 自动在同事生日当天送祝福
- 📊 数据报表 — 每周一推送上周数据摘要
- ⏰ 番茄钟提醒 — 每25分钟推送一次休息提醒
高级功能
多群组独立配置
每个 schedule 可以指定不同的 webhook,实现一个配置文件管理所有群的推送。
变量替换
消息内容支持 {date} {time} {datetime} 占位符,发送时自动替换为当前时间。
错误重试
发送失败自动重试 3 次,间隔逐次递增(1s/3s/5s),重试仍失败记录错误日志。
安全性
- Webhook Token 建议放在
feishu_config.json中且加入.gitignore - 支持从环境变量读取敏感配置:
FEISHU_WEBHOOK_URL
限制
- 飞书自定义机器人 每分钟最多20条消息
- 单条消息 不超过30KB
- 本技能仅负责消息按时发送,消息内容需预先配置
版本历史
| 版本 | 日期 | 更新 |
|---|---|---|
| v1.0.0 | 2026-05-08 | 初始版本:多群组、多模板、Cron调度、变量替换 |
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供飞书定时消息推送功能,支持文本/富文本/卡片消息,满足企业日常自动化通知需求
- 支持多群组独立配置和灵活Cron调度,适用场景广泛(日报、会议提醒、股价播报等)
Highlights
- 触发词覆盖全面且精准,包含中英文变体,边界清晰,能有效匹配用户搜索意图
Highlights
- 文档结构完整,包含快速开始、配置示例、消息类型说明、Cron参考和使用场景
- 提供端到端配置示例和多种运行方式,frontmatter信息完整规范
Highlights
- 明确说明飞书API限制和错误重试机制,建议敏感配置安全存储方式
- 支持变量替换和即时测试发送,提升使用可靠性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 35
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- example.com
- open.feishu.cn
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.