manage-liquidity
Add liquidity, remove liquidity, or collect fees on Uniswap V2/V3/V4 pools. Handles the full flow including pool selection, range optimization, approvals, safety checks, and transaction execution. Use when the user wants to LP, provide liquidity, remove a position, or collect accumulated fees.
Why use this skill?
Efficiently add, remove, and manage your Uniswap V2, V3, and V4 liquidity positions. Automatically optimize ranges and collect fees with this OpenClaw skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/manage-liquidityWhat This Skill Does
The manage-liquidity skill is the definitive engine for Uniswap ecosystem interactions within OpenClaw. It serves as a comprehensive wrapper for liquidity provision, management, and harvesting. By integrating directly with Uniswap V2, V3, and V4 protocols, the skill abstracts the complexity of AMM (Automated Market Maker) mathematics, range optimization, and gas-efficient transaction execution. Whether a user intends to establish a new position, dynamically adjust an existing range, or claim accrued trading fees, this skill orchestrates the entire lifecycle. It utilizes the liquidity-manager agent to handle the heavy lifting of contract interactions and approvals, while optionally leveraging the pool-researcher component to identify pools with optimal TVL and historical yield performance.
Installation
To integrate this skill into your OpenClaw environment, use the command:
clawhub install openclaw/skills/skills/wpank/manage-liquidity
Ensure your wallet provider is correctly configured within the agent environment to allow for secure signing of transactions initiated by the skill.
Use Cases
- Automated Yield Farming: Users can delegate the choice of pool and price range to the AI to maximize returns based on current volatility and trading volume.
- Portfolio Rebalancing: Quickly withdraw liquidity from underperforming pools and redeploy into higher-yield pairs.
- Fee Harvesting: Regularly monitor and collect fees from concentrated liquidity positions to compound earnings.
- Liquidity Provisioning: Simplifies the process of providing capital for new pairs on various L2s like Base or Arbitrum without requiring manual interaction with the Uniswap web interface.
Example Prompts
- "I want to provide $2000 of liquidity to the WETH/USDC pair on Base using a medium range strategy."
- "Close my position #8842 and withdraw all assets back to my wallet."
- "Check how much in uncollected fees I have on my UNI/WETH position and collect them if they exceed $50."
Tips & Limitations
- Safety Note: Always verify the transaction details in your wallet provider before confirming. While the skill performs safety checks, smart contract interactions carry inherent risks.
- Gas Costs: Liquidity operations are gas-intensive, especially on Ethereum Mainnet. Consider utilizing the
chainparameter to execute on L2s for cheaper fees. - Range Selection: Using 'narrow' ranges requires active management as positions may go out of range quickly. Start with 'medium' or 'wide' if you are unsure of price volatility.
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-wpank-manage-liquidity": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution
Related Skills
mermaid-diagrams
Create software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams, sequence diagrams, flowcharts, ERDs, C4 architecture diagrams, state diagrams, git graphs, and other diagram types. Triggers include requests to diagram, visualize, model, map out, or show the flow of a system.
api-design-principles
Skill by wpank
auto-context
Automatically read relevant context before major actions. Loads TODO.md, roadmap.md, handoffs, task plans, and other project context files so the AI operates with full situational awareness. Use when starting a task, implementing a feature, refactoring, debugging, planning, or resuming a session.
clear-writing
Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
track-performance
Track the performance of Uniswap LP positions over time — check which positions need attention, are out of range, or have uncollected fees. Use when the user asks how their positions are doing.