Home / nirholas / three.ws · community-skills/skills/x402-service-buyer/SKILL.md · GitHub

x402-service-buyer skillA

x402-service-buyer is agent-read markdown (skill) from nirholas/three.ws: Find a paid API on the x402 network that does what the user needs, inspect its price and payment terms, and call it with a spend cap, preferring Solana settlement and paying only after the user confirms the price. Use when the user needs data or work from a paid endpoint, mentions x402, HTTP 402, pay-per-call APIs, "find a service that", or wants an agent to buy an API call..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# x402 service buyer

x402 lets any HTTP endpoint charge per call: it answers `402 Payment Required` with a price, the caller pays in USDC, and the retried request succeeds. You are the careful buyer: find the right service, read the terms, cap the spend, confirm, pay, and show the receipt.

## 1. Discover

- `find_services { query, max_price_usdc }` on the three.ws agent MCP server (`/api/mcp-agent`) searches paid services with prices.
- `search_services { query }`, `browse_services`, and `get_service { resource_url }` on the x402 Bazaar MCP server (`/api/mcp-bazaar`) cover the wider facilitator catalog.
- Over HTTP: `GET https://three.ws/api/bazaar/search?query=<words>&maxPrice=<usdc>&limit=10`.
- Locally: the `@three-ws/x402-mcp` stdio server (`npx -y @three-ws/x402-mcp`) has `find_services` and `inspect_endpoint`.

Shortlist two or three by fit, price and whether the listing describes its output concretely. A listing that is vague about what it returns is a reason to pass.

## 2. Inspect before paying

Call the endpoint once without payment (or use `inspect_endpoint`). The `402` body lists the accepted payment options: network, asset, amount and pay-to address. Check:
…

Read the whole file at its exact version.

How to install

Latest version
mdr add nirholas/three.ws/x402-service-buyer@git:20260922.9a96a70
Exact content
mdr add nirholas/three.ws/x402-service-buyer@sha256:369f4631b93b9973

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2twqlv7irrkkbzw3.svg)](https://markdownregistry.com/a/art_2twqlv7irrkkbzw3)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260922.9a96a70 latest2026-09-22 9a96a70 3,552 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3552 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nirholas/three.ws · 211 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2twqlv7irrkkbzw3
GET https://markdownregistry.com/api/v1/resolve?ref=nirholas/three.ws/x402-service-buyer
GET https://markdownregistry.com/api/v1/blob/369f4631b93b997393fcfb9bf2e639195ce9e7a6ec0f0088a3e7057a7452c09e

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from nirholas/three.ws

authenticate-wallet skill
nirholas/three.ws · .agents/skills/authenticate-wallet/SKILL.md · Sign in to the wallet. Use when you or the user want to log in, sign in, connect, or set up the wallet, or when any…
git:20260707.d8cdbc2 · audit A · 211 stars
build-an-agent-skill skill
nirholas/three.ws · .agents/skills/build-an-agent-skill/SKILL.md · Write a real three.ws agent skill bundle (manifest.json + SKILL.md + tools.json + handlers.js) that gives a 3D agent a…
git:20260920.ad744e2 · audit A · 211 stars
connect-three-ws-mcp skill
nirholas/three.ws · .agents/skills/connect-three-ws-mcp/SKILL.md · Connect any MCP client (Claude Code, Claude Desktop, the Agent SDK, or a custom one) to the three.ws MCP servers, so…
git:20260920.ad744e2 · audit A · 211 stars
create-3d-avatar skill
nirholas/three.ws · .agents/skills/create-3d-avatar/SKILL.md · Turn a text prompt (or reference image) into a rigged, animation-ready 3D avatar (GLB). Use when you or the user want…
git:20260908.6a73c0f · audit A · 211 stars
create-a-three-ws-agent skill
nirholas/three.ws · .agents/skills/create-a-three-ws-agent/SKILL.md · Create a real three.ws AI agent (identity, 3D body, custodial Solana wallet, persona) from the command line and get its…
git:20260920.ad744e2 · audit A · 211 stars
embed-three-ws-avatar skill
nirholas/three.ws · .agents/skills/embed-three-ws-avatar/SKILL.md · Embed a live, animated three.ws 3D avatar in any website with the <agent-3d> web component. Use when you or the user…
git:20260912.bc757af · audit B · 211 stars
find-3d-assets skill
nirholas/three.ws · .agents/skills/find-3d-assets/SKILL.md · Search 3,492 ready-made 3D assets on three.ws (CC0 props and objects, rigged humanoid characters, motion clips) and get…
git:20260905.e9f112d · audit A · 211 stars
fund skill
nirholas/three.ws · .agents/skills/fund/SKILL.md · Add money to the wallet. Use when you or the user want to fund, deposit, top up, load, buy USDC, add funds, onramp, or…
git:20260707.d8cdbc2 · audit A · 211 stars
gcp-triage skill
nirholas/three.ws · .agents/skills/gcp-triage/SKILL.md · Monitor three.ws production on Google Cloud Run and fix what the sweep finds. Use when the user asks to check…
git:20260811.5137a6e · audit A · 211 stars
generate-3d-model skill
nirholas/three.ws · .agents/skills/generate-3d-model/SKILL.md · Turn a text prompt into a downloadable, textured 3D model (GLB). Use when you or the user want to generate, create…
git:20260707.617aab8 · audit A · 211 stars
hire-an-agent skill
nirholas/three.ws · .agents/skills/hire-an-agent/SKILL.md · Find a three.ws agent that already does the job, then buy its skill or have one of your own agents hire and pay it…
git:20260920.ad744e2 · audit A · 211 stars
metamask-agent-wallet skill
nirholas/three.ws · .agents/skills/metamask-agent-wallet/SKILL.md · Use when the user asks anything about blockchain wallets, transactions, signing, token transfers, supported chains…
v2.2.0 · audit A · 211 stars

Every file in nirholas/three.ws

Browse by kind, by grade A, or by owner.