← Back to Skills Marketplace
226
Downloads
2
Stars
0
Active Installs
14
Versions
Install in OpenClaw
/install meal-subsidy
Description
2号人事部餐补申请自动化 — 读考勤判断下班时间,全自动填表提交。触发方式:"申请餐补"查昨天;"申请4月7日餐补"查指定日期;"申请4月餐补"查整月批量申请;"本周餐补"查本周批量申请。
Usage Guidance
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install meal-subsidy - After installation, invoke the skill by name or use
/meal-subsidy - Provide required inputs per the skill's parameter spec and get structured output
Version History
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号人事部餐补,支持指定日期/本周批量/每周定时
Metadata
Frequently Asked Questions
What is Meal Subsidy?
2号人事部餐补申请自动化 — 读考勤判断下班时间,全自动填表提交。触发方式:"申请餐补"查昨天;"申请4月7日餐补"查指定日期;"申请4月餐补"查整月批量申请;"本周餐补"查本周批量申请。 It is an AI Agent Skill for Claude Code / OpenClaw, with 226 downloads so far.
How do I install Meal Subsidy?
Run "/install meal-subsidy" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Meal Subsidy free?
Yes, Meal Subsidy is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Meal Subsidy support?
Meal Subsidy is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Meal Subsidy?
It is built and maintained by jamy-lei (@jamy-lei); the current version is v1.3.0.
More Skills