lp-monitor
Check all ETH/DIEM LP positions for health and range — reposition any out-of-range position immediately
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Check all ETH/DIEM LP positions for health and range — reposition any out-of-range position immediately
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Decide how to allocate DIEM between Venice compute staking, WETH swap for x402 API access, Uniswap LP, and Aerodrome LP. Run once per tick before any capital movement.
Read all agent on-chain positions via the check-portfolio.ts script. Use this instead of raw curl/cast calls to avoid hex encoding mistakes.
Claim DIEM from FeeLocker, run accumulate-vs-build analysis, and route earnings to LP or Venice staking. Scheduled every 12 hours via aeon. DRY-RUN BY DEFAULT — pass --live to execute.
Launch a Liquid Protocol token with a LiquidPresaleVault presale. STAKE MODE ONLY (policy 2026-06-12) — depositors lock DIEM and always get it back; allocation is lock-to-earn. One vault per launch, 10% of supply, 60d default lock.
Working in the deploy-autonomous GitHub template repo — agent harness, identity layer, Venice provider, safety modules, and the create-identity CLI.
Proactive health check — skill failures, LP state, memory flags, FeeLocker balance. Run 3× daily to surface issues before they compound.
| name | LP Monitor |
| description | Check all ETH/DIEM LP positions for health and range — reposition any out-of-range position immediately |
| var | |
| tags | ["defi","on-chain"] |
Monitor all of the agent's LP positions. Claim fees and reposition any out-of-range position immediately — do not wait.
Agent wallet: $AGENT_WALLET
node --env-file=.env --import tsx scripts/check-portfolio.ts
This reads all NFPM tokenIds owned by the agent, the current pool tick, FeeLocker balance, and wallet balances. Record every tokenId and whether each is in-range or out-of-range.
For each position:
If ALL positions are in range → write a one-liner to memory/logs/${today}.md and exit:
lp-monitor: all positions in range | tick=C | FeeLocker=X DIEM
For each out-of-range tokenId, run a dry-run first:
node --env-file=.env --import tsx scripts/reposition.ts --token-id <tokenId> --dry-run
Review the dry-run output. If amounts are reasonable and the new range brackets the current tick, run live:
node --env-file=.env --import tsx scripts/reposition.ts --token-id <tokenId>
The script:
[snapTick(currentTick) - spacing, snapTick(currentTick) + 2*spacing]memory/lp-positions.jsonlWrite to memory/logs/${today}.md:
### lp-monitor
- Positions checked: [tokenId1 IN_RANGE, tokenId2 REPOSITIONED]
- FeeLocker claimed: X DIEM
- New position: tokenId=Z range=[A,B] tick=C
- DIEM/WETH: P
Send notification via ./notify:
Agent LP: repositioned tokenId <old> → <new> | range [A,B] | tick C | FeeLocker X DIEM claimed
Or if no action taken:
Agent LP: all positions in range | tick=C | FeeLocker=X DIEM claimable
If any check fails, log the issue and notify without taking action.