Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Optimize Lp

ASecurity

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.

14 stars
0 votes
0 copies
2 views
Added 9/7/2026
businessgoapiperformance

Works with

api

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 9/7/2026

$npx -y skills add modbender/skill-library-mcp --skill optimize-lp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Optimize Lp?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Optimize Lp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-optimize-lp/badge)](https://www.skillsdirectory.com/skills/modbender-optimize-lp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: optimize-lp
description: 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.
model: opus
allowed-tools: [Task(subagent_type:lp-strategist)]
---

# Optimize LP

## Overview

Provides a focused, actionable LP strategy recommendation for a specific token pair. Delegates to the `lp-strategist` agent, which analyzes pair volatility, evaluates version options, selects the optimal fee tier, calculates the best range width, and designs a rebalance strategy — all backed by on-chain data and risk analysis.

This skill answers the question: **"How should I LP into X/Y?"** with a concrete, implementable answer.

## When to Use

Activate when the user asks:

- "Best LP strategy for ETH/USDC"
- "How should I LP $10K into ETH/USDC?"
- "Tight or wide range for WETH/USDC?"
- "V2 or V3 for this pair?"
- "What fee tier should I use for UNI/WETH?"
- "Optimize my LP approach for X/Y"
- "What range should I set for my ETH/USDC position?"
- "Should I use concentrated liquidity for this pair?"

## Parameters

| Parameter      | Required | Default    | How to Extract                                          |
| -------------- | -------- | ---------- | ------------------------------------------------------- |
| token0         | Yes      | —          | First token: "ETH", "WETH", "USDC", or 0x address      |
| token1         | Yes      | —          | Second token                                            |
| capital        | No       | —          | Amount to LP: "$10K", "5 ETH", "$50,000"                |
| chain          | No       | ethereum   | "ethereum", "base", "arbitrum", etc.                    |
| riskTolerance  | No       | moderate   | "conservative", "moderate", "aggressive"                |

## Workflow

1. **Extract parameters** from the user's request. Identify the token pair, capital amount (if mentioned), chain, and risk tolerance.

2. **Delegate to lp-strategist**: Invoke `Task(subagent_type:lp-strategist)` with the parameters. The agent performs a 7-step analysis:
   - Classifies the pair (stable-stable, stable-volatile, volatile-volatile)
   - Evaluates V2 vs V3 vs V4 tradeoffs
   - Selects optimal fee tier with data backing
   - Calculates range width targeting >80% time-in-range
   - Designs rebalance strategy with gas cost analysis
   - Gets independent risk assessment from risk-assessor
   - Produces a recommendation with conservative/moderate/optimistic estimates

3. **Present the strategy** as a clear, actionable recommendation with specific numbers.

## Output Format

```text
LP Strategy for WETH/USDC

  Recommendation: V3, 0.05% fee tier
  Pool: 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 (Ethereum)

  Range: $1,668 - $2,258 (±15%, medium strategy)
  Expected time-in-range: ~82%

  Expected Returns (annualized):
    Conservative: 8.5% APY (after IL)
    Moderate:     15.2% APY (after IL)
    Optimistic:   24.1% APY (after IL)

  Expected IL:
    Conservative: 2.1%
    Moderate:     5.8%
    Worst case:   12.3%

  Rebalance Strategy:
    Trigger: Price within 10% of range boundary
    Frequency: Every 2-3 weeks (estimated)
    Gas cost: ~$15 per rebalance

  Risk Assessment: MEDIUM (approved by risk-assessor)

  Alternatives Considered:
    V3 0.3%: Lower APY (8%) but less competition
    V2: No range management, ~4% APY — good for passive
    Narrow range (±5%): Higher APY but needs weekly rebalancing

  Ready to add liquidity? Say "Add liquidity to WETH/USDC"
```

## Important Notes

- This skill provides a **strategy recommendation**, not execution. To act on it, use the `manage-liquidity` skill.
- All APY estimates are based on historical data. Past performance does not guarantee future returns.
- IL estimates are always shown alongside fee APY — never fee APY alone.
- For small positions (<$1K), the recommendation accounts for gas costs eating into returns.
- The lp-strategist internally delegates to `pool-researcher` for data and `risk-assessor` for risk evaluation.

## Error Handling

| Error                | User-Facing Message                                      | Suggested Action                     |
| -------------------- | -------------------------------------------------------- | ------------------------------------ |
| Token not found      | "Could not find token X on Uniswap."                    | Provide contract address             |
| No pools exist       | "No pools found for X/Y on this chain."                  | Try different chain or check tokens  |
| Insufficient data    | "Not enough historical data to produce a reliable strategy." | Pool may be too new              |
| Agent unavailable    | "LP strategist is not available."                        | Check agent configuration            |

Attribution

modbendermodbender
View sourceSee grades on GitHubMore from modbender →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes

Stock Analysis

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

6511 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes
View all in business →