Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add runxhq/runx --skill invoice-paygit clone --depth 1 https://github.com/runxhq/runxWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/runxhq/runx/invoice-pay)<a href="https://agentmods.dev/skills/runxhq/runx/invoice-pay"><img src="https://agentmods.dev/badge/skills/runxhq/runx/invoice-pay/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/runxhq/runx/invoice-pay"><img src="https://agentmods.dev/badge/skills/runxhq/runx/invoice-pay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00859 |
| Opus 5.5 | $0.00010 | $0.00344 |
| Sonnet 5.5 | $0.00005 | $0.00172 |
| Haiku 4.5 | $0.00003 | $0.00086 |
Grade A, and why
invoice-pay scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Invoice Pay
The default method pays an invoice whose reference, payee, amount and currency
are already known; from-document reads them from the invoice itself. Choose a
held buyer connector: wallet/evm for its supported x402 method, or link for a
Stripe MPP charge with an approved one-time spend request. There is no universal EVM address requirement, USD conversion or implicit
provider selection. Each method must actually support the invoice currency.
Supply invoice_id, positive whole amount_minor, explicit currency,
payee.payment_url, the selected connector's public request, the original
parent_payment_authority and a stable idempotency_seed. Inspect the connector
to construct the exact request. For x402 the request is its payment_signal;
for Link it is the payment.mpp input with the original challenge and approved
spend request. Put wallet keys, SPTs, card data and bearer tokens in none of these
fields; credential custody belongs to the connector.
The deterministic invoice check binds the requested amount, currency and exact
payment URL to the supplied invoice. pay then checks its parent mandate and
owns payment execution. Native admission remains authoritative for capability,
run budget, human approval, effect custody and provider confirmation. A supplied
invoice or mandate never creates permission to spend. Invoice authenticity and
procurement approval must come from the caller's evidence or procurement lane.
Pay from the invoice document
Use from-document when you hold the invoice as text. Supply its workspace
path, connector, parent mandate, idempotency_seed and the method's request
without the terms the document states: for wallet/evm leave out amount_minor
and resource.url, and for link leave out resource_url, amount_minor and
currency. Restating them is refused, so the amount paid cannot drift from the
amount read. Convert a PDF or image to text first.
extract reads the balance due, currency, reference and HTTPS payment URL, each
bound to a quotation. A native conversion then turns the decimal into the unit
the selected method counts in, with no rounding. That unit comes from the method,
never from the caller or the document: both held methods bind USD to cents here,
so another currency stops and points back to the default method with exact minor
units. It also stops when the document omits a term or states two, or when the
amount has the wrong number of fractional digits.
What ships with it
26 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- eval_queries.json 2.2 KB
- evals/evals.json 2.4 KB
- evals/files/admitted-invoice.json 910 B
- evals/files/mismatched-amount.json 909 B
- evals/files/mismatched-currency.json 909 B
- evals/files/mismatched-payee.json 901 B
- fixtures/composed/run.yaml 986 B
- fixtures/composed/SKILL.md 152 B
- fixtures/support/invoice.txt 149 B
- invoice.mjs 2.5 KB runs code
- invoice.test.mjs 2.5 KB runs code
- mark.svg 798 B
- references/catalog.md 152 B
- references/mark-license.md 3.1 KB
- run.yaml 6.7 KB
- tests/composes-in-workflow.yaml 2.1 KB
- tests/from-document-refuses-restated-amount.yaml 1.0 KB
- tests/from-document-refuses-unbound-currency.yaml 1.0 KB
- tests/from-document-refuses-unit-mismatch.yaml 1.0 KB
- tests/from-document.yaml 3.2 KB
- tests/hosted-contract.yaml 3.0 KB
- tests/refuses-amount-over-authority.yaml 678 B
- tests/refuses-amount.yaml 662 B
- tests/refuses-blank-reference-at-native-admission.yaml 652 B
- tests/refuses-currency.yaml 664 B
- tests/refuses-payee.yaml 653 B
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 20d ago Changed 9c9323dd5a41
- 28d ago Changed · +24 lines 2164e0555949
- 1mo ago Changed 2770961ddd97
- 1mo ago Changed · +15 lines a9cd73e3963f
- 1mo ago First seen · 35 lines · 25 tokens per session scan A 3c38cf38cb8d
invoice-pay is a skill published in the GitHub repository runxhq/runx (106 stars, last pushed yesterday), licensed Apache-2.0. It adds 25 tokens to every session and 859 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-18.
invoice-pay compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| invoice-payrunxhq/runx | Skill | 106 | yesterday | Apache-2.0 | A | 25 | Claude Code, Codex |
| dd-risk-scoringAbilityai/trinity | Skill | 827 | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| dd-synthesisAbilityai/trinity | Skill | 827 | today | Apache-2.0 | A | 33 | Claude Code, Codex |
| dd-report-formatAbilityai/trinity | Skill | 827 | today | Apache-2.0 | A | 27 | Claude Code, Codex |
| moneyHmbown/Codewhale | Skill | 41k | 2mo ago | MIT | A | 0 | Claude Code, Codex |
| dd-sourcingAbilityai/trinity | Skill | 827 | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| dd-verificationAbilityai/trinity | Skill | 827 | today | Apache-2.0 | A | 35 | Claude Code, Codex |