/budget-monitoring-variance-payload-builder:budget-monitoring-variance-payload-builderfrom budget-monitoring-variance-payload-builder
Builds deterministic Lark budget variance payloads and, when asked, runs the full budget monitoring flow through a NyxID service instead of direct Lark credentials.
Ships in budget-monitoring-variance-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 budget-monitoring runs. 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 for budget-monitoring when either:
Do not use this skill to create Bitable tables or request Lark app permissions.
Use this mode when the caller provides records directly.
Required input keys:
coreBudgetRecordscoreActualRecordsaelfBudgetRecordsaelfActualRecordsOptional input keys:
periodcurrencywatchThresholdPercentalertThresholdPercentcriticalThresholdPercentreceiveIdreceiveIdTypeReturn one JSON object with:
message_type: "interactive"summaryseverityperiodcurrencydataCutofftotalssectionshighlightslark.cardlark.body when receiveId is providedThe returned lark.body is connector-ready for:
POST /open-apis/im/v1/messages?receive_id_type=<receiveIdType>
Record field aliases, cutoff rules, formulas, levels, and output shape are defined in references/budget-variance-contract.md.
Use this mode when the caller provides a NyxID service slug, for example:
{
"serviceSlug": "budget-monitoring-p2"
}
The NyxID service is the configuration and credential boundary. It must hold the Lark credential and budget-monitoring 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 steps:
serviceSlug from input. If missing, return needs_more_information with missing: ["serviceSlug"].nyxid service show <serviceSlug> --output json.references/nyxid-service-runner-contract.md.serviceSlug.receiveId is configured, send lark.body through NyxID proxy using the same serviceSlug.sent, serviceSlug, dataCutoff, severity, summary, totals, highlights, and the send response when a message was sent.Never call Lark directly. Never send or log downstream credentials. Never ask the user to paste Lark secrets.
For payload construction, follow references/budget-variance-contract.md. If executing code is allowed, use scripts/build_budget_variance_payload.js as the reference implementation. If executing code is not allowed, reproduce the same transformations exactly.
For the full NyxID-backed flow, use scripts/run_budget_monitoring_nyxid_service.js as the reference implementation when shell/Node execution is available.
Do not invent records, table ids, app tokens, receiver ids, credentials, schedules, or service slugs.
If any required record set is missing in payload-builder mode, return:
{
"needs_more_information": true,
"missing": ["coreBudgetRecords"]
}
If any required NyxID service configuration key is missing in runner mode, return:
{
"needs_more_information": true,
"missing": ["x-budget-core-budget-table-id"]
}
README.md (opens in a new tab)budget-monitoring-profile.example.json (opens in a new tab)budget-variance-contract.md (opens in a new tab)build_budget_variance_payload.js (opens in a new tab)nyxid-service-runner-contract.md (opens in a new tab)run_budget_monitoring_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 budget-monitoring-variance-payload-builder