File Monitor Feishu Notify Skill
Description
监控指定目录的文件变化,新文件自动发送到飞书群聊。
Trigger
- 文件监控自动触发
- HEARTBEAT 守护进程运行
Usage
安装
# 已本地安装,无需额外操作
配置
编辑 config.json:
{
"watch_dir": "D:\\云文档同步",
"notify_file": ".data/.pending_notify.md",
"feishu": {
"app_id": "cli_xxx",
"app_secret": "xxx",
"chat_id": "oc_xxx"
},
"check_interval": 2,
"log_file": "logs/auto-send.log"
}
启动
# HEARTBEAT 会自动启动,或手动运行:
powershell -ExecutionPolicy Bypass -File "skills/file-monitor-feishu-notify/start-monitor.ps1"
Files
scripts/simple-monitor.py- 文件监控器scripts/auto-send.py- 自动发送器start-monitor.ps1- 启动脚本config.json- 配置文件logs/auto-send.log- 日志文件
Tags
file, monitor, feishu, notification, automation
Compatibility
- OpenClaw: ✅
- HEARTBEAT: ✅
- Windows: ✅