agentpay-route

agentpay-route is a skill for Claude Code from romudille-bit/agentpay. It costs 100 tokens per session (1,364 once invoked), scanned A, original, MIT.

A routing assistant for choosing and paying for paid x402 tools or APIs for a specific task. It compares available providers within a stated budget.

In plain words
What is it for?
It is for finding a paid API, comparing providers, checking prices against a budget, and sending an agent's request to a suitable service.
Why use it?
It helps avoid choosing an unsuitable, fake, or overpriced paid service. It also handles the provider-selection problem when the needed capability is not available for free.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: positional $N argument; mentions Claude Code.

Part of the agentpay plugin — 2 skills, 1 MCP server shipped together

Good fit It is for finding a paid API, comparing providers, checking prices against a budget, and sending an agent's request to a suitable service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/romudille-bit/agentpay/agentpay-route
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 romudille-bit/agentpay --skill agentpay-route
Clone the repo
git clone --depth 1 https://github.com/romudille-bit/agentpay

Made for: Claude Code.

Or install agentpay, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 agentpay-route

README.md
[![agentmods](https://agentmods.dev/badge/skills/romudille-bit/agentpay/agentpay-route/github.svg)](https://agentmods.dev/skills/romudille-bit/agentpay/agentpay-route)
Your own site
<a href="https://agentmods.dev/skills/romudille-bit/agentpay/agentpay-route"><img src="https://agentmods.dev/badge/skills/romudille-bit/agentpay/agentpay-route/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 agentpay-route

Your own site · 80×15
<a href="https://agentmods.dev/skills/romudille-bit/agentpay/agentpay-route"><img src="https://agentmods.dev/badge/skills/romudille-bit/agentpay/agentpay-route.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 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.00100 $0.01364
Opus 5.5 $0.00040 $0.00546
Sonnet 5.5 $0.00020 $0.00273
Haiku 4.5 $0.00010 $0.00136

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

Security

Grade A, and why

agentpay-route 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 14d 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.

plugins/agentpay/skills/agentpay-route/SKILL.md · 101 lines

How it starts

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

AgentPay — route to the best x402 tool, within a budget

When the agent needs a paid capability it doesn't already have, use AgentPay to discover candidate x402 tools across the marketplace, judge which one is real and actually used (not the cheapest, not a keyword-stuffed stub), pay the best one under a budget, and keep a receipt. This is buyer-side economic intelligence: the agent shops the marketplace instead of grabbing the first or cheapest result.

When to use

  • The agent needs data/capability behind a paid API and must pick a provider.
  • "which x402 tool for X", "find a paid API for X under $0.01", "compare these providers".
  • You want to avoid overpaying or paying a fake/empty endpoint.

How

1. Vet the marketplace — the AgentPay MCP (any MCP-capable runtime, no Python, no repo).

If the AgentPay MCP isn't connected yet, wire it first (Node >= 18):

  • Claude Code: claude mcp add agentpay -- npx -y @romudille/agentpay-mcp
  • Any other runtime, in its MCP config:
{ "mcpServers": { "agentpay": { "command": "npx", "args": ["-y", "@romudille/agentpay-mcp"] } } }

Nothing to install? Add the remote server instead: https://agentpay.tools/mcp (Streamable HTTP, no auth). On the remote, the free preview is verified_route_preview and verified_route is the paid tool.

Then call verified_route — the buyer-side trust oracle. It sweeps the whole x402 catalog across many queries, collapses sybil/factory clusters (one wallet stamping many "distinct" tools → one entry), ranks the genuinely-used survivors, and recommends within budget:

{ "tool": "verified_route", "arguments": { "need": "dex pair liquidity", "budget_usd": 0.01 } }
  • Keyless (default): free preview — the vetted pick's name, usage stats, survivor count, and why. Proof of vetting, without the actionable payload.
  • Wallet mode: full paid payload ($0.01) — set AGENTPAY_BASE_KEY (dedicated small-balance EVM key, USDC on Base) and AGENTPAY_MAX_SPEND (session cap, default $0.10) in the server's env. The MCP settles the call in-place (gasless EIP-3009, refused BEFORE signing once the cap is hit) and returns the provider URL + ready-to-pay x402 challenge.

Read the full file on GitHub · 101 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. 14d ago Changed · +4 lines d278e70968aa
  2. 2mo ago Changed · +8 lines 645b6dcb292c
  3. 3mo ago First seen · 89 lines · 100 tokens per session scan A 102c38b93c36

Subscribe to this mod's changes

agentpay-route is a skill published in the GitHub repository romudille-bit/agentpay (4 stars, last pushed 3d ago), licensed MIT. It adds 100 tokens to every session and 1,364 once invoked, about $0.0004 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-08-31.

Related

agentpay-route compared with skills from other repositories

agentpay-route next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentpay-routeromudille-bit/agentpaySkill43d agoMITA100Claude Code
stipendstipend-sh/stipendSkill15d agoApache-2.0A76Claude Code, Codex
repo-pulseaaronjmars/aeon-agentSkill121mo agoMITA48Claude Code, Codex
token-reportaaronjmars/aeon-agentSkill121mo agoMITA19Claude Code, Codex
CTRLaaronjmars/aeon-agentSkill121mo agoMITA46Claude Code, Codex
Secured Watchaaronjmars/aeon-agentSkill121mo agoMITA50Claude Code, Codex
holdingsaaronjmars/aeon-agentSkill121mo agoMITA39Claude Code, Codex