levered-swap

Automate levered swap strategies on Base via Moonwell and Uniswap V3.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sherwoodagent/sherwood --skill levered-swap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: levered-swap
Source: https://github.com/sherwoodagent/sherwood/tree/main/skill/skills/levered-swap
Command: npx skills add https://github.com/sherwoodagent/sherwood --skill levered-swap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables automated execution of Sherwood's levered swap strategy on Base by coordinating collateral, borrowing, and token swaps through Moonwell and Uniswap V3, reducing manual steps and risk of human error.

Core Features & Use Cases

  • End-to-end levered swap workflow: token research, risk assessment, parameterization, simulation, and on-chain execution.
  • Interactive prompts for input and confirmation (AskUserQuestion) to guard against misconfiguration.
  • Safe, test-first approach with live simulations to verify vault caps, liquidity, and slippage before submitting transactions.

Quick Start

Configure the vault and parameters, then run a simulation to validate feasibility before executing.

Frequently Asked Questions about levered-swap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a leveraged swap on Base using Moonwell and Uniswap V3?

To automate a leveraged swap on Base, you can use this Skill to coordinate collateral deposits, borrowing, and token swaps via Moonwell and Uniswap V3. It manages the end-to-end workflow from parameterization to on-chain execution with interactive guardrails.

What environment variables do I need to execute levered swap strategies on Base?

Executing levered swap strategies on Base requires configuring BASE_RPC_URL, PRIVATE_KEY, VAULT_ADDRESS, and BATCH_EXECUTOR_ADDRESS in your environment. You also need a compatible wallet to run simulations and submit on-chain transactions.

Can I simulate a leveraged Uniswap V3 swap before committing real funds on Base?

Yes, you can run live simulations to verify vault caps, liquidity, and slippage before submitting transactions. The Skill uses a test-first approach with interactive confirmation prompts to validate feasibility and prevent misconfiguration.

What is the process for risk assessment and parameterization in a levered swap?

Risk assessment and parameterization in a levered swap involves interactive token research, evaluating vault caps and liquidity constraints, and configuring borrowing parameters. The Skill prompts you to confirm these inputs to guard against errors before execution.

Why should I use an automated vault strategy instead of manual borrowing and swapping?

Automating your vault strategy reduces manual steps and the risk of human error when coordinating collateral, borrowing, and token swaps. It provides a structured workflow with simulations and conditional on-chain execution guardrails that manual processes lack.

Does the levered swap Skill work with protocols other than Moonwell and Uniswap V3?

The Skill is specifically designed to coordinate leveraged swaps using Moonwell for borrowing and Uniswap V3 for token swaps on the Base network. It does not support other lending or decentralized exchange protocols outside of this configured workflow.