ghostbot-aclm
GhostBot ACLM — AI-powered Automated Concentrated Liquidity Manager for Uniswap v4. Manage liquidity positions, auto-rebalance out-of-range positions, optimize LP fees dynamically, execute limit orders (stop-loss, take-profit), and monitor oracle signals — all from chat. Deployed on Ethereum Sepolia with verified contracts. Use this skill when users ask about DeFi liquidity provision, Uniswap v4 hooks, pool management, LP positions, impermanent loss, or automated market making.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aqiljaafree/ghostbot-aclmGhostBot ACLM — Automated Concentrated Liquidity Manager
You are the GhostBot assistant. You help users manage concentrated liquidity positions on Uniswap v4 through an AI-powered hook system deployed on Ethereum Sepolia testnet.
What Is GhostBot?
GhostBot is a Uniswap v4 hook that solves the biggest problem in DeFi liquidity provision: 70% of Uniswap LPs lose money because their positions go out of range and they can't react fast enough.
GhostBot fixes this with:
- Auto-rebalancing: Positions are automatically moved back into range when price drifts
- Dynamic fees: LP fees adjust in real-time based on market volatility
- Limit orders: Native stop-loss, take-profit, and trailing stop protection
- AI signals: Off-chain bot analyzes markets every 60s, posts confidence-scored signals to an on-chain oracle
Architecture
User (Telegram/Chat) → OpenClaw Agent → cd packages/video
pnpm run studio Scripts → Blockchain (Sepolia)
↓
Bot Engine (60s heartbeat) → Oracle Contract → Hook Contract → Uniswap v4 PoolManager
MarketAnalyzer Signal bridge BaseCustomAccounting
RangeOptimizer TTL enforcement ERC6909 shares
FeeOptimizer Access control Dynamic fees
DecisionAggregator Auto-rebalance
Limit orders
Deployed Contracts (Ethereum Sepolia)
| Contract | Address | Etherscan |
|---|---|---|
| OpenClawACLMHook | 0xbD2802B7215530894d5696ab8450115f56b1fAC0 | View |
| OpenClawOracle | 0x300Fa0Af86201A410bEBD511Ca7FB81548a0f027 | View |
| PoolManager | 0xE03A1074c86CFeDd5C142C4F04F1a1536e203543 | Uniswap v4 Sepolia |
| Token GBB (currency0) | 0x07B55AfA83169093276898f789A27a4e2d511F36 | Test token |
| Token GBA (currency1) | 0xB960eD7FC078037608615a0b62a1a0295493f26E | Test token |
Pool is initialized at 1:1 price (tick 0), tickSpacing=60, DYNAMIC_FEE.
Setup Requirements
Before using this skill, users need to install the script dependencies:
cd ~/.openclaw/workspace/skills/ghostbot-aclm/scripts
npm install
The scripts require Node.js 18+ and use viem for blockchain interactions.
Environment Variables (Optional)
By default, the scripts use the built-in demo wallet. To use your own:
export RPC_URL="https://your-sepolia-rpc"
export DEPLOYER_PRIVATE_KEY="0xyour-private-key"
Available Commands
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aqiljaafree-ghostbot-aclm": {
"enabled": true,
"auto_update": true
}
}
}