Uniswap for Openclaw

A technical guide and automation assistant for executing secure swaps and managing concentrated liquidity positions on Uniswap.

ivangdavila
v1.0.0
Feb 11, 2026
3
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install uniswap

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install uniswap using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Uniswap?

The Uniswap skill provides a comprehensive framework for interacting with the world's leading decentralized exchange protocol. By leveraging Openclaw Skills, developers and traders can implement advanced swap strategies that account for slippage, price impact, and transaction deadlines. This skill is designed to prioritize security and capital efficiency, offering deep insights into Liquidity Provision (LP) and the nuances of Uniswap V3 concentrated liquidity.

Beyond basic trading, this tool integrates critical safety checks to protect users from common DeFi risks such as honeypot tokens, infinite approval traps, and MEV extraction. Whether you are swapping on Ethereum mainnet or scaling via Layer 2 solutions like Arbitrum or Base, this skill ensures your interactions with the protocol are optimized for both cost and speed.

Uniswap Use Cases

  • Execute high-precision token swaps while minimizing price impact and slippage.
  • Manage V3 concentrated liquidity positions to maximize fee generation and monitor ranges.
  • Protect trades from MEV sandwich attacks using Flashbots or Uniswap X routing.
  • Verify token contract addresses against trusted sources to avoid scam assets.
  • Optimize gas consumption by utilizing L2 networks or scheduling trades during low-congestion periods.

How Uniswap Works

  1. The agent analyzes the target pair and current liquidity depth to estimate price impact and suggest trade splitting if necessary.
  2. It configures slippage tolerance dynamically based on asset volatility (e.g., 0.5% for stablecoins, 1-3% for standard pairs).
  3. The skill checks for existing token approvals and manages permissions to prevent infinite approval risks.
  4. Transactions are routed through protected order flow or private RPCs to mitigate frontrunning in the public mempool.
  5. The lifecycle of the swap or liquidity position is monitored, providing feedback on execution status and potential reverts.

Uniswap Setup

To get started with this skill within your Openclaw Skills environment, follow these steps:

  1. Ensure your AI agent has access to a Web3 provider or wallet interface.
  2. Configure your preferred network (Mainnet, Polygon, Arbitrum, Base, etc.).
  3. Install the skill using the CLI:
openclaw install uniswap
  1. Set your default slippage and MEV protection preferences in the configuration file.

Uniswap Data Schema & Taxonomy

The Uniswap skill organizes its execution data and safety checks through the following parameters:

Parameter Description Recommended Value
Slippage Tolerance Maximum acceptable price change 0.5% - 3.0%
Price Impact Immediate effect of trade size on market price < 2%
Transaction Deadline Time limit for swap execution 20-30 minutes
Token Approval Spending limit granted to the router Exact amount or Infinite
Liquidity Range Price bounds for V3 concentrated positions Strategy dependent

Uniswap Advanced Features

  • Support for Uniswap X off-chain orders to enable gasless limit orders and partial fills.
  • Automated MEV protection toggles using Flashbots Protect RPC or private order flow.
  • Multi-chain deployment support for low-fee trading on Arbitrum, Optimism, and Base.
  • Detailed V3 NFT position management including fee collection and out-of-range alerts.
  • Integration with verification tools like revoke.cash to manage historical token approvals.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*