agentic-payments

agentic-payments is a skill for Claude Code from inflowpayai/inflow-cli. It costs 54 tokens per session (8,834 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,834 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.08834
Opus 5.5 $0.00022 $0.03534
Sonnet 5.5 $0.00011 $0.01767
Haiku 4.5 $0.00005 $0.00883

Measured 3d ago against content hash 2d54637a31d9, 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 3d 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 · 494 lines

How it starts

The opening of the file, as written. The whole thing — 494 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, enums, and output shapes - run inflow <command> --schema for one command, or inflow --llms-full for everything. This playbook covers when and why, not exhaustive parameter lists; when you need a precise flag name, value set, or response shape, query the CLI rather than guessing.

  • 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.
  • --api-key <key> or INFLOW_API_KEY=<key> is an alternative to device-flow auth.

Read the full file on GitHub · 494 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. 3d ago Changed 2d54637a31d9
  2. 7d ago Changed · +6 lines ef5c37613861
  3. 10d ago Changed · +91 lines 6f5aab523ea3
  4. 20d ago Changed 4e2075a92b8d
  5. 23d ago Changed · +24 lines a0ef9ed01228
  6. 1mo ago Changed d1001efb5629
  7. 1mo ago First seen · 373 lines · 54 tokens per session scan C c65395913377

Subscribe to this mod's changes

agentic-payments is a skill published in the GitHub repository inflowpayai/inflow-cli (10 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 8,834 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

Other skills, from other repositories