← 返回 Skills 市场
huyoujin-cd

File Monitor Feishu Notify

作者 huyoujin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
180
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install file-monitor-feishu-notify
功能描述
文件监控并自动通知到飞书群
使用说明 (SKILL.md)

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: ✅
安全使用建议
This skill appears to implement exactly what it claims: a local file watcher that posts notifications to a Feishu group. Before installing: - Confirm or supply the missing start-monitor.ps1 (the README references it but it is not included). Don't run unreviewed startup scripts if you don't have them. - Do not put your Feishu app_secret/app_id into a repo-tracked config.json. Use config.example.json as suggested and ensure config.json is in .gitignore before any git push. - Review and, if necessary, limit the watch_dir you configure — the monitor will read file names and include full paths in notifications, which may leak sensitive paths/names. - Verify network endpoints: the code calls open.feishu.cn (official Feishu API) — if you use a different endpoint, inspect it. - If you want heartbeat/autostart behavior, create or inspect the HEARTBEAT/start script locally rather than relying on unspecified automated configuration. If any of the above items are unacceptable or unclear, treat this skill as incomplete until you correct them.
功能分析
Type: OpenClaw Skill Name: file-monitor-feishu-notify Version: 1.0.0 The skill provides legitimate file monitoring and notification functionality via the Feishu API. The Python scripts (scripts/simple-monitor.py and scripts/auto-send.py) use standard libraries to detect new files and post metadata to a user-configured webhook. While the documentation (MANUAL_PUSH.md and PUBLISH_GUIDE.md) contains hardcoded environment paths and references to a specific GitHub user (huyoujin-cd), these appear to be development artifacts or templates for manual user contribution rather than automated malicious exfiltration. The code lacks obfuscation, unauthorized network calls, or hidden instructions for the AI agent.
能力评估
Purpose & Capability
Name/description match the included Python scripts: simple-monitor.py detects new files and writes a notify file; auto-send.py reads that file and posts to Feishu's API. Requested resources (none) are proportional.
Instruction Scope
SKILL.md and README instruct running start-monitor.ps1 and rely on HEARTBEAT, but start-monitor.ps1 (and HEARTBEAT configuration) is not present in the file manifest. The README also references several helper ps1 scripts (publish/start) that are missing. This mismatch means the runtime instructions are incomplete and you'll need to create or inspect a start script before running. Also note the scripts will include file names and full paths in notifications (possible information exposure).
Install Mechanism
No install spec; this is an instruction-and-script skill only. No downloads or third-party package installs are requested.
Credentials
No env vars are required; credentials (Feishu App ID/Secret and chat_id) are stored in config.json (a file under the skill directory). Storing secrets in a local config file is functional but risky if you publish the repo or forget to .gitignore config.json—the included docs even show GitHub publish steps. Ensure config.json is not committed to any remote.
Persistence & Privilege
always is false and the skill does not request elevated platform privileges. It relies on an external HEARTBEAT/monitoring process to restart processes but does not appear to modify other skills or global configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install file-monitor-feishu-notify
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /file-monitor-feishu-notify 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: monitors a specified directory and automatically notifies Feishu group chats of new files. - Supports configurable watch directory and Feishu integration via config.json - Automatic or manual startup with HEARTBEAT or PowerShell script - Provides logging and pending notifications management - Compatible with OpenClaw, HEARTBEAT, and Windows systems
元数据
Slug file-monitor-feishu-notify
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

File Monitor Feishu Notify 是什么?

文件监控并自动通知到飞书群. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 180 次。

如何安装 File Monitor Feishu Notify?

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

File Monitor Feishu Notify 是免费的吗?

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

File Monitor Feishu Notify 支持哪些平台?

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

谁开发了 File Monitor Feishu Notify?

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

💬 留言讨论