Add zerion-lifi-earn skill#69
Merged
Merged
Conversation
graysonhyc
approved these changes
May 13, 2026
This was referenced May 13, 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-lifi-earnskill teaches AI agents how to combine LI.FI's vault discovery (Earn API) and Composer-powered deposit (via the LI.FI SDK) with Zerion CLI's wallet primitives and position verification. An agent that hears "find the best USDC vault on Base and deposit 1,000 USDC from my Ethereum wallet" can run the full discover → deposit → verify flow without leaving the CLI.Zerion CLI commands it composes with
zerion wallet fund— fund the source wallet before discoveryzerion portfolio— pre-flight balance check and post-deposit verificationzerion analyze --positions defi— confirm the new vault position landedWhy the combination is useful
LI.FI's Earn API exposes a normalized vault catalog (APY, TVL,
isTransactionalflag for Composer-supported vaults) across 20+ chains. The LI.FI SDK orchestrates same-chain and cross-chain deposits through oneexecuteRoutecall — handling allowances, bridge polling, and the multi-step flow when a bridge doesn't support destination calls. Zerion CLI provides the wallet primitives and portfolio truth-state on either side. Together: an agent can discover yield opportunities, execute the deposit, and confirm the position — all from a single CLI context.Submitted by LI.FI as a verified partner contribution.