Purpose: Use Zerion CLI to assess current exposure and PnL before sizing a Uniswap LP position with /liquidity-planner, so the agent deploys capital with full portfolio context.
Uniswap skill (invoke in agent context):
/liquidity-planner— plans LP positions and generates Uniswap interface deep links
Zerion CLI (shell):
zerion positions <address>— current token and DeFi positions by chainzerion pnl <address>— profit and loss per wallet and per assetzerion portfolio <address>— total portfolio value and top holdingszerion bridge <from-chain> <from-token> <amount> <to-chain> <to-token>— move capital to the target chain for LP deployment
- Uniswap AI skills:
npx skills add Uniswap/uniswap-ai - Zerion CLI:
npx zerion-cli init - Zerion API key:
export ZERION_API_KEY="zk_..."
zerion positions $WALLETUnderstand what the agent already holds and where, so LP sizing doesn't over-concentrate exposure.
zerion pnl $WALLETCheck unrealized gains and losses per asset. Avoid deploying into a pool with an asset already deep in loss.
zerion portfolio $WALLETValidate the proportion of total portfolio the intended LP position represents.
zerion bridge ethereum ETH 1 base ETH --cheapestMove tokens to the chain where the LP pool lives before planning. Signature: zerion bridge <from-chain> <from-token> <amount> <to-chain> <to-token>.
Invoke the Uniswap skill in your agent context:
/liquidity-planner
The skill generates the LP position plan and interface deep link based on your inputs (pool, fee tier, range).
- LP size too large relative to portfolio — re-check
zerion portfolioand reduce the intended deposit amount - Capital on wrong chain —
zerion positionsshows chain breakdown; bridge first withzerion bridgebefore planning - Asset already at a loss —
zerion pnlwill surface this; consider whether IL risk compounds an existing losing position
- zerion-uniswap-x402 — pay x402 HTTP 402 challenges with cross-chain funding via Zerion CLI