# Copy trade

> Copy trade is an open-source agent skill for finance and payments. Mirrors a chosen wallet's token swaps into your wallet within set guardrails. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Uniswap/uniswap-ai/tree/main/packages/plugins/uniswap-trading-tools/skills/copy-trade
- **Repository:** https://github.com/uniswap/uniswap-ai
- **GitHub stars:** 236
- **License:** MIT
- **Skill name:** copy-trade
- **Collection:** https://github.com/Uniswap/uniswap-ai
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-02

## About

Copy Trade watches a target wallet on one EVM chain and replicates its swaps into the follower's wallet. It scans the leader's transactions in bounded block ranges, decodes the pool Swap logs in each one, and collapses multi-hop routes into a single net intent so the same trade is not bought twice.

Before any mirror goes out, each intent is checked against a chain filter, an asset allowlist, per-trade and per-period spend caps, the follower's balance, and a record of already mirrored transactions. The actual quoting, approvals, signing and broadcast are handed off to the Uniswap swap-integration skill, and the state file is written after every intent so a crash does not cause a repeat trade.

The skill defaults to confirm mode, where each mirror swap is shown for approval before broadcast. Autonomous mode requires spend caps, a token allowlist, a dry run and a kill switch. It relies on viem-integration for chain reads and expects a Uniswap Trading API setup and an operator-configured chain template.

## When your agent uses it

> This skill should be used when the user asks to "copy trades from" a wallet, "mirror a wallet", "follow this address", set up "copy trading", "track and replicate a trader", or mirror another account's swaps bounded by guardrails. Watches a target wallet and mirrors its trades, filtered by chain, asset match, position size, and the follower's own portfolio state.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Uniswap/uniswap-ai/tree/HEAD/packages/plugins/uniswap-trading-tools/skills/copy-trade)
- [Asks for: Read, Write, Edit, Glob, Grep, Bash(npm:*), Bash(npx:*), Bash(curl:*)…](https://github.com/Uniswap/uniswap-ai/blob/HEAD/packages/plugins/uniswap-trading-tools/skills/copy-trade/SKILL.md)
- [License: MIT](https://github.com/Uniswap/uniswap-ai/tree/HEAD/packages/plugins/uniswap-trading-tools/skills/copy-trade)

## Features

- **Leader transaction scanning:** Finds the target wallet's transactions in bounded block ranges and decodes the swap logs inside them.
- **Route collapsing:** Merges chained multi-hop legs into one net intent so intermediate tokens are not bought and resold.
- **Guardrail checks:** Filters trades by chain, token allowlist, position size and follower balance before anything is sent.
- **Idempotent mirroring:** Records each mirrored leader transaction so restarts or overlapping runs never duplicate a trade.
- **Confirm or autonomous modes:** Defaults to asking before each swap, with an autonomous option gated by spend caps and a kill switch.
- **Delegated execution:** Hands quoting, approvals and signing to the swap-integration and viem-integration skills.

## Good for

- Mirror swaps from a specific wallet address onto my own wallet within a daily spend limit
- Follow a trader's token buys on Ethereum and ask me to confirm each one first
- Set up a copy trading watcher that skips trades in tokens outside my allowlist
- Replicate a leader's multi-hop swap as one net trade without buying intermediate tokens

## Install

### Claude Code

This skill ships in the `uniswap-trading-tools` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

Or copy only this skill to `~/.claude/skills/copy-trade`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Uniswap/uniswap-ai.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/copy-trade &&
cp -R "$tmp/packages/plugins/uniswap-trading-tools/skills/copy-trade" ~/.claude/skills/copy-trade &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/copy-trade` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/copy-trade` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Uniswap/uniswap-ai.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/copy-trade &&
cp -R "$tmp/packages/plugins/uniswap-trading-tools/skills/copy-trade" ~/.agents/skills/copy-trade &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/copy-trade` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/copy-trade` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Uniswap/uniswap-ai.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/copy-trade &&
cp -R "$tmp/packages/plugins/uniswap-trading-tools/skills/copy-trade" ~/.cursor/skills/copy-trade &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/copy-trade` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Uniswap/uniswap-ai.git --path packages/plugins/uniswap-trading-tools/skills/copy-trade
```

Or copy the folder to `~/.gemini/skills/copy-trade` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/copy-trade`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Uniswap/uniswap-ai.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/copy-trade &&
cp -R "$tmp/packages/plugins/uniswap-trading-tools/skills/copy-trade" ~/.copilot/skills/copy-trade &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/copy-trade` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Uniswap/uniswap-ai.git
```

Then copy `uniswap-ai/packages/plugins/uniswap-trading-tools/skills/copy-trade` into your agent's skills folder as `copy-trade`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs the swap-integration and viem-integration skills, a target-chain template for chain and contract addresses, and operator-set spend caps. Wallet keys must come from environment variables.

### How does Copy trade decide when to mirror a trade?

It runs on a scheduler about every 5 minutes, reads new leader transactions since a stored cursor, applies guardrails to each swap and mirrors only those that pass.

### Can Copy trade run without asking me each time?

Only in autonomous mode, which needs a per-run and per-period spend cap, a per-mirror cap, a token allowlist, a dry run and a kill switch. The default is confirm mode.

### How does Copy trade avoid copying the same trade twice?

Each mirrored leader transaction hash is saved to the state file right after it resolves, and any intent already recorded is skipped.

### How do I install Copy trade in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/copy-trade to use it in all your projects, or to .claude/skills/copy-trade in one project. Or install the uniswap-trading-tools plugin, which includes it: /plugin marketplace add Uniswap/uniswap-ai, then /plugin install uniswap-trading-tools@uniswap-ai.

### Does Copy trade run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Copy trade?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Copy trade?

The closest alternatives to Copy trade are Swap integration, Swap planner, Index bot, Swap tokens and Dca bot.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Swap integration](https://ai-powered.com/skills/swap-integration): Swap integration is an open-source agent skill for finance and payments.
- [Swap planner](https://ai-powered.com/skills/swap-planner): Swap planner is an open-source agent skill for finance and payments.
- [Index bot](https://ai-powered.com/skills/index-bot): Index bot is an open-source agent skill for finance and payments.
- [Swap tokens](https://ai-powered.com/skills/swap-tokens): Swap tokens is an open-source agent skill for finance and payments.
- [Dca bot](https://ai-powered.com/skills/dca-bot): Dca bot is an open-source agent skill for finance and payments.
- [Liquidity planner](https://ai-powered.com/skills/liquidity-planner): Liquidity planner is an open-source agent skill for finance and payments.
- [Trust wallet MCP](https://ai-powered.com/skills/trust-wallet-mcp): Trust wallet MCP is an open-source agent skill for finance and payments.
- [Trader broker](https://ai-powered.com/skills/trader-broker): Trader broker is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/copy-trade
