Borrowing it
Nothing to install: this file belongs to oyusypenko/rob-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/oyusypenko/rob-mcp/main/.claude/skills/x402-smoke/SKILL.mdgit clone --depth 1 https://github.com/oyusypenko/rob-mcpWrote 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.
[](https://agentmods.dev/skills/oyusypenko/rob-mcp/x402-smoke)<a href="https://agentmods.dev/skills/oyusypenko/rob-mcp/x402-smoke"><img src="https://agentmods.dev/badge/skills/oyusypenko/rob-mcp/x402-smoke/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.
<a href="https://agentmods.dev/skills/oyusypenko/rob-mcp/x402-smoke"><img src="https://agentmods.dev/badge/skills/oyusypenko/rob-mcp/x402-smoke.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00164 | $0.01086 |
| Opus 5 | $0.00082 | $0.00543 |
| Sonnet 5 | $0.00033 | $0.00217 |
| Haiku 4.5 | $0.00016 | $0.00109 |
Grade A, and why
x402-smoke scanned grade A with 1 finding 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 11d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
2. Boot: `bun run serve` (or against a deployed URL). `curl /healthz` → 200 with facilitator How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
x402 end-to-end smoke test (Base Sepolia)
Authoritative sources: docs/developers/architecture.md (x402 flow) and docs/developers/tools.md
(PRICING — the prices this test must observe on the wire). Docs win; report drift.
Docs-first rule (mandatory, every run)
The @x402/* line moves fast. Before running, re-verify via context7
(resolve-library-id → query-docs) — @x402/fetch (client wrapper API), @x402/hono
(middleware/challenge shape), @x402/mcp (paid-tool client) — and WebFetch the x402 quickstart at
docs.cdp.coinbase.com as fallback. If the observed wire shape differs from the docs'd assumption,
that IS the finding — flag before "fixing" the test.
Invariants this skill will not violate
- Testnet only.
X402_NETWORK=eip155:84532, facilitatorhttps://x402.org/facilitator(D-24). Never point this ateip155:8453mainnet or CDP credentials. - Throwaway wallet only. The paying key is a dedicated Base Sepolia test wallet (testnet USDC
from the Circle faucet), stored in the local untracked
.envasSMOKE_TEST_PRIVATE_KEY. It never holds mainnet funds, is referenced by NAME only, and lives exclusively inscripts/x402-smoke.ts—src/must stay signing-free (no-custody rule; hook-enforced). - Read-only against the product — the smoke test buys data, changes nothing.
Procedure
- Env: serve-mode
.envwithX402_NETWORK=eip155:84532,X402_PAY_TO=<test receive addr>,RPC_URL_4663set; smoke wallet funded with Base Sepolia ETH-gasless USDC (EIP-3009 needs no gas from the payer; facilitator settles). - Boot:
bun run serve(or against a deployed URL).curl /healthz→ 200 with facilitator reachable. - Challenge shape:
curl -i -X POSTa paid/api/v1/tools/<tool-name>route with its JSON body → 402 withPAYMENT-REQUIREDcarryingacceptsthat matches PRICING (schemeexact, networkeip155:84532, correct price +payTo). Free tier: firstFREE_CALLS_PER_DAYcalls from a fresh IP return 200 WITHOUT payment; the 402 appears after. - Paid HTTP round-trip:
bun scripts/x402-smoke.ts http— wraps fetch with the x402 client, asserts: 402 →PAYMENT-SIGNATUREretry → 200 +PAYMENT-RESPONSE, and the JSON payload validates against the tool's output schema. - Paid MCP round-trip:
bun scripts/x402-smoke.ts mcp— connects the paid-MCP client to/mcp, calls one paid tool end-to-end, asserts a paid result (not a 402-in-result). - Verify settlement: the USDC transfer to
X402_PAY_TOvisible on Base Sepolia (sepolia.basescan .org) — amount equals the PRICING entry.
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.
- 11d ago First seen · 71 lines · 164 tokens per session scan A ebf9a1bbc550
x402-smoke is a skill published in the GitHub repository oyusypenko/rob-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 164 tokens to every session and 1,086 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
web3-testing
Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.
building-pydantic-ai-agents
Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, defer capability loading, stream output, define agents…
prompt-proximity-architecture
Turn an approved measurement charter, ICPs, and buyer jobs into a budget-aware prompt coverage blueprint across proximity bands, aided status, information acts, journey states, roles, locales, evidence grades, partitions, and measurement lanes. Use before prompt wording to define required, optional, and prohibited…
software-test-creation
Write failing tests for a TDD slice based on acceptance criteria and codebase conventions. Use when the "red" phase of red-green-refactor requires tests that define expected behavior before implementation exists. Discovers codebase test conventions first, writes test files that compile or parse but fail because the…
tevm
Build, simulate, test, fork, and debug EVM transactions in TypeScript with tevm 1.0.0-rc.151. Use for in-process EVM scripts, typed Solidity imports, lazy mainnet or OP-stack forks, direct account and storage setup, viem-compatible contract actions, Vitest EVM tests, traces, and transaction simulation.
verification-protocol
How to prove a hypothesis is TRUE or FALSE using Move unit tests.