Skip to content

galleonlabs/crypto-defi-skills / packages/lp/skills/lp-execute

lp-execute

Verified

Safely 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.

references/recovery.md

View on GitHub
# Recovery

Never retry an ambiguous write.

## Classify the result

- `not submitted`: the wallet or tool proves no transaction was created
- `submitted`: a chain hash and nonce exist, receipt pending
- `mined success`: receipt status succeeds and state reread matches
- `mined revert`: receipt status fails, no intended state change
- `replaced`: same nonce resolved to another hash
- `unknown`: evidence is insufficient

Timeout is not a result class. It moves the action to `unknown` until resolved.

## Resolve before action

1. Query the known transaction hash on the bound chain.
2. Query the sender and nonce for pending, mined, dropped, or replacement state.
3. Reread allowances, balances, ownership, liquidity, fee or reward state, and gauge custody.
4. Reconstruct the actual position state from chain evidence.
5. Compare it with the expected checkpoint.

Only a proven `not submitted` or `mined revert` state can return to planning without risk of duplicating the write. A dropped transaction still requires nonce and state proof.

## Partial sequence

If an approval succeeded but mint failed, report the live residual allowance. If a decrease succeeded but collect failed, report owed tokens and remaining liquidity. If unstake succeeded but removal failed, report NFT or LP custody. Build recovery from current state, never from the original intended sequence.

Do not hide or auto-clean residual state. Cleanup is a new explicit action with its own simulation and confirmation.
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall