Beisen Attendance Leave logo

Beisen Attendance Leave

Community
infometa
beisen-attendance-leave

北森考勤休假查询。本 Skill 用于查询数据,包含:假期余额、考勤记录、排班信息、加班、公出、出差、休假记录、调休假余额。所有查询通过 beisen-data-query 通用数据查询流水线执行。当用户询问考勤、打卡、排班、加班、公出、出差、休假、请假、调休、假期余额等考勤休假相关记录时触发。

Overview

Publisherinfometa
Repositoryworkbuddyskills
Skill namebeisen-attendance-leave
Stars
376
Forks
124
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by infometa on GitHub. Read the source before you install it.

Installation

Install the Beisen Attendance Leave AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/infometa/workbuddyskills/tree/main/connectors/beisen-cli/skills/beisen-attendance-leave
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/infometa/workbuddyskills.git /tmp/workbuddyskills
mkdir -p .claude/skills
cp -r /tmp/workbuddyskills/connectors/beisen-cli/skills/beisen-attendance-leave .claude/skills/beisen-attendance-leave
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Beisen Attendance Leave in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Beisen Attendance Leave on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Beisen Attendance Leave is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

考勤休假

CRITICAL — 开始前 MUST 读取:

  1. ../beisen-shared/SKILL.md — 认证、安全规则、门禁协议
  2. ../beisen-data-query/SKILL.md — 通用数据查询流水线(本 Skill 所有场景均走此流水线)

路由优先级

本 Skill 处理:考勤与休假数据的查询(只读)

不归本 Skill 处理:

场景清单

以下场景统一使用 beisen-data-query 的 SceneTool → SceneToolMessage → SearchFormTool → BusinessDataTool → 生成回答 → 展示关联菜单 6 步流水线:

考勤类

场景对应北森查询场景敏感等级
查询考勤记录租户配置的"考勤记录"场景L1(本人)/ L2(他人)
查询考勤排班信息租户配置的"排班信息"场景L1
查询加班信息租户配置的"加班信息"场景L1(本人)/ L2(他人)
查询公出信息租户配置的"公出信息"场景L1
查询出差信息租户配置的"出差信息"场景L1

假期类

场景对应北森查询场景敏感等级
查询假期余额租户配置的"假期余额"场景L1
查询休假记录租户配置的"休假记录"场景L1
查询调休假余额租户配置的"调休余额"场景L1

实际查询场景名称由租户在后台配置决定,Agent 必须通过 SceneTool 动态获取,不可硬编码。

执行原则

  • 所有查询走 beisen-data-query 流水线,Agent 按 6 步流程执行
  • 默认查询当前用户自己的数据(员工字段 value="当前用户")
  • 查询团队成员考勤时,员工字段 value 不传(走团队查询)
  • 时间参数按 beisen-data-query 的日期转换规则处理
  • 考勤记录建议初始范围不超过 30 天,范围过大时提示用户缩小范围
  • 查询他人考勤记录(L2 敏感数据)时,仅展示摘要,不回显原始 JSON
  • 考勤数据中的异常记录重点展示,正常记录一笔带过

参数提取要点

  • 员工字段:查自己 → "当前用户";查他人 → 具体人名;查团队 → 不传
  • 日期字段:用户提及时间时按规则转换(如"本月" → 2026/08/01-2026/08/31),未提及时不传
  • 选项字段:如假期类型(年假/事假/病假等),从 dataSourceItems 匹配,value 填 id
  • 详细提取规则见 ../beisen-data-query/references/business-rules.md

Playbook 案例

案例 1:查询本人假期余额

用户问:"我还有多少年假?"

执行步骤:

  1. 前置检查
  2. 按 beisen-data-query 6 步流水线执行
  3. SceneTool 匹配"假期余额"场景
  4. SearchFormTool 获取字段,员工字段 value="当前用户",假期类型匹配"年假"
  5. BusinessDataTool 查询数据
  6. 生成回答:"你当前年假余额为X天"

案例 2:查询下属考勤异常

用户问:"李白本月有没有考勤异常?"

执行步骤:

  1. 前置检查
  2. 按 6 步流水线执行,员工字段 value="李白",日期字段 value="2026/08/01-2026/08/31"
  3. 查询结果为 L2 敏感数据(他人考勤),展示摘要
  4. 如有异常,重点展示异常日期和原因

案例 3:查询团队工时

用户问:"我的团队本月工时情况"

执行步骤:

  1. 按 6 步流水线执行,员工字段不传(团队查询)
  2. 逐人展示工时,不做求和汇总
  3. 展示关联菜单

详细参考

不在本 Skill 范围

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Beisen Attendance Leave AI skill do?

北森考勤休假查询。本 Skill 用于查询数据,包含:假期余额、考勤记录、排班信息、加班、公出、出差、休假记录、调休假余额。所有查询通过 beisen-data-query 通用数据查询流水线执行。当用户询问考勤、打卡、排班、加班、公出、出差、休假、请假、调休、假期余额等考勤休假相关记录时触发。

Why use Beisen Attendance Leave on TypingMind?

Because you install it once and use it with any model. Beisen Attendance Leave is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Beisen Attendance Leave in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/infometa/workbuddyskills/tree/main/connectors/beisen-cli/skills/beisen-attendance-leave. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Beisen Attendance Leave?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Beisen Attendance Leave?

As many as you like. As long as a model supports skills, you can use Beisen Attendance Leave with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Beisen Attendance Leave AI skill free?

It is published on GitHub by infometa. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇