feat: add zerion-0x skill#74
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
graysonhyc
approved these changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What it enables
The
zerion-0xskill teaches AI agents how to execute token swaps via the 0x API (SwapAPI v2 and Gasless API v2) directly from within Zerion Agent. An agent that hears "swap
500 USDC for ETH on Base via 0x" or "get me a gasless quote for 1000 ARB → USDC on
Arbitrum" can walk through the full price → quote → execute flow — choosing the right
signing path (AllowanceHolder, Permit2, or Gasless) for the user's context.
Zerion CLI commands it composes with
zerion wallet list— look up the taker address before fetching a quotezerion analyze— pre-flight balance check before swappingWhy the combination is useful
0x's Swap API v2 aggregates liquidity across 20+ EVM chains and exposes three swap flows:
AllowanceHolder (simplest; works with multisigs and smart contract wallets), Permit2
(time-limited approvals, EIP-712 signing), and Gasless (fee deducted from sell tokens —
no ETH needed). The live
0x-mcpMCP server keeps the agent grounded in current endpointbehavior, token addresses, and error codes at runtime. Zerion CLI provides the wallet
and portfolio layer on either side. Together: an agent can check balances, fetch a firm
quote, walk through the right approval + signing steps, and confirm the swap — without
leaving the CLI context.