invoice-pay

invoice-pay is a skill for Claude Code, Codex from runxhq/runx. It costs 25 tokens per session (859 once invoked), scanned A, original, Apache-2.0.

A tool for checking and paying one invoice under a defined payment authority. An invoice is a bill requesting payment for goods or services; the tool verifies its amount, currency, payee, and authorisation before payment.

In plain words
What is it for?
Use it to validate one invoice, submit its payment through the approved payment system, and confirm that the payment settled.
Why use it?
It prevents malformed invoices, unsupported currencies, unauthorised payees, and payments above the approved limit from reaching the payment step. Payment is completed only with approval and a confirming readback.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to validate one invoice, submit its payment through the approved payment system, and confirm that the payment settled.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/invoice-pay
Install

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.

Any agent
npx skills add runxhq/runx --skill invoice-pay
Clone the repo
git clone --depth 1 https://github.com/runxhq/runx

Made for: Claude Code, Codex.

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

agentmods badge for invoice-pay

README.md
[![agentmods](https://agentmods.dev/badge/skills/runxhq/runx/invoice-pay/github.svg)](https://agentmods.dev/skills/runxhq/runx/invoice-pay)
Your own site
<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.

agentmods 80×15 button for invoice-pay

Your own site · 80×15
<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>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 20d ago against content hash 9c9323dd5a41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (invoice.mjs, invoice.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/invoice-pay/SKILL.md · 74 lines

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.

Read the full file on GitHub · 74 lines

Changes

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.

  1. 20d ago Changed 9c9323dd5a41
  2. 28d ago Changed · +24 lines 2164e0555949
  3. 1mo ago Changed 2770961ddd97
  4. 1mo ago Changed · +15 lines a9cd73e3963f
  5. 1mo ago First seen · 35 lines · 25 tokens per session scan A 3c38cf38cb8d

Subscribe to this mod's changes

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.

Related

invoice-pay compared with skills from other repositories

invoice-pay next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
invoice-payrunxhq/runxSkill106yesterdayApache-2.0A25Claude Code, Codex
dd-risk-scoringAbilityai/trinitySkill827todayApache-2.0A29Claude Code, Codex
dd-synthesisAbilityai/trinitySkill827todayApache-2.0A33Claude Code, Codex
dd-report-formatAbilityai/trinitySkill827todayApache-2.0A27Claude Code, Codex
moneyHmbown/CodewhaleSkill41k2mo agoMITA0Claude Code, Codex
dd-sourcingAbilityai/trinitySkill827todayApache-2.0A29Claude Code, Codex
dd-verificationAbilityai/trinitySkill827todayApache-2.0A35Claude Code, Codex