purchase-approval skillA
purchase-approval is agent-read markdown (skill) from runxhq/runx: Decide whether one proposed purchase is allowed under an explicit procurement policy before any spend flow starts, refusing budget overages and unapproved vendors instead of guessing..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Purchase Approval Purchase Approval is the pre-spend decision gate. It answers one question, is this purchase allowed under the supplied procurement policy, and it answers it deterministically. It never moves money; `spend` 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 purchase request and procurement policy before any judgment. 2. Deterministic rules apply in order: the vendor must be in `approved_vendors`, the request currency must match the policy currency, and the amount must fit both `remaining_budget` and `single_purchase_cap`. The first failed rule refuses with a named `refused_reason`. 3. An in-policy amount that reaches `approval_threshold` returns `needs_human` with the policy's `human_lane` (default `procurement-review`); approval below the threshold is `approved`. 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 …
Read the whole file at its exact version.
How to install
mdr add runxhq/runx/purchase-approval@git:20260810.3e7d304mdr add runxhq/runx/purchase-approval@sha256:98364a1309bba05ePin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_gum6vzyh3ddj4mor)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1770 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
runxhq/runx · 93 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gum6vzyh3ddj4mor GET https://markdownregistry.com/api/v1/resolve?ref=runxhq/runx/purchase-approval GET https://markdownregistry.com/api/v1/blob/98364a1309bba05e143c1026ff953be6ee44013f38800c44ef67f62f9d93767d
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.