GhostBot ACLM for Openclaw

An AI-powered hook system for Uniswap v4 that automates liquidity rebalancing and dynamic fee optimization.

aqiljaafree
v1.0.0
Feb 8, 2026
0
2.6k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install ghostbot-uniswap-v4hooks-testnet

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 ghostbot-uniswap-v4hooks-testnet 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 GhostBot ACLM?

GhostBot ACLM is a sophisticated Uniswap v4 hook designed to solve the common pitfalls of concentrated liquidity provision. By leveraging an AI-powered automated manager, it addresses the issue of positions falling out of range and failing to capture fees. This integration within Openclaw Skills allows developers and traders to manage their DeFi positions directly through a chat interface, bridging the gap between off-chain AI analysis and on-chain execution.

The skill provides a seamless way to interact with the Ethereum Sepolia testnet, offering tools for position monitoring, liquidity injection, and real-time market signal processing. By using GhostBot as part of your Openclaw Skills library, you gain access to institutional-grade liquidity management tools including auto-rebalancing, dynamic fee adjustments, and limit order execution without manual intervention.

GhostBot ACLM Use Cases

  • Automatically moving liquidity positions back into range when market prices drift to ensure continuous fee collection.
  • Implementing dynamic LP fees that adjust automatically based on market volatility signals to protect against impermanent loss.
  • Setting up native stop-loss, take-profit, and trailing stop protection within Uniswap v4 pools.
  • Monitoring on-chain oracle signals and confidence scores for automated liquidity management.
  • Managing testnet DeFi portfolios on Sepolia through simple natural language commands processed by the agent.

How GhostBot ACLM Works

  1. The user issues a command through the agent to manage liquidity or check pool status.
  2. The agent executes local scripts within the Openclaw Skills environment using Node.js and the viem library.
  3. An off-chain bot engine analyzes market data every 60 seconds and posts confidence-scored signals to an on-chain oracle contract.
  4. The GhostBot Hook contract reads these signals from the oracle to perform logic such as auto-rebalancing or adjusting dynamic fees.
  5. Transactions are submitted to the Uniswap v4 PoolManager on the Sepolia network, updating the user's position state and liquidity bounds.

GhostBot ACLM Setup

To get started with this skill, navigate to the scripts directory and install the required dependencies:

cd ~/.openclaw/workspace/skills/ghostbot-aclm/scripts
npm install

You can optionally configure your own RPC provider and wallet by setting environment variables:

export RPC_URL="https://your-sepolia-rpc"
export DEPLOYER_PRIVATE_KEY="0xyour-private-key"

GhostBot ACLM Data Schema & Taxonomy

The skill interacts with several data structures on-chain and through local scripts:

Component Description
Hook State Tracks the paused status, minimum confidence thresholds, and total order counts.
Oracle Signals Stores position IDs, target tick ranges, confidence scores (0-100), and timestamps.
Pool Stats Tracks cumulative volume, volatility metrics, and the current dynamic fee percentage.
Position Metadata Includes liquidity amounts, tick bounds, and rebalance cooldown history.
ERC6909 Shares Manages internal accounting for liquidity providers within the hook.

GhostBot ACLM Advanced Features

  • Confidence Gating: Prevents execution of signals with a confidence score below 70 to ensure stability during market uncertainty.
  • Oracle Integration: A dedicated signal bridge that translates off-chain AI analysis into actionable on-chain liquidity adjustments.
  • Automated Token Minting: Simplifies testnet usage by automatically minting and approving test tokens (GBB/GBA) during liquidity addition.
  • Dynamic Fee Optimization: Adjusts pool fees in real-time based on volatility to maximize LP returns and attract swap volume.
  • Rebalance Cooldowns: Built-in 1-hour protection per position to prevent excessive gas consumption and oscillation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*