agentic-payments

agentic-payments is a skill for Claude Code from inflowpayai/inflow-cli. It costs 54 tokens per session (8,601 once invoked), scanned C, original, MIT.

A tool for accessing online resources that require payment before responding, using the MPP or x402 payment protocols. It authenticates through InFlow and chooses the payment method from the resource's response.

In plain words
What is it for?
Use it to sign in to InFlow and pay for HTTP resources protected by MPP or x402.
Why use it?
It removes the need to interpret payment-required responses and construct the required payment authentication yourself.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

Good fit Use it to sign in to InFlow and pay for HTTP resources protected by MPP or x402.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/inflowpayai/inflow-cli/agentic-payments
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 inflowpayai/inflow-cli --skill agentic-payments
Clone the repo
git clone --depth 1 https://github.com/inflowpayai/inflow-cli

Made for: Claude Code.

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 agentic-payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/inflowpayai/inflow-cli/agentic-payments/github.svg)](https://agentmods.dev/skills/inflowpayai/inflow-cli/agentic-payments)
Your own site
<a href="https://agentmods.dev/skills/inflowpayai/inflow-cli/agentic-payments"><img src="https://agentmods.dev/badge/skills/inflowpayai/inflow-cli/agentic-payments/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 agentic-payments

Your own site · 80×15
<a href="https://agentmods.dev/skills/inflowpayai/inflow-cli/agentic-payments"><img src="https://agentmods.dev/badge/skills/inflowpayai/inflow-cli/agentic-payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,601 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00054 $0.08601
Opus 5.5 $0.00022 $0.03440
Sonnet 5.5 $0.00011 $0.01720
Haiku 4.5 $0.00005 $0.00860

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

Security

Grade C, and why

agentic-payments scanned grade C with 2 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 8d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| macOS/Linux hosted installer | `curl -fsSL https://inflowcli.ai/install.sh \| bash` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: ['Bash(inflow:*)', 'Bash(brew:*)', 'Bash(curl:*)']
skills/agentic-payments/SKILL.md · 484 lines

How it starts

The opening of the file, as written. The whole thing — 484 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agentic Payments

Pay HTTP 402-protected resources on the user's behalf. InFlow speaks two payment protocols - MPP and x402 - but the flow is the same for both: shared setup (install, run, authenticate), then a router that picks the protocol from the seller's 402 header, then one Paying a 402 resource section that covers both. A per-protocol delta table at the top of that section lists the handful of real differences (header name, credential name, filters, error codes); read your row, then follow the shared steps.

Installing

Install the signed native CLI through one of these channels:

Channel Command
macOS Homebrew brew tap inflowpayai/tap && brew install --cask inflow
macOS/Linux hosted installer curl -fsSL https://inflowcli.ai/install.sh | bash
Windows PowerShell installer irm https://inflowcli.ai/install.ps1 | iex
Cross-platform shell compatibility curl -fsSL https://inflowcli.ai/cli | bash

Current install instructions live at https://inflowcli.ai/.

Running

InFlow runs as a standalone CLI or an MCP server.

MCP: add an inflow server to your MCP client config that runs inflow --mcp.

MCP mode exposes every CLI command as a tool. Call tools/list on the MCP server for the authoritative inventory; arguments mirror the CLI flags one-to-one.

Common commands / options

The CLI is the source of truth for exact flags and enums - run inflow <command> --schema for one command, or inflow --llms-full for everything. Response definitions appear under output when available; MPP and x402 commands publish input definitions only. An absent output definition does not mean the command returns no data. This playbook explains the payment responses and when to use each command.

  • inflow --llms (or --llms-full for parameter detail) - discover all commands. inflow <command> --schema for a single command's JSON Schema.
  • inflow --skill - print this playbook (no frontmatter) to stdout. Use it to paste into the system-prompt field of an MCP host that doesn't natively load skills: inflow --skill | pbcopy.
  • Default output is toon. Override with --format <fmt>; for programmatic parsing prefer json (single document) or jsonl (line-delimited).
  • Deferred payments return _next.tool and _next.input for the InFlow MCP server. For shell use, prefix _next.command with inflow when supplied. If requires_original_request_options is true, restore the original data and header arguments before calling Fetch; they are deliberately omitted from the response.
  • --auth <path> identifies a legacy plaintext credential file for deletion; it is not a credential backend.

Read the full file on GitHub · 484 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. 8d ago Changed f84bfb5d82cc
  2. 15d ago Changed · -10 lines f489fe6df57d
  3. 22d ago Changed e5443bec2f00
  4. 1mo ago Changed eed37eac4e3b
  5. 1mo ago Changed f267a74bb7f5
  6. 1mo ago Changed 2d54637a31d9
  7. 1mo ago Changed · +6 lines ef5c37613861
  8. 1mo ago Changed · +91 lines 6f5aab523ea3
  9. 2mo ago Changed 4e2075a92b8d
  10. 2mo ago First seen · 397 lines · 54 tokens per session scan C a0ef9ed01228

Subscribe to this mod's changes

agentic-payments is a skill published in the GitHub repository inflowpayai/inflow-cli (10 stars, last pushed 8d ago), licensed MIT. It adds 54 tokens to every session and 8,601 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

agentic-payments compared with skills from other repositories

agentic-payments next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentic-paymentsinflowpayai/inflow-cliSkill108d agoMITC54Claude Code
verify-before-checkoutdimitrilaouanis-tech/onyx-mcpSkill24mo agoMITA89Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k4d agoMITA33Claude Code, Codex
interviewHmbown/CodeWhaleSkill41k4d agoMITA40Claude Code, Codex
recipe-create-meet-spacegoogleworkspace/cliSkill33k8d agoApache-2.0A18Claude Code, Codex
atmos-validationcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code
atmos-configcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code