Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

procurement-policy-check

БесплатноЗапускает вложенные скриптыНе проверен

Decide whether one proposed procurement request is allowed under an explicit procurement policy before any spend flow starts, refusing budget overages and…

runxhqот runxhq★ 106 звёзд на GitHub

Об этом скилле

Procurement Policy Check

Procurement Policy Check is the pre-spend decision gate. It answers one question, is this procurement request allowed under the supplied procurement policy, and it answers it deterministically. It never moves money; pay and the payment rails own execution, and this skill's sealed decision is what a caller carries into that flow.

Procedure

  1. Native data.digest binds the exact procurement request and procurement policy before any judgment.
  2. Deterministic rules apply in order: the payee must be in approved_payees, the request currency must match the policy currency, and the amount must fit both remaining_budget and request_cap. The first failed rule refuses with a named refused_reason.
  3. Zero remaining budget/cap and an empty payee list are explicit deny settings, not missing evidence. A zero-priced procurement is valid; no payment is implied. An in-policy amount that reaches approval_threshold returns needs_human with the policy's human_lane (default procurement-review). A zero threshold requires review for every request. Below the threshold the policy result is approved, which is not a native grant or approval to spend.
  4. A policy missing any required authority field refuses with missing_policy_authority and findings; nothing is inferred or invented.

spend_executed is always false. The decision packet carries both input digests so a downstream spend can prove which request and policy were decided.

Output

procurement_approval (runx/procurement-policy-check.approval.v1) carries decision (approved, refused, needs_human), reason, payee, amount, currency, ceiling_amount, human_lane, refused_reason, policy_ids, validation, and the two digests.

Inputs are procurement_request and procurement_policy.

Evidence and execution boundary

The host selects the current authoritative policy and available-budget snapshot. All compared amounts must use the same declared currency denomination; this skill performs no unit, FX or provider conversion. Retain the original source, observation time and both native digests with the decision.

A snapshot is not a reservation. Concurrent decisions can each fit the same remaining budget; the selected payment/execution owner must refresh the relevant policy and enforce its own atomic budget, exact amount, authority and native approval before spending. Include any procurement review requirement in that owner's approval context, not a second caller-authored approval flag. This result never records payment, reserves funds or prevents another buyer from using the budget. Use it as a deterministic policy check, not a ledger.

Полный SKILL.md на GitHub

Установить procurement-policy-check в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

eval_queries.jsonevals/evals.jsonevals/files/procurement-policy-snapshot.jsonmark.svgpackets/approval.v1.schema.jsonprocurement-policy-check.mjsprocurement-policy-check.test.mjsreferences/catalog.mdreferences/mark-license.mdrun.yaml

FAQ

Что делает скилл procurement-policy-check?

Decide whether one proposed procurement request is allowed under an explicit procurement policy before any spend flow starts, refusing budget overages and unapproved payees instead of guessing.

Как установить скилл procurement-policy-check?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл procurement-policy-check запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить procurement-policy-check с