x402-discoverable

x402-discoverable is a skill for Claude Code, Codex from Dexter-DAO/opendexter-ide. It costs 115 tokens per session (1,221 once invoked), scanned A, original, MIT.

A skill for listing an x402 API in the OpenDexter/x402gle catalogue. An x402 API is a web service that asks for payment through an HTTP 402 response, and this skill tests its paid routes before listing it.

In plain words
What is it for?
Use it after an API has an x402 payment wall to audition its paid endpoints and submit a passing service to the catalogue.
Why use it?
A paid API can work correctly yet remain undiscoverable to software agents. This process checks the live service and creates the information agents need to find and call it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after an API has an x402 payment wall to audition its paid endpoints and submit a passing service to the catalogue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dexter-dao/opendexter-ide/x402-discoverable
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 Dexter-DAO/opendexter-ide --skill x402-discoverable
Clone the repo
git clone --depth 1 https://github.com/Dexter-DAO/opendexter-ide

Made for: Claude Code, Codex.

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 x402-discoverable

README.md
[![agentmods](https://agentmods.dev/badge/skills/dexter-dao/opendexter-ide/x402-discoverable/github.svg)](https://agentmods.dev/skills/dexter-dao/opendexter-ide/x402-discoverable)
Your own site
<a href="https://agentmods.dev/skills/dexter-dao/opendexter-ide/x402-discoverable"><img src="https://agentmods.dev/badge/skills/dexter-dao/opendexter-ide/x402-discoverable/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 x402-discoverable

Your own site · 80×15
<a href="https://agentmods.dev/skills/dexter-dao/opendexter-ide/x402-discoverable"><img src="https://agentmods.dev/badge/skills/dexter-dao/opendexter-ide/x402-discoverable.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,221 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.00115 $0.01221
Opus 5 $0.00057 $0.00611
Sonnet 5 $0.00023 $0.00244
Haiku 4.5 $0.00012 $0.00122

Measured 11d ago against content hash b4377f9a9d4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

x402-discoverable 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 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.

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.

packages/mcp/skills/x402-discoverable/SKILL.md · 117 lines

How it starts

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

Make an x402 API discoverable

An API that speaks x402 can take payment — but no agent will pay it until an agent can find it. Getting it into the OpenDexter / x402gle catalog is a distinct step, and it is the one this skill handles.

The catalog does not list an API by reading its description. It auditions it: discovers every paid route, makes a real paid call to each, AI-scores the live response, and synthesizes the agent-callable Skill other agents will use to call it. A passing audition lists the API automatically.

The verb is audition, and it is a subcommand of the OpenDexter CLI.

audition requests a server-side merchant test and can cause paid provider calls and catalog changes. It does not load a local signer or spend through the connected user's governed OpenDexter authority. Obtain explicit approval for the audition itself.

When this skill applies

Use it when the user's API already returns HTTP 402 with a valid payment manifest (if it does not yet, that is the x402-server skill's job — build the paywall first, then come back here).

The one command

npx @dexterai/[email protected] audition <server-url> --json
  • Pass a server origin to audition every paid route on the server.
  • Pass a single endpoint URL to audition that route (siblings are still discovered from it).
  • Always use --json when you are an agent driving this — it is the machine-readable path. Omit it only for a human reading the summary.

No global install is needed; this command requests the exact pinned package version.

What discovery needs from the API

The audition finds paid routes three ways, in order of preference:

  1. OpenAPI 3.1 document at /openapi.json (strongly preferred) — with info.x-guidance, a requestBody schema per paid operation, and an x-payment-info block carrying protocols (x402 and/or mpp) and a structured price.
  2. /.well-known/x402 — a descriptor listing the paid routes.
  3. Bare probe — the URL returns HTTP 402 with a valid payment manifest.

Read the full file on GitHub · 117 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. 11d ago First seen · 117 lines · 115 tokens per session scan A b4377f9a9d4e

Subscribe to this mod's changes

x402-discoverable is a skill published in the GitHub repository Dexter-DAO/opendexter-ide (2 stars, last pushed 6d ago), licensed MIT. It adds 115 tokens to every session and 1,221 once invoked, about $0.0006 per session on Opus 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

Other skills, from other repositories

defi-protocol-templates

Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and flash loans. Use when building decentralized finance applications or smart contract protocols.

wshobson/agents · 38 tokens

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

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.

wshobson/agents · 46 tokens

solidity-security

Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditing existing contracts, or implementing security measures for blockchain applications.

wshobson/agents · 38 tokens

sera

Multi-currency settlement skill — quote, swap, and settle across 40 stablecoins via Sera Protocol.

sera-cx/sera-agents · 24 tokens

sera

Multi-currency settlement for AI agents. Quote, swap, and settle across 40 stablecoins (USDC, USDT, EURC, XSGD, JPYC, MYRT, TGBP, BRZ, MXNT, IDRT, AUDD, and more) and 22 fiat currencies via Sera Protocol. 55 tools — quotes, swaps, treasury management, FX deal scanning, and a maker spread ladder.

sera-cx/sera-agents · 90 tokens