← Back to Skills Marketplace
ssidharhubble

DeFi Liquidity Optimizer

by ssyopro · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
41
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install defi-liquidity-optimizer
Description
Automated liquidity provision optimizer for CLMM DEXs on Solana and Ethereum. Analyzes pools on Meteora, Raydium, and Uniswap V4 to compare APR yields, calcu...
README (SKILL.md)

DeFi Liquidity Optimizer

Analyzes concentrated liquidity pools across Solana and Ethereum to find optimal LP positions and monitor existing positions for rebalancing needs.

Pool Analysis Features

  • APR Comparison - Ranks pools by annual percentage yield
  • TVL Safety Scores - Higher TVL = lower IL risk and more stable fees
  • Fee Efficiency - Fees earned relative to trading volume
  • Impermanent Loss Calculator - Shows impact at multiple price scenarios
  • Rebalancing Alerts - Detects when positions fall out of range

Usage

# Full comparison report
python scripts/liquidity_optimizer.py compare

# APR rankings only
python scripts/liquidity_optimizer.py rank

# IL calculation for specific price change
python scripts/liquidity_optimizer.py il 1.5   # 1.5x = 50% increase
python scripts/liquidity_optimizer.py il 0.75  # 0.75x = 25% decrease

Understanding the Output

The comparison report shows each pool with:

  • APR and daily fee earnings on a $1000 investment
  • TVL-based safety score (1-5 stars)
  • Fee efficiency percentage
  • IL scenarios for different price changes

Production Integration

For live pool data, connect to:

  • Meteora DLMM API for Solana pools
  • Raydium API for Solana pools
  • Hummingbot Gateway for Ethereum Uniswap V4

The current script uses mock data structure that maps to real API responses.

Usage Guidance
This skill looks safe to run as a local demo analyzer. Before relying on its DeFi recommendations, remember that it uses mock pool data and does not connect to live markets or execute trades.
Capability Analysis
Type: OpenClaw Skill Name: defi-liquidity-optimizer Version: 1.0.0 The skill bundle is a legitimate DeFi liquidity analysis tool that uses hardcoded mock data to calculate APR, TVL safety scores, and impermanent loss. The Python script (liquidity_optimizer.py) contains only mathematical logic and reporting functions with no external dependencies, network activity, or sensitive file access. All instructions in SKILL.md and README.md are consistent with the provided code's functionality.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The stated purpose and code align: it compares mock DeFi liquidity pools, calculates APR-style metrics, and prints rebalancing-style recommendations. Because the output is financial/crypto guidance based on mock data, users should treat it as illustrative rather than live investment advice.
Instruction Scope
The documented commands are user-invoked Python commands; there are no instructions to override user intent, force tool use, or perform autonomous trades.
Install Mechanism
There is no install spec and the script uses Python standard-library imports only. Python 3.9+ is documented in SKILL.md.
Credentials
No required credentials, environment variables, wallet files, APIs, or network endpoints are present in the artifacts.
Persistence & Privilege
The artifacts do not show persistence, background workers, privileged operations, file writes, or account mutation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install defi-liquidity-optimizer
  3. After installation, invoke the skill by name or use /defi-liquidity-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of defi-liquidity-optimizer, an automated tool for optimizing liquidity provision in CLMM DEXs on Solana and Ethereum. - Analyze pools on Meteora, Raydium, and Uniswap V4 for APR yield comparison, TVL safety scoring, fee efficiency, and impermanent loss across multiple price scenarios. - Generate rebalancing recommendations when positions move out of their configured range. - Includes commands for full pool comparison, APR rankings, and IL computation at user-selected price changes. - Standalone Python 3.9+ script without external dependencies; designed for integration with Hummingbot Gateway or pool APIs for live data.
Metadata
Slug defi-liquidity-optimizer
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is DeFi Liquidity Optimizer?

Automated liquidity provision optimizer for CLMM DEXs on Solana and Ethereum. Analyzes pools on Meteora, Raydium, and Uniswap V4 to compare APR yields, calcu... It is an AI Agent Skill for Claude Code / OpenClaw, with 41 downloads so far.

How do I install DeFi Liquidity Optimizer?

Run "/install defi-liquidity-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is DeFi Liquidity Optimizer free?

Yes, DeFi Liquidity Optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does DeFi Liquidity Optimizer support?

DeFi Liquidity Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created DeFi Liquidity Optimizer?

It is built and maintained by ssyopro (@ssidharhubble); the current version is v1.0.0.

💬 Comments