lp-setup
Installation
SKILL.md
LP setup
Get from an installed skill to one verified chain observation, then identify exactly which tools are still missing for the user's intended task.
Tool selection
When connecting or choosing tools, read official tools. Reuse a suitable maintained upstream capability before implementing new integration code; tool adoption stays optional and never supplies wallet authority. For VFAT yield screening, Sickle positions or automation, also read VFAT guidance.
First useful task
- Discover the current harness's available web, RPC, ABI, quote, simulation, and wallet tools. Record actual tool names and allowed methods; installing skills does not create any of them.
- Reuse the user's intended chain and protocol. If absent, ask for the chain while inventorying tools. An RPC URL may contain credentials: have the user configure
LP_RPC_URLthrough their environment or harness secret settings, never paste it into chat or logs. Do not inspect unrelated environment variables. - From this installed skill directory run
node scripts/connection.mjs --chain-id 8453for Base, or replace8453with the user's expected decimal chain ID. The script only callseth_chainIdandeth_getBlockByNumber. It returns chain ID, block number/hash/time and freshness; it neither reads wallet balances nor writes transactions. With an existing RPC tool, perform those same two reads and validate the same fields instead. - Match the returned chain to the expected chain. Treat a stale head, failed read, malformed result, or mismatch as a failed check. A fresh block demonstrates endpoint connectivity only, not independent consensus verification or protocol/tool readiness.
- Use tool connection map to verify only the additional capabilities required for the task. Report
available,missing,failed, ornot-testedper capability, with evidence and observation time. Never label a wallet usable merely because an extension is installed. - Deliver the readiness contract below and the next useful prompt. If the endpoint is missing, deliver a truthful capability inventory and exact missing configuration instead of inventing a successful observation.