# Uniswap Trading

> Uniswap Labs' skills for building swaps and liquidity into your code: Trading API, Universal Router, v4 SDK and the LP API.

Uniswap Labs' own Claude plugin for developers who build on Uniswap. Its skills teach your agent how to put swaps and liquidity into frontends, backends and smart contracts, following Uniswap's own integration rules, with a swap-integration expert your agent can hand harder questions to.

What its skills teach your agent
- swap-integration: build swaps through the Trading API (check approval, quote, swap), the Universal Router SDK or direct contract calls, including Permit2, UniswapX auction types, React and wagmi hooks, Node.js scripts, Solidity integrations and ERC-4337 smart accounts
- v4-sdk-integration: build swap and liquidity UX directly on the Uniswap v4 SDK with V4Planner, the Quoter, StateView and PositionManager, and know where v4 differs from v3
- lp-integration: create, increase, decrease and claim fees on v2, v3 and v4 positions through the Uniswap LP API, with its approval and EIP-712 permit flow
- pay-with-any-token: pay HTTP 402 challenges (MPP through the Tempo CLI, or x402) by swapping or bridging tokens through the Trading API
- pay-with-app: pay 402 challenges from OKX's Agent Payments Protocol on X Layer, funding USDT0 from tokens on other chains

How it works
- Install it from Uniswap's own marketplace (Uniswap/uniswap-ai). The skills load when you ask about swaps, the v4 SDK or LP positions, and /swap-integration runs the swap skill directly.
- The skills write and edit code in your project and can run npm and curl. Generated code reads API keys from environment variables rather than hardcoding them.
- Uniswap suggests its uniswap-viem plugin alongside it for viem and wagmi basics.

Good to know
- The Trading API and LP API need an API key from the Uniswap Developer Portal (developers.uniswap.org).
- The two payment skills move real funds from a wallet you control, using a private key in an environment variable. They're written to ask for your confirmation before every approval, swap, bridge and signed payment. Onchain transactions can't be undone.
- Contract addresses differ by chain for v4, and the skills point your agent to Uniswap's deployment docs for them.

- Type: Plugin
- Made by: uniswap
- Category: Crypto & Web3
- Formats: Claude plugins
- Version: latest
- Website: https://github.com/Uniswap/uniswap-ai/tree/main/packages/plugins/uniswap-trading
- Source: https://github.com/uniswap/uniswap-ai/tree/HEAD/packages/plugins/uniswap-trading
- Page: https://pluginboard.ai/plugins/uniswap-trading

## Works with

- Claude
- GitHub Copilot
- Claude Code
- OpenClaw

## Install

### Claude

In Claude (web or desktop): Customize → Plugins → Add → Add marketplace, enter Uniswap/uniswap-ai, then add uniswap-trading

### Claude Code

In Claude Code:

```text
/plugin marketplace add Uniswap/uniswap-ai
/plugin install uniswap-trading@uniswap-ai
```

---
From Pluginboard (https://pluginboard.ai).
