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/transaction-state-machine.md
View on GitHub# Transaction state machine
Use this state machine for every write.
```text
DISCOVER -> BIND -> QUOTE -> BUILD
BUILD -> APPROVAL_REQUIRED | SIMULATE
APPROVAL_REQUIRED -> CONFIRM_APPROVAL -> SUBMIT_ONE -> RECEIPT -> REREAD -> BUILD
SIMULATE -> CONFIRM_ACTION -> SUBMIT_ONE -> RECEIPT -> REREAD -> RECONCILE
RECONCILE -> COMPLETE | BUILD_NEXT | STOP | RECOVER
```
## Discover and bind
Read the wallet and chain from the signer, not from prior conversation. Resolve contracts from current official deployment records and verify deployed bytecode. Bind a plan identifier or hash to all material fields.
## Quote and build
Use current onchain state or an official protocol integration. Add hard spend, receive, liquidity, price, slippage, impact, gas, and deadline limits. Reject empty calldata, placeholder payloads, unrecognized selectors, unknown multicalls, and values that exceed the plan.
Return either finite approvals or one ready action. Never treat action calldata built before approval receipts as current. Bind each phase to a canonical plan digest.
## Simulate and confirm
Simulate from the exact wallet with the exact native value. Decode nested calls, approvals, transfers, mints, burns, stakes, and claims. Compare expected state changes with the plan. Then obtain the exact confirmation contract. A confirmation binds the plan digest and all displayed terms.
## Submit one
Submit one transaction. Record the tool request ID, wallet transaction ID, chain hash, nonce, and submission time when available. Do not submit the next dependent transaction yet.
## Receipt and reread
Wait for a receipt on the bound chain. Check status, block, confirmations or finality, target, sender, nonce, logs, and effective gas. Reread balances, allowances, ownership, liquidity, fee or reward state, range, gauge custody, and loose assets.
## Reconcile
Compare the observed state with the expected diff. If exact, complete or build the next dependent step from the mined state. If different, stop and report the delta. Never continue from intended state.
Keep writes serialized per wallet and nonce. A parallel read is safe; parallel dependent writes are not.
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 |