Skip to content
Skillv1.0.0

uniswap-ai

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

by okx(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from okx/plugin-store (skills/uniswap-ai/SKILL.md). Install upstream with npx skills add okx/plugin-store --skill uniswap-ai. Copyright stays with the author.

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.

# 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

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.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/okx-plugin-store-uniswap-ai/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

okx-plugin-store-uniswap-ai.ocm.jsonjson
{
  "ocm": "1",
  "id": "okx-plugin-store-uniswap-ai",
  "kind": "skill",
  "name": "uniswap-ai",
  "description": "AI-powered Uniswap developer tools: trading, hooks, drivers, and on-chain analysis across V2/V3/V4",
  "publisher": "okx",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "math"
    ],
    "tags": [
      "skill-md",
      "uniswap",
      "defi",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "AI-powered Uniswap developer tools: trading, hooks, drivers, and on-chain analysis across V2/V3/V4"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/okx/plugin-store",
      "path": "skills/uniswap-ai/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/okx/plugin-store/blob/HEAD/skills/uniswap-ai/SKILL.md",
      "key": "okx/plugin-store/skills/uniswap-ai/SKILL.md"
    }
  },
  "instructions": "## Pre-flight Dependencies (auto-injected by Plugin Store CI)\n\n> Run once per session before first use. These checks ensure required tools are installed.\n\n### Version check (auto-injected)\n\n> **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.",
  "cost": {
    "context_tokens": 658
  }
}

Fetch it by URL: GET /api/v1/registry/okx-plugin-store-uniswap-ai/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.