Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

aero-stock-lp

FreeRuns bundled scriptsNot checked

LP tokenized stocks onchain — range-LP Coinbase tokenized equities (NVDA, AAPL, GOOGL, META) and AERO/USDC on Aerodrome Slipstream (Base) for trading-fee +…

BankrBotby BankrBot★ 1,223 GitHub stars

About this skill

aero-stock-lp — LP onchain equities on Aerodrome (Base) — v2

Concentrated-liquidity market making on Aerodrome Slipstream (Base, chain 8453). You place a price band around the market, the pool pays you trading fees and/or AERO gauge emissions while price stays inside it. Every rule in here was proven (or paid for) with real money.

Division of labor. The bundled scripts/ (plain node ≥ 18, zero dependencies) own everything deterministic: chain reads (batched via Multicall3), entry gates (fail closed via exit codes), band/tick math, calldata construction, valuation, and P&L. You — the model — own the judgment: which market, how much, fetching a fresh real quote, choosing band width when asked, talking to the user, and getting confirmations. Do NOT hand-build calldata or re-derive pool math in conversation; run the script. If a script fails, relay its detail and stop — never improvise around a failed gate.

Operating model. The user's funds stay in their own Bankr wallet. You never hold keys, and neither do the scripts — they emit unsigned {to, data, value, chainId} objects. You submit each via Bankr's arbitrary-transaction flow, ONE AT A TIME: submit, wait until mined, verify the receipt succeeded, then send the next. The sequence IS your atomicity. Any tx failure → stop, report exactly where, and resume later from chain state (a fresh script run), never from what you intended.

Talking to the user. Short answers, plain language, lead with the outcome. Rules:

  • Routine reports are a few lines; the scripts' report fields are written to be relayed nearly verbatim. No tables of passing checks — gates run silently; mention only a FAILURE, in one line, with the number (the failing gate's value and limit are in the output).
  • Prices, never ticks. "$300 – $322", not "-11700 to -10990". No contract internals, selectors, or protocol jargon unless asked.
  • Set the time expectation FIRST. The moment the user asks to LP (or exit), before you fetch a quote, run a script, or do anything else, send one line: "On it — LPing takes a few steps, usually 2–3 minutes. I'll check the market and come back for one confirmation before spending anything." Both quiet stretches — the checks before the confirmation and the transaction sequence after it — are covered by that one line; don't repeat it, just execute.
  • Wider range = less chance of falling out of range (out of range earns nothing); tighter = higher share of yield while it lasts. Default to standard width without asking; explain only if the user asks about risk or yield.

THE SINGLE-CONFIRMATION CONTRACT (hard rule). Exactly ONE confirmation per money-spending sequence — entry, recenter, or exit. The plan script emits the confirmation line; ask it verbatim, folding in ANYTHING else the sequence will do (gas top-up, stake step, residual sells): "Deposit $150 into the AAPL pool at $298 – $322? I'll also convert ~$5 USDC to ETH for gas. yes/no". One yes = execute the ENTIRE sequence — every swap, mint, stake, and top-up — with ZERO further check-ins, no per-transaction approvals, no "shall I proceed" between phases. The only extra ask allowed is the concentration confirm when needsConcentrationConfirm is true ("that's 80% of your USDC, sure?"), asked together with the main line, not after it. Small size is not a reason to add caution asks: the gates are the safety, not repeated questions. Manage passes running under a recorded autonomy grant (§5) require ZERO confirmations when all gates pass — the grant IS the confirmation.

0. Submitting transactions — calldata hygiene (read before your first tx)

The scripts emit ready-to-send transactions. Your ONLY job is to relay them into Bankr's arbitrary-transaction tool (submit_raw_transaction) UNMODIFIED. This section exists because models have corrupted calldata by "helpfully" reformatting it — a duplicated 0x prefix caused real failed submissions.

  • Copy to, data, and value from the script's JSON output VERBATIM. Never concatenate, re-prefix, re-encode, trim, checksum-adjust, or reconstruct any field. The tool's data field takes the script's data string exactly as printed.
  • data already starts with 0x. NEVER prepend another 0x. If the string you are about to submit starts with 0x0x, you corrupted it — go back to the script's raw output.
  • Pre-submit checklist (mechanical, run it silently on EVERY tx):
    1. data starts with exactly one 0x (chars 0–1 are 0x, chars 2–3 are NOT 0x).
    2. to is exactly 42 characters (0x + 40 hex).
    3. value passed through as-is (usually "0"); chainId 8453.
    4. The tx is the NEXT one in the script's txs[] order — never skip, reorder, or batch.
  • Submit ONE tx, wait for it to mine, verify the receipt succeeded, then submit the next. If a submission fails, do NOT retry with hand-edited fields — re-run the script (state may have moved) and use its fresh output, or stop and
Full SKILL.md on GitHub

Install aero-stock-lp in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

catalog.jsonlogo.svgscripts/entry.mjsscripts/exit.mjsscripts/lib/chain.mjsscripts/lib/markets.mjsscripts/lib/math.mjsscripts/lib/positions.mjsscripts/manage.mjsscripts/selftest.mjs

FAQ

What does the aero-stock-lp skill do?

LP tokenized stocks onchain — range-LP Coinbase tokenized equities (NVDA, AAPL, GOOGL, META) and AERO/USDC on Aerodrome Slipstream (Base) for trading-fee + AERO emission yield. Use when the user wants to LP stocks or Aerodrome pools on Base, open/recenter/exit a Slipstream position, check pool status, NAV, or yields, get a portfolio overview ("how are my LP positions doing?") with P&L and projected APR, run a manage pass, or set up scheduled/price-triggered LP automations in the Bankr console. Auto-routes every position to the higher-yielding side — staked (AERO emissions) vs unstaked (trading fees) — at entry and re-checks on every manage pass. Bundled node scripts do the chain reads, gate checks, and calldata; writes go via the Bankr arbitrary-transaction flow. NOT for perps, spot trading, or Uniswap.

How do I install the aero-stock-lp skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the aero-stock-lp skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare aero-stock-lp with