/monthly-attendance-approval-payload-builder:monthly-attendance-approval-payload-builderfrom monthly-attendance-approval-payload-builder
Builds Lark monthly attendance approval/reminder payloads and, when asked, runs the full attendance flow through a NyxID service instead of direct Lark credentials.
Ships in monthly-attendance-approval-payload-builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for monthly attendance approval and reminder flows. It supports two modes:
Do not ask the user for raw Lark tokens, app secrets, tenant access tokens, or OAuth credentials. Use NyxID service/proxy access for all Lark I/O.
Use this mode after the caller has fetched monthly attendance records from Lark Bitable through NyxID or another trusted connector.
Required for approval mode:
recordsyearmonthdocUrlsubmitterIdapprovalCodeOptional fields include widget ids and notification user id. Defaults are defined in references/monthly-attendance-contract.md.
For reminder mode, pass:
{
"mode": "reminder",
"year": 2026,
"month": 5,
"notifyUserId": "user_id"
}
Use this mode when the caller provides a NyxID service slug, for example:
{
"serviceSlug": "monthly-attendance-cn",
"mode": "approval"
}
The NyxID service is the configuration and credential boundary. It must hold the Lark credential and attendance configuration. The runner must call Lark only through NyxID proxy for that service.
Expected NyxID service default headers are defined in references/nyxid-service-runner-contract.md.
Runner behavior:
mode: "approval" or omitted: read Bitable attendance records, build the approval payload, submit POST /open-apis/approval/v4/instances, then optionally send a DM notification if x-attendance-notify-user-id is configured.mode: "reminder": build and send the reminder card to x-attendance-notify-user-id.dryRun: true: read/build only and do not submit approval or send messages.Never call Lark directly. Never send or log downstream credentials. Never ask the user to paste Lark secrets.
Payload-builder mode returns JSON with:
statsdescriptionlark.approvalBodylark.notificationBodylark.reminderBodyRunner mode returns JSON with:
serviceSlugmodedryRunsubmittednotifiedinstanceCode when approval submission returns oneapprovalResponse / notificationResponse when calls are madepayloadFollow references/monthly-attendance-contract.md. If executing code is allowed, use scripts/build_monthly_attendance_payload.js as the payload reference implementation and scripts/run_monthly_attendance_nyxid_service.js for the full NyxID-backed runner.
Do not invent attendance records, submitter ids, approval definitions, Lark credentials, receiver ids, or service slugs.
README.md (opens in a new tab)build_monthly_attendance_payload.js (opens in a new tab)monthly-attendance-contract.md (opens in a new tab)monthly-attendance-profile.example.json (opens in a new tab)nyxid-service-runner-contract.md (opens in a new tab)run_monthly_attendance_nyxid_service.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chronoaiproject/nyx-skills --plugin monthly-attendance-approval-payload-builder