Home / runxhq / runx · skills/purchase-approval/SKILL.md · GitHub

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

Latest version
mdr add runxhq/runx/purchase-approval@git:20260810.3e7d304
Exact content
mdr add runxhq/runx/purchase-approval@sha256:98364a1309bba05e

Pin 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gum6vzyh3ddj4mor.svg)](https://markdownregistry.com/a/art_gum6vzyh3ddj4mor)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260810.3e7d304 latest2026-08-10 3e7d304 1,770 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • 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

GitHub

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.

More from runxhq/runx

AGENTS.md agents
runxhq/runx · AGENTS.md
git:20260908.0ff743d · audit A · 93 stars
CLAUDE.md claude
runxhq/runx · CLAUDE.md
git:20260908.0ff743d · audit A · 93 stars
runx skill
runxhq/runx · SKILL.md · Governed runtime for agent skills: discover and install portable skills, run bounded skill graphs with explicit…
git:20260909.15accb0 · audit B · 93 stars
external-adapter-graph skill
runxhq/runx · examples/external-adapter-graph/SKILL.md · External-adapter front example; a graph whose step runs a governed subprocess adapter.
git:20260803.0993e04 · audit A · 93 stars
external-adapter-echo skill
runxhq/runx · examples/external-adapter-tool/SKILL.md · External-adapter sub-skill; a governed subprocess adapter that echoes its inputs.
git:20260803.0993e04 · audit A · 93 stars
github-mcp-hero skill
runxhq/runx · examples/github-mcp-hero/SKILL.md · Governed GitHub over MCP; read is admitted, out-of-scope mutation is sealed as a denial.
git:20260604.a6ec7d9 · audit A · 93 stars
github-mcp-merge-pr skill
runxhq/runx · examples/github-mcp-hero/merge-pr/SKILL.md · Merge a deterministic GitHub PR through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
github-mcp-read-issue skill
runxhq/runx · examples/github-mcp-hero/read-issue/SKILL.md · Read a deterministic GitHub issue through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
github-mcp-pr-review-note skill
runxhq/runx · examples/github-mcp-hero/review-note/SKILL.md · Add a deterministic GitHub PR review note through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
github-mcp-write-comment skill
runxhq/runx · examples/github-mcp-hero/write-comment/SKILL.md · Write a deterministic GitHub issue comment through the fixture MCP server.
git:20260723.6e5370b · audit B · 93 stars
hello-world skill
runxhq/runx · examples/hello-world/SKILL.md · Echo a first runx message through a checked-in cli-tool script.
git:20260723.6e5370b · audit B · 93 stars
loop-orchestration skill
runxhq/runx · examples/loop-orchestration/SKILL.md · Reference loop-orchestration example; a local loop host chains governed runx turns through receipts, budgets, context…
git:20260723.6e5370b · audit A · 93 stars

Every file in runxhq/runx

Browse by kind, by grade A, or by owner.