galleonlabs/crypto-defi-skills / packages/lp/skills/lp-execute
lp-execute
VerifiedSafely carry out a user-requested Uniswap v2, v3, or v4 or Aerodrome or Slipstream liquidity action through a user-controlled wallet. Use only when the user explicitly asks to open, increase, decrease, collect, recenter, stake, unstake, claim, or exit and a trusted wallet execution tool is available. Requires exact confirmation, one-step receipt checks, and chain-state reconciliation.
| File | Kind | Size |
|---|---|---|
| ATTRIBUTION.md | markdown | 921 B |
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 5.8 KB |
| agents/openai.yaml | config | 305 B |
| references/atomic-position-actions.md | markdown | 2.0 KB |
| references/confirmation-contract.md | markdown | 1.6 KB |
| references/official-tools.md | markdown | 3.3 KB |
| references/plan-intake.md | markdown | 1.5 KB |
| references/protocol-lifecycles.md | markdown | 2.7 KB |
| references/recovery.md | markdown | 1.5 KB |
| references/target-calldata-policy.md | markdown | 2.0 KB |
| references/transaction-state-machine.md | markdown | 2.1 KB |
| references/uniswap-builders.md | markdown | 4.4 KB |
| references/vfat.md | markdown | 2.0 KB |
references/protocol-lifecycles.md
View on GitHub# Protocol lifecycles
Verify current deployments and interfaces before using these lifecycle models.
## Uniswap v2
```text
approve tokens -> add liquidity -> receive LP token
approve LP token -> remove liquidity -> receive reserve share
```
Fees are normally embedded in reserves. There is no separate ordinary collect step. Confirm refund and minimum-amount behavior. Fee-on-transfer tokens require a supported path and additional scrutiny.
## Uniswap v3
```text
approve or permit tokens -> mint NFT
increase liquidity -> same NFT
decrease liquidity -> tokens owed
collect -> tokens transferred
zero liquidity and zero owed -> burn NFT
```
Decrease and collect are distinct. Confirm NFT owner, operator approval, recipient, ticks, amounts, minimums, and deadline.
## Uniswap v4
Use the deployed position manager and action model. Bind the full PoolKey. Verify hook permissions and hook data, manager unlock behavior, currency settlement, native value, Permit2 path, and nested actions. Do not reuse v3 calldata or infer safety from a matching pair and fee.
A hook-issued fungible share model has a different lifecycle: approve currencies, add proportional liquidity or use a reviewed zap, receive shares, then burn shares for proportional withdrawal. Verify all currencies, internal reserves, rate sources, minimum shares, per-currency minima, refunds, and whether swaps or adds can fail while withdrawal remains available.
## Aerodrome classic
```text
approve tokens -> add stable or volatile liquidity -> receive LP token
approve LP token -> deposit in gauge -> accrue verified rewards (not into an Aerodrome or Velodrome gauge after the 2026-10-22 00:00 UTC Aero launch, when they are deactivated)
claim rewards or withdraw gauge -> remove liquidity
```
The required order and fee ownership vary by deployed model. Verify router, pool factory, gauge, voter, reward token, epoch, and whether the LP route owns swap fees.
## Slipstream
```text
approve or permit tokens -> mint concentrated NFT
keep unstaked for verified fee rights
or approve and deposit or stake in gauge for verified emissions (not into an Aerodrome or Velodrome gauge after the 2026-10-22 00:00 UTC Aero launch, when they are deactivated)
unstake when required -> decrease -> collect -> burn when empty
```
Staking can forfeit swap fees. Verify gauge custody, reward accrual, fee rights, required unstaking, epoch timing, and stale reward triggers after every range change.
## Atomicity
Prefer protocol-supported atomic actions when all state changes can be simulated and decoded together. Do not force a multi-step venue lifecycle into an invented atomic transaction. For non-atomic sequences, checkpoint each mined state before building the next transaction.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |