360 Secure SkillHub
360 安全技能中心

feishu-attendance

该 Skill 以 Node 命令行运行,调用飞书接口获取考勤与员工数据,识别迟到、早退和缺勤,借助节假日接口判断工作日,并以免打扰安全模式与缓存机制向管理员发送交互卡片汇总。提供 check、--date、--dry-run 用法,需飞书相应权限。

autogame-17
autogame-17
热度 78.88
最近更新 2026-05-20 03:35:38
分类:自动化依赖:代码执行 / 第三方 API应用场景:工作流 / 自动化脚本 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add feishu-attendance
Metadata
name
feishu-attendance
description
Monitor Feishu (Lark) attendance records. Check for late, early leave, or absent employees and report to admin.
tags
["feishu","lark","attendance","monitor","report"]

Feishu Attendance Skill

Monitor daily attendance, notify employees of abnormalities, and report summary to admin.

Features

  • Smart Checks: Detects Late, Early Leave, and Absence.
  • Holiday Aware: Auto-detects holidays/weekends via timor.tech API.
  • Safe Mode: Disables user notifications if holiday API fails (prevents spam).
  • Caching: Caches user list (24h TTL) and holiday data for performance.
  • Reporting: Sends rich interactive cards to Admin.

Usage

# Check today's attendance (Default)
node index.js check

# Check specific date
node index.js check --date 2023-10-27

# Dry Run (Test mode, no messages sent)
node index.js check --dry-run

Permissions Required

  • attendance:report:readonly
  • contact:user.employee:readonly
  • im:message:send_as_bot