一键导入
charge
Govern one inbound provider-side paid tool call through price, challenge, credential verification, receipt sealing, and receipt-gated forwarding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Govern one inbound provider-side paid tool call through price, challenge, credential verification, receipt sealing, and receipt-gated forwarding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Governed runtime for agent skills: discover and install portable skills, run bounded skill graphs with explicit authority, and inspect signed receipts for what happened.
Audit a sealed runx receipt for governance, comparing the authority a run exercised against what it was granted, and flag over-reach, ungated mutation, unrecorded refusals, or exposed secret material.
Verify the receipt ids behind a normalized authority-usage summary, compare that evidence with granted scopes, and propose the narrowest grant the evidence supports.
Answer a cross-run audit question against the receipt ledger, returning matched receipts and a chain-verification result.
Read durable reflect projections, group repeated signals by skill, and emit validated handoffs to skill-lab improve when the evidence clears configured floors.
Review receipts and harness failures to propose bounded skill improvements.
| name | charge |
| description | Govern one inbound provider-side paid tool call through price, challenge, credential verification, receipt sealing, and receipt-gated forwarding. |
| runx | {"category":"payments"} |
Govern one inbound paid tool call that runx exposes to another agent.
This skill is the public provider-side charge verb. It prices an inbound MCP
operation, emits a payment challenge, verifies the returned credential under the
priced authority, seals the charge receipt, and forwards the upstream operation
only after the sealed receipt exists. It is the seller-side mirror of spend.
The settlement family is a runtime path, not a separate catalog skill. Mock, MPP, and Stripe paths share the same authority story: price first, challenge with idempotency, verify against the exact challenge, seal before forward, and never print raw credential material into the receipt.
charge-price to bind the tool call to
provider policy, amount, currency, counterparty, accepted families, expiry,
and requested payment authority.charge-challenge to produce the
effect_required signal and idempotency packet that the caller must satisfy.charge-verify to bind the credential
to the exact price, challenge, family, counterparty, amount, and idempotency
key.charge_seal.data.sealed == true.It does not calculate outbound spend, issue refunds, resolve disputes, or accept raw merchant credentials as output.
spend.refund.mcp_tool_call, provider_policy, returned_credential,
verify_capability_ref, and idempotency material.needs_agent.charge-price. Stop when amount, currency, operation, counterparty,
settlement family, or price evidence is ambiguous.charge-challenge. The challenge must carry a stable idempotency key and
require receipt-before-forward.charge-verify. The returned credential must match the challenge and
priced authority exactly.sealed: true.needs_agent or escalated; do not forward
the paid call.| Path | Use when | Required proof/evidence | Secret handling |
|---|---|---|---|
mock | Deterministic local provider-charge fixtures. | Mock proof ref, challenge id, idempotency key, sealed charge receipt ref. | No real credentials; still redact fixture credential material. |
mpp | Provider policy accepts MPP settlement. | MPP credential ref, settlement proof ref, challenge id, idempotency key. | Output refs only; do not expose rail session material. |
stripe | Provider policy accepts Stripe-side charge credentials. | Stripe credential/proof ref, provider event or charge ref when present, challenge id, idempotency key. | Never emit Stripe secret keys, webhook secrets, card data, PANs, or unrestricted tokens. |
There is no x402 provider-side charge runner in this skill. Current x402 support
is buyer-side spend unless a separate product decision adds seller-side x402
charge semantics.
needs_agent; no default price exists.escalated when challenge, policy, and returned
credential name different settlement families.escalated unless the idempotency policy proves
the prior verification is equivalent and sealed.escalated with a seal-required finding.escalated.charge_execution)decision: sealed | denied | needs_agent | escalated
runtime_path: mock | mpp | stripe
charge_price_packet:
charge_price: object
requested_payment_authority: object
charge_challenge_packet:
effect_required_signal: object
charge_challenge: object
idempotency: object
charge_verification_packet:
verification_result: object
settlement_proof: object
sealed_receipt_ref: string | null
redactions: [string]
charge_seal:
sealed: boolean
receipt_ref: string
forwarded_result:
forwarded: boolean
result_ref: string | null
open_questions: [string]
A forwarded result requires a sealed charge receipt. A verified credential without a sealed receipt is not enough.
A caller asks for search.paid. Provider policy prices the call at 1.25 USD,
accepts stripe, and requires receipt-before-forward. charge emits a
challenge, verifies the returned Stripe credential against that exact challenge,
seals receipt:charge:stripe:paid-search-001, then forwards the operation. The
result is decision: sealed.
If the returned credential is for mpp while the challenge accepted stripe,
the skill returns decision: escalated; it does not reinterpret the credential
or forward the request.
mcp_tool_call (required): inbound MCP operation request.provider_policy (required): provider price and settlement family policy.returned_credential (required): caller-returned payment credential.parent_payment_authority (optional): parent payment authority term or ref.verify_capability_ref (required): single-use verification capability
reference.idempotency_seed (optional): stable challenge idempotency seed.