Liquidity Planner

๐ŸŒCommunity
by uniswap ยท vlatest ยท Repository

The Liquidity Planner helps you optimize your Uniswap LP positions for maximum returns and reduced impermanent loss โ€“ a crucial tool for DeFi yield farmers.

Install on your platform

We auto-selected Claude Code based on this skillโ€™s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add liquidity-planner npx -- -y @trustedskills/liquidity-planner
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "liquidity-planner": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/liquidity-planner"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Liquidity Planner helps you optimize your Uniswap liquidity provider (LP) positions by generating deep links that pre-fill parameters within the Uniswap interface. It allows users to plan for and create LP positions on Uniswap v2, v3, and v4, focusing on maximizing returns and minimizing impermanent loss โ€“ a crucial tool for DeFi yield farmers. The skill gathers user intent, checks current pool conditions, suggests price ranges, and then creates a deep link ready for use in the Uniswap interface.

When to use it

  • You want to create a new liquidity position on Uniswap but find manually entering all parameters tedious.
  • You're exploring different token pairs or versions (v2, v3, v4) and want to quickly see pre-filled options in the Uniswap interface.
  • You need to generate a deep link for a specific LP configuration to share with others.
  • You are trying to determine an appropriate price range for providing liquidity based on current market conditions.

Key capabilities

  • Parameter Gathering: Collects essential parameters like token pair (Token A & Token B), amount, chain, version, and fee tier from the user.
  • Price Range Suggestion: Suggests suitable price ranges based on the current pool price.
  • Deep Link Generation: Creates a deep link that opens directly in the Uniswap interface with pre-filled parameters.
  • Interactive Prompts (AskUserQuestion): Uses structured options to guide users through parameter selection if information is missing.
  • Token Address Resolution: Resolves token symbols to their corresponding blockchain addresses.

Example prompts

  • "Create a liquidity position for ETH/USDC on Ethereum with an amount of 1 ETH."
  • "I want to provide liquidity on Base, can you suggest a price range for WBTC/ETH?"
  • "Generate a deep link for a v4 liquidity position using USDC and address 0x... with a fee tier of 0.3%."

Tips & gotchas

  • Browser Compatibility: The generated deep links require a browser to open. If running in an environment without a browser (e.g., SSH, containerized environments), the URL will need to be displayed for manual copying.
  • Token Verification: Tokens discovered through web search are considered untrusted and should be verified on-chain before proceeding.
  • Structured Prompts: For optimal user experience, use structured prompts with predefined options when gathering parameters instead of free text input.

Tags

๐Ÿ›ก๏ธ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates โ€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
uniswap
Installs
185

๐ŸŒ Community

Passed automated security scans.