Setup DCA for Uniswap for Openclaw

A comprehensive automation skill for establishing non-custodial dollar-cost averaging strategies on Uniswap with optimized routing and safety guards.

wpank
v0.1.0
Feb 11, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install setup-dca

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 setup-dca 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 Setup DCA for Uniswap?

This skill provides a professional-grade framework for setting up dollar-cost averaging (DCA) strategies directly on Uniswap. It removes the friction of manual trading by automating the entire lifecycle of recurring swaps, including path discovery, approval management, and execution scheduling. By leveraging Openclaw Skills, users can accumulate assets like ETH, BTC, or SOL on a fixed schedule while ensuring they always receive the best possible price through multi-pool routing.

The skill is designed for both developers testing on local networks and traders deploying to production environments like Ethereum, Base, or Arbitrum. It handles the technical complexities of decentralized finance, such as Permit2 approvals and Gelato keeper integrations, making it 10x more efficient than manual trade execution or basic scripting.

Setup DCA for Uniswap Use Cases

  • Automate weekly accumulation of ETH or WBTC using USDC to minimize market volatility impact.
  • Build a custom DCA bot that runs autonomously using Gelato keepers for production-grade reliability.
  • Schedule recurring swaps for long-term portfolio building without needing to stay online.
  • Transition from lump-sum entries to disciplined, scheduled buys using the safety features of Openclaw Skills.

How Setup DCA for Uniswap Works

  1. The skill validates the agent's wallet balance and ensures sufficient funds exist for at least three planned executions.
  2. It performs a multi-pool analysis to identify the swap route with the lowest price impact and slippage for the specific execution size.
  3. A comprehensive cost projection is generated, detailing gas fees, slippage, and potential keeper costs over the entire DCA duration.
  4. The agent presents a strategy summary and waits for explicit user confirmation before proceeding with on-chain actions.
  5. It configures the necessary Permit2 approvals and executes the first swap of the strategy immediately if requested.
  6. The strategy is recorded in a local configuration file or registered with Gelato to ensure future swaps occur on the defined schedule.

Setup DCA for Uniswap Setup

To deploy this skill, ensure your environment is configured with the necessary Uniswap MCP tools and a funded wallet. Initial setup can be performed through the command line or via an AI agent interface using Openclaw Skills.

# Ensure your wallet is connected and has gas for approvals
# The agent will automatically handle the following config generation:
# Path: .uniswap/dca-config.json

Users must provide a target asset (e.g., ETH) and an amount per execution (e.g., 100 USDC). The skill will then guide the user through frequency and chain selection.

Setup DCA for Uniswap Data Schema & Taxonomy

The skill maintains state through a structured JSON configuration file that tracks the strategy lifecycle and execution history.

Property Description
inputToken The source asset being spent (e.g., USDC or USDT).
targetAsset The destination asset being accumulated (e.g., WETH).
frequency The interval between swaps (daily, weekly, monthly).
nextExecution ISO 8601 timestamp for the next scheduled trade.
keeperMode Execution method: self-execute (agent) or gelato (on-chain).
status Current lifecycle state: active, configured, or cancelled.
route Technical details of the optimized Uniswap pool and fee tier.

Setup DCA for Uniswap Advanced Features

  • Dual automation modes: Choose between agent-triggered swaps or fully autonomous on-chain Gelato keepers.
  • Cross-chain compatibility: Seamlessly deploy DCA strategies on Ethereum mainnet, Base, or Arbitrum.
  • Intelligent gas guards: Automatically warns users if gas costs exceed 5% of the trade value and suggests L2 alternatives.
  • Integrated Permit2 flow: Handles modern Uniswap approval standards for improved security and lower gas overhead.
  • Real-time price baselining: Compares DCA projections against lump-sum buys at current market rates to inform user decisions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*