← 返回 Skills 市场
jamy-lei

Meal Subsidy

作者 jamy-lei · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ✓ 安全检测通过
226
总下载
2
收藏
0
当前安装
14
版本数
在 OpenClaw 中安装
/install meal-subsidy
功能描述
2号人事部餐补申请自动化 — 读考勤判断下班时间,全自动填表提交。触发方式:"申请餐补"查昨天;"申请4月7日餐补"查指定日期;"申请4月餐补"查整月批量申请;"本周餐补"查本周批量申请。
安全使用建议
This skill appears to do what it claims: it automates reading the attendance site and submitting meal-subsidy forms using Playwright and Chrome CDP. Before running it, consider: (1) Start Chrome in a dedicated profile or use the script's temporary user-data-dir so the automation doesn't access your regular browser profile or other logged-in accounts. (2) Understand that enabling Chrome remote debugging (or letting the script start Chrome and connect via CDP) grants the script control over open browser pages and access to cookies/DOM while it runs — don't run it against a browser with unrelated sensitive sessions open. (3) Review the included Python file if you can; it appears to only interact with the 2haohr attendance site, take screenshots, and save logs/CSV locally. (4) Install Playwright from PyPI and follow the SKILL.md steps; run the script in an isolated or non-admin environment if you're cautious. If you want higher assurance, ask the author for a line-by-line explanation of any network calls beyond connecting to localhost:9222 and the target attendance site.
能力评估
Purpose & Capability
Name/description (automate attendance-based meal-subsidy submissions) align with the included Python script and SKILL.md. The code uses Playwright/CDP to read the attendance UI, take screenshots, fill and submit forms — all coherent with the stated goal. No unrelated services, env vars, or binaries are requested.
Instruction Scope
SKILL.md and the script instruct the user to start Chrome with --remote-debugging-port and to log in interactively; the script connects to that CDP endpoint and automates the site. This stays within the task but exposes the user's open browser session to the script while running (it can access pages, cookies, and DOM of any open tab accessible via CDP). The instructions also permit the script to auto-start Chrome with a dedicated user-data-dir (safer) if needed.
Install Mechanism
No install spec in registry; SKILL.md asks to pip install playwright and run playwright install chromium — standard for Playwright-based Python automation. No downloads from unknown hosts or archive extraction steps are present in metadata.
Credentials
The skill declares no required environment variables or credentials. The code optionally respects CHROME_PATH if provided and uses a temp user-data-dir; these are reasonable for locating/starting Chrome. No unrelated credentials or secret environment variables are requested.
Persistence & Privilege
always is false and the skill is user-invocable (normal). The script writes logs, screenshots, and a CSV into the skill directory and may create a Chrome user-data-dir in TEMP — expected for convenience. Important: while running the script connects to Chrome's CDP endpoint which gives it powerful runtime access to the browser; this is transient (only while executing) but significant and should be considered before running against a browser with other sensitive tabs or accounts open.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install meal-subsidy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /meal-subsidy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
Switch from Selenium to Playwright; update docs to reflect actual file paths and dependencies
v1.2.2
- Migrated from Playwright to Selenium for browser automation. - Updated documentation for new setup process, including Chrome remote debugging and dependencies. - Removed outdated scripts related to batch and debugging operations. - Improved quick start instructions and troubleshooting guidance for users.
v1.2.1
SKILL.md update: Playwright browser connection modes, workflow docs, FAQ
v1.2.0
截图改为只截当天那格,不再截整页日历
v1.1.3
整月无加班时提示:无需申请
v1.1.2
整月无加班时返回「无需申请」提示
v1.1.1
SKILL.md更新:说明未指定年时默认当年
v1.1.0
meal_subsidy.py重写:修正日期解析、无记录时提示、不满足条件时提示;meal_month.py新增整月模式;Chrome自动启动;修复多项bug
v1.0.5
描述字段更新:更清晰的触发指令说明
v1.0.4
更新依赖说明:pip install selenium;添加常见问题;添加技术细节
v1.0.3
SKILL.md更新:添加整月申请说明;Chrome自动启动修复;清理debug文件
v1.0.2
清理debug文件,删除screenshots缓存
v1.0.1
排除screenshots等隐私文件
v1.0.0
首发:全自动申请2号人事部餐补,支持指定日期/本周批量/每周定时
元数据
Slug meal-subsidy
版本 1.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 14
常见问题

Meal Subsidy 是什么?

2号人事部餐补申请自动化 — 读考勤判断下班时间,全自动填表提交。触发方式:"申请餐补"查昨天;"申请4月7日餐补"查指定日期;"申请4月餐补"查整月批量申请;"本周餐补"查本周批量申请。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 226 次。

如何安装 Meal Subsidy?

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

Meal Subsidy 是免费的吗?

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

Meal Subsidy 支持哪些平台?

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

谁开发了 Meal Subsidy?

由 jamy-lei(@jamy-lei)开发并维护,当前版本 v1.3.0。

💬 留言讨论