copy-trade
Copy Trade
Watch a target ("leader") wallet on the target chain and mirror its swaps into the follower's wallet, bounded by guardrails. This is a thin strategy layer: it decides what to mirror and whether to mirror it, then delegates the actual swap to swap-integration and viem-integration. The skill never builds quote, approval, swap, or signing logic itself.
Runtime Compatibility: This skill uses
AskUserQuestionfor execution-mode and confirmation prompts. IfAskUserQuestionis not available in your runtime, collect the same parameters and confirmations through natural language conversation instead.
Overview
The host scheduler invokes this skill on a cadence (about every 5 minutes). Each invocation is a single, self-contained, deterministic run:
- Read the stored cursor (last processed block).
- Read the leader wallet's new on-chain actions since the cursor.
- For each new action, apply guardrails.
- For actions that pass, delegate the mirror swap to
swap-integration. - Advance the cursor and record which leader actions were mirrored.
Treat this as a state machine, not free-form reasoning. Read state, diff against the chain, decide per action, act, advance the cursor. Do not infer intent beyond what the on-chain events say, and never re-derive a decision a prior run already recorded.