optimize-lp
Get the optimal LP strategy for a token pair — recommends version (V2/V3/V4), fee tier, range width, and rebalance approach based on pair characteristics, historical data, and risk tolerance. Use when the user asks how to LP, what range to use, or which version/fee tier is best.
Why use this skill?
Get data-backed LP strategy recommendations for your token pairs. Optimize your V3 ranges, fee tiers, and risk management with the OpenClaw optimize-lp skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/optimize-lpWhat This Skill Does
The optimize-lp skill provides institutional-grade liquidity provision (LP) strategies for decentralized exchanges. By leveraging the internal lp-strategist agent, this skill moves beyond generic advice and delivers data-backed recommendations for capital allocation. It evaluates complex variables including token volatility, historical fee generation, impermanent loss (IL) projections, and gas efficiency. Whether you are choosing between V2, V3, or V4 liquidity, this tool calculates the optimal fee tier and price range widths to maximize your expected APY while managing risk profiles tailored to your specific goals.
Installation
You can install this skill directly via the OpenClaw CLI or through the Hub interface by running the following command in your terminal:
clawhub install openclaw/skills/skills/wpank/optimize-lp
Ensure that your OpenClaw environment is configured with access to the necessary blockchain indexers to allow the agent to fetch real-time pool data.
Use Cases
This skill is designed for DeFi yield farmers and liquidity providers who require analytical support to maximize their capital efficiency. It is particularly useful for:
- Determining if a concentrated liquidity position is viable for a specific volatile pair.
- Analyzing the trade-offs between higher fee tiers and potential range abandonment.
- Automating the research phase of liquidity provision by combining on-chain data with user-defined risk tolerance.
- Calculating the break-even points for rebalancing, considering the gas costs on specific chains like Ethereum or Arbitrum.
Example Prompts
- "How should I allocate $50,000 into the WBTC/USDC pool on Arbitrum? Give me a moderate risk strategy."
- "What range and fee tier should I use for a WETH/UNI V3 position if I want to be conservative?"
- "Is it better to use V2 or V3 for a stablecoin pair like USDC/USDT on Mainnet?"
Tips & Limitations
- Data Dependency: The quality of the recommendation is dependent on the availability of historical pool data. Ensure your network connection is stable during execution.
- Not Financial Advice: While the agent uses on-chain data and simulations, LPing involves inherent risks like impermanent loss. Always verify the recommended pools on the official protocol front-end before depositing.
- Gas Costs: On chains with high gas, rebalancing frequency is the most significant factor in your net return. Use the rebalance frequency suggested by the agent to avoid eroding your gains.
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-optimize-lp": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api
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.