trading-on-uniswap

Execute token swaps, quotes, and liquidity operations on Uniswap V2/V3 via AGW CLI.

1|2|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Abstract-Foundation/agw-cli --skill trading-on-uniswap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trading-on-uniswap
Source: https://github.com/Abstract-Foundation/agw-cli/tree/main/packages/agw-cli/skills/trading-on-uniswap
Command: npx skills add https://github.com/Abstract-Foundation/agw-cli --skill trading-on-uniswap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the friction and risk of manually interacting with Uniswap smart contracts on Abstract via AGW CLI, handling complex requirements like ABI formatting, slippage calculation, deadline enforcement, and V2/V3 routing automatically for token trading and liquidity operations.

Core Features & Use Cases

  • Token Swaps: Execute swaps between native ETH and ERC-20 tokens (e.g., ETH ↔ USDC, USDC ↔ ETH) with correct routing for Uniswap V2 and V3 pools.
  • Price Quotes & Liquidity Operations: Fetch pre-swap price quotes, add or remove liquidity from Uniswap pools, and batch token approval and swap transactions atomically to reduce gas costs and failure risk.
  • Use Case: A user wanting to trade 0.1 ETH for USDC on Abstract mainnet can use this Skill to get an accurate quote, preview the transaction with appropriate slippage settings, and execute it safely without exposing private keys.

Quick Start

Use the trading-on-uniswap skill to swap 0.1 ETH for USDC on Abstract mainnet, preview the transaction with your preferred slippage tolerance, and execute it only after you confirm all details.

Frequently Asked Questions about trading-on-uniswap

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

FAQPage Schema
How do I swap ETH for USDC on the Abstract blockchain using Uniswap?

To swap ETH for USDC on Abstract, you can use the Uniswap trading skill via AGW CLI to fetch a price quote, preview the transaction with slippage tolerance, and execute the swap safely. It automatically routes between Uniswap V2 and V3 pools based on the pair characteristics.

Can I add or remove liquidity from Uniswap V3 pools on Abstract mainnet?

Yes, you can add or remove liquidity from Uniswap V2 and V3 pools on Abstract mainnet and testnet. The skill handles pool routing based on user-specified fee tiers and batches approval and liquidity transactions atomically to reduce gas costs and failure risk.

How do I get a price quote before executing a token swap on Uniswap?

You can fetch pre-swap price quotes on Uniswap via the AGW CLI before executing token swaps. The skill retrieves accurate quotes for native ETH and ERC-20 token pairs, allowing you to preview transaction details and confirm slippage settings prior to execution.

Does the Uniswap trading skill batch token approval and swap transactions atomically?

Yes, the skill batches token approval and swap transactions atomically on Abstract blockchain. This approach reduces gas costs and minimizes failure risk by ensuring approval and execution occur in a single transaction with enforced deadlines and slippage tolerance.

What is the best way to manage Uniswap liquidity on Abstract without exposing private keys?

Using the AGW CLI with the Uniswap trading skill enables safe liquidity management on Abstract without exposing private keys. It handles ABI formatting, slippage calculation, and V2/V3 routing automatically, allowing secure preview-first execution for adding or removing liquidity.

When should I use Uniswap V2 versus V3 routing for token swaps on Abstract?

Uniswap V2 and V3 routing is determined automatically based on pair characteristics and user-specified fee tiers. V3 is selected when specific fee tiers are provided, while V2 handles standard pairs, ensuring correct routing for token swaps on Abstract mainnet and testnet.