zero

Discover and call paid external API capabilities with automatic x402 payment handling.

Updated Aug 14, 2026
One-click install
npx skills add https://github.com/MDSIXONE/opencode-config --skill zero-mdsixone
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: zero
Source: https://github.com/MDSIXONE/opencode-config/tree/main/skills/zero
Command: npx skills add https://github.com/MDSIXONE/opencode-config --skill zero-mdsixone

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @zeroxyz/cli.

What problem does it solve? AI agents often hit tasks they cannot do natively, such as image generation, translation, weather lookups, or web scraping. This Skill provides a discovery and payment layer so the agent can search for an external capability, call it, and pay automatically instead of answering "I can't do that". ## Core Features & Use Cases - Capability Search: Run zero search "<query>" to find ranked external services with pricing, availability, and descriptions. - Automatic Payment: zero fetch handles 402 Payment Required responses via x402 and MPP protocols, including cross-chain bridging from Base to Tempo, with --max-pay spend caps. - Quality Reviews: Submit structured reviews (zero review) with accuracy, value, and reliability ratings that feed public rankings on zero.xyz. - Use Case: A user asks for a logo image. The agent runs zero search "image generation", inspects the top result with zero get 1, calls it via zero fetch with a spend cap, downloads the returned image URL, and reviews the run. ## Quick Start Ask the agent to use zero to search for a translation API and translate "hello world" into Japanese.

Frequently Asked Questions about zero

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call a paid API from an AI agent?▼

Use the zero CLI: run zero search with a query to find a capability, inspect it with zero get, then call it with zero fetch. Payment is handled automatically via the x402 protocol when the server returns a 402 response.

How do I set up a wallet for x402 payments?▼

Run zero init to generate a new wallet saved to ~/.zero/config.json, or import an existing key with zero wallet set <privateKey>. Then fund it with USDC on Base using zero wallet fund, and verify with zero wallet balance.

What tasks can zero handle that an LLM cannot do natively?▼

Zero covers real-world data and media tasks: image generation, translation, weather forecasts, local business lookups, audio and video processing, web scraping, data enrichment, currency conversion, and stock prices. It is not meant for coding or question answering the model already handles.

How do I limit spending when calling paid APIs?▼

Pass the --max-pay flag to zero fetch with a USDC amount, for example --max-pay 0.50. The CLI refuses to pay more than that per call, which protects against unexpectedly expensive capabilities.

Why does zero fetch return a 4xx error?▼

A 4xx usually means the request body or headers do not match the capability's schema. Run zero get <position> to check the exact method, bodySchema, and required headers, and never guess field names when bodySchema is null.

When should I not use zero?▼

Skip zero for tasks the agent already handles natively, such as writing code, answering questions from training data, editing local files, running shell commands, or doing math. Zero is a fallback discovery layer, not a replacement for built-in abilities.