0x-api

0x-api is a skill for Claude Code, Codex from NeverSight/learn-skills.dev. It costs 202 tokens per session (3,688 once invoked), scanned B, original, no licence file.

A step-by-step guide for swapping cryptocurrency tokens through the 0x API, a service that finds routes for trades on EVM-compatible blockchains. It covers regular and gasless swaps.

In plain words
What is it for?
Use it to quote or execute token swaps on supported EVM chains, including gasless swaps when available.
Why use it?
It explains the transaction flow for getting quotes and executing swaps, including swaps where the user does not hold the chain’s usual gas token.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to quote or execute token swaps on supported EVM chains, including gasless swaps when available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neversight/learn-skills.dev/0x-api
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 NeverSight/learn-skills.dev --skill 0x-api
Clone the repo
git clone --depth 1 https://github.com/NeverSight/learn-skills.dev

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 0x-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/neversight/learn-skills.dev/0x-api/github.svg)](https://agentmods.dev/skills/neversight/learn-skills.dev/0x-api)
Your own site
<a href="https://agentmods.dev/skills/neversight/learn-skills.dev/0x-api"><img src="https://agentmods.dev/badge/skills/neversight/learn-skills.dev/0x-api/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 0x-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/neversight/learn-skills.dev/0x-api"><img src="https://agentmods.dev/badge/skills/neversight/learn-skills.dev/0x-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 202 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,688 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00202 $0.03688
Opus 5 $0.00101 $0.01844
Sonnet 5 $0.00040 $0.00738
Haiku 4.5 $0.00020 $0.00369

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

Security

Grade B, and why

0x-api scanned grade B 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 6d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const submitRes = await fetch("https://api.0x.org/gasless/submit", { method: "POST",
data/skills-md/0xproject/0x-ai/0x-api/SKILL.md · 370 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 370 lines · 202 tokens per session scan B cb9a8dbc589c

Subscribe to this mod's changes

0x-api is a skill published in the GitHub repository NeverSight/learn-skills.dev (209 stars, last pushed yesterday), with no licence file. It adds 202 tokens to every session and 3,688 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

hyperliquid-reader

Read Hyperliquid (app.hyperliquid.xyz) perp + spot market data via opencli (read-only, public info API). Use whenever the user wants Hyperliquid perpetual or spot markets, mark/oracle/mid prices, 24h change, funding rates (hourly or annualized APR), open interest, volume, the L2 order book, OHLCV candles, historical…

himself65/finance-skills · 208 tokens

grayscale-crypto-sectors

Use when evaluating crypto through a Grayscale-style Crypto Sectors lens: sector taxonomy, FTSE/Grayscale index eligibility, fee/usage fundamentals, sector-share valuation, ETP/trust wrappers, and Zcash-style privacy-as-money theses.

questflowai/investorskills · 56 tokens

ansem-crypto

Use when evaluating crypto narratives, attention rotation, memecoin cycles, Solana-style ecosystem momentum, social distribution, and reflexive retail flows in an Ansem-style crypto market framework.

questflowai/investorskills · 41 tokens

a16z-crypto

Use when evaluating crypto networks and companies through an a16z crypto lens: web3 adoption, infrastructure vs apps, open networks, and long-duration crypto ecosystem investing.

questflowai/investorskills · 39 tokens

arthur-hayes-liquidity

Use when evaluating crypto markets through an Arthur Hayes-style liquidity lens: dollar liquidity, funding, risk appetite, cycle psychology, and macro-driven crypto positioning.

questflowai/investorskills · 38 tokens

delphi-thematic-crypto

Use when evaluating crypto sectors through a Delphi-style thematic research lens: sector maps, tokenomics, narrative timing, and research-driven crypto allocation.

questflowai/investorskills · 36 tokens