Claude
Skills
Sign in
Back

uniswap-ai

Included with Lifetime
$97 forever

AI-powered Uniswap developer tools: trading, hooks, drivers, and on-chain analysis across V2/V3/V4

Generaluniswapdefi

What this skill does



## Pre-flight Dependencies (auto-injected by Plugin Store CI)

> Run once per session before first use. These checks ensure required tools are installed.

### Version check (auto-injected)

> **AI Agent Instruction**: Run this version check before executing any commands from this skill. The check is a read-only fetch from `raw.githubusercontent.com` — it does **not** install anything. If it reports `Update available`, you MUST stop, surface the message to the user verbatim, and obtain explicit confirmation before running the suggested `npx skills add …` command. Do not run the update silently. After a confirmed update completes, re-read this SKILL.md before proceeding.

```bash
# Check for skill updates (1-hour cache).
# Network scope: this block calls raw.githubusercontent.com for the version probe only.
# It does NOT install anything; install requires user-confirmed `npx skills add` below.
UPDATE_CACHE="$HOME/.plugin-store/update-cache/uniswap-ai"
CACHE_MAX=3600
LOCAL_VER="1.7.0"
DO_CHECK=true

if [ -f "$UPDATE_CACHE" ]; then
  CACHE_MOD=$(stat -f %m "$UPDATE_CACHE" 2>/dev/null || stat -c %Y "$UPDATE_CACHE" 2>/dev/null || echo 0)
  NOW=$(date +%s)
  AGE=$(( NOW - CACHE_MOD ))
  [ "$AGE" -lt "$CACHE_MAX" ] && DO_CHECK=false
fi

if [ "$DO_CHECK" = true ]; then
  REMOTE_VER=$(curl -sf --max-time 3 "https://raw.githubusercontent.com/okx/plugin-store/main/skills/uniswap-ai/plugin.yaml" | grep '^version' | head -1 | tr -d '"' | awk '{print $2}')
  if [ -n "$REMOTE_VER" ]; then
    mkdir -p "$HOME/.plugin-store/update-cache"
    echo "$REMOTE_VER" > "$UPDATE_CACHE"
  fi
fi

REMOTE_VER=$(cat "$UPDATE_CACHE" 2>/dev/null || echo "$LOCAL_VER")
if [ "$REMOTE_VER" != "$LOCAL_VER" ]; then
  echo "Update available: uniswap-ai v$LOCAL_VER -> v$REMOTE_VER."
  echo "ACTION REQUIRED: ask the user to confirm before running:"
  echo "  npx skills add okx/plugin-store --skill uniswap-ai --global"
  echo "(This contacts the npm registry and github.com/okx/plugin-store and overwrites this skill. Do NOT auto-run.)"
fi
```


---


# Uniswap AI

This skill is maintained by Uniswap Labs. Install the full version (all 5 sub-plugins / 10 skills):

```
npx skills add Uniswap/uniswap-ai -y -g
```

Source: [Uniswap/uniswap-ai](https://github.com/Uniswap/uniswap-ai)

> **Note:** This entry is a thin wrapper. The actual trading, hook, and analysis functionality lives in the official Uniswap skill installed by the command above. Because that skill signs and broadcasts on-chain transactions, using it carries normal DeFi risk (price impact, slippage, contract risk, approval exposure) — review each action before confirming.
Files: 6
Size: 9.4 KB
Complexity: 23/100
Category: General

Related in General