Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nongjun/feishu-cursor-claw --skill employee-selectorgit clone --depth 1 https://github.com/nongjun/feishu-cursor-clawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nongjun/feishu-cursor-claw/employee-selector)<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/employee-selector"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/employee-selector/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/employee-selector"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/employee-selector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00536 |
| Opus 5 | $0.00027 | $0.00268 |
| Sonnet 5 | $0.00011 | $0.00107 |
| Haiku 4.5 | $0.00005 | $0.00054 |
Grade A, and why
employee-selector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
员工选择器
组件分层
| 层级 | 位置 | 特点 |
|---|---|---|
| 基础组件 | shared_frontend/components/EmployeeSelector.vue | 通用、API 解耦 |
| 业务组件 | 各模块自有版本(如撩回搭子 EmployeeSelectorDialog.vue) | 定制化 |
基础组件 Props
| 属性 | 类型 | 说明 |
|---|---|---|
| modelValue | Boolean | 控制弹窗显示(v-model) |
| selected | Array | 已选中项回显 |
| userOnly | Boolean | 确认结果只包含员工 |
| fetchApi | Function | 获取部门员工数据的函数(API 解耦) |
关键设计决策
- 不使用 check-strictly:级联模式,勾选部门自动选中所有子员工
- 部门复选框可点击:用于批量选中,非禁用
- getCheckedNodes(true):仅获取叶子节点,再按 type=user 过滤
- countEmployees 递归统计:部门显示 (N人)
- nodeKey 格式:dept_{id} / user_{id},避免部门和员工 ID 冲突
数据格式
- API 返回:树形结构,节点含 type(department/user)、id、name、children
- 确认结果:[{ type: 'user', id, name }]
后端 API
通过公共路由工厂注册:
- 路径:/api/{module}/common/departments/with-employees
- 实现:shared_backend.api.create_common_router()
SOP:使用员工选择器
- 前端引入 shared_frontend 的 EmployeeSelector 组件
- 传入 fetchApi 函数(指向本模块的公共路由)
- 监听 confirm 事件获取选中员工列表
- 如需定制(如禁用级联),在业务模块创建独立版本
参考文件
- 公共模块/shared_frontend/components/EmployeeSelector.vue
- 公共模块/shared_backend/api/common.py(create_common_router)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 55 lines · 54 tokens per session scan A 773eb454ed80
employee-selector is a skill published in the GitHub repository nongjun/feishu-cursor-claw (14 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 536 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
architecture-feature-first
Use when creating a feature, designing folder structure, adding repositories/services/view models, wiring dependency injection, or deciding which layer owns logic.
flutter-use-column-row-first
Use when building any Flutter screen or component to choose responsive Row, Column, Expanded, Flexible, and Spacer layouts before fixed-size or coordinate-based alternatives.
component-creation
Step-by-step workflow for creating accessible, tested UI components. Use when the user asks to create a new UI component.
enhance-web-landing
Build landing pages, portfolios, and marketing sites that don't look AI-generated. Use when asked for "landing page", "portfolio", "marketing site", "anti-slop", "Awwwards-style", "premium frontend", or when design needs a strong point of view.
enhance-capacitor-ui
Cross-surface UIUX separation skill for hybrid web apps that ship as PWA + iOS + Android via Capacitor (or Tauri / Expo Web / Ionic / RN-Web). Use when a previous UI/UX sweep "improved one surface and broke the other" — desktop polished but mobile cramped, or mobile native but desktop wastes space.
enhance-web-ui
Polish an existing page's hierarchy, spacing, type, and visual personality. Use when "make this page polished/premium", "less crowded", or "better visual hierarchy". Understood / CPL → enhance-readability. Flow/IA → enhance-web-ux. Breakpoints → audit-responsive.