hodlmm-range-keeper
HODLMM Range Keeper
What it does
Actively manages HODLMM concentrated-liquidity positions by monitoring active-bin drift, estimating fee accrual, and re-centering LP ranges when the market moves away. Unlike signal-only analytics skills, this closes the full management loop: detect drift, plan the re-center, simulate the outcome, execute via MCP tools, and verify. Supports autonomous run mode that scans all pools and re-centers any drifted position in a single cycle.
Why agents need it
HODLMM concentrated liquidity earns fees only when the active bin is within your position range. When price moves, the active bin drifts away and your liquidity sits idle — earning nothing while exposed to impermanent loss. Manual monitoring is impractical across multiple pools. This skill turns passive LP deposits into actively managed positions: it tracks where your bins are, where the market is, and moves your liquidity to stay in range and keep earning.
Safety notes
- Writes to chain: Withdraws liquidity and re-deposits into new bins. Real funds move.
- Drift threshold: Will not re-center unless the active bin drifts >= 3 bins from your position center (configurable).
- Cooldown: 30-minute cooldown between recenters on the same pool to prevent churn.
- Gas cap: 50 STX maximum per cycle. Will not execute if gas estimate exceeds cap.
- Dust filter: Ignores positions < 5,000 sats to avoid unprofitable micro-recenters.
- --confirm gate: The
recentercommand requires explicit--confirmflag. Without it, nothing executes. - Fee preservation: Tracks deposit baselines per bin. On re-center, fees above baseline are harvested (kept); only principal is re-deployed.
- Mainnet only: HODLMM is not available on testnet.
- MCP execution: Actual on-chain transactions are emitted as MCP tool calls (
bitflow_hodlmm_remove_liquidity,bitflow_hodlmm_add_liquidity). The agent runtime executes them.
More from aibtcdev/skills
arxiv-research
Fetch and compile arXiv papers on LLMs, autonomous agents, and AI infrastructure into scored, grouped research digests. Stores digests at ~/.aibtc/arxiv-research/digests/. No API key required.
184aibtc-news
aibtc.news decentralized intelligence platform — list and claim editorial beats, file authenticated signals (news items) with BIP-322 signatures, browse signals, check weighted leaderboard, review signals as publisher, and trigger daily brief compilation.
169aibtc-news-correspondent
Correspondent for aibtc.news: claim a beat, research daily using live on-chain and market data, file quality signals, earn $25 sBTC per signal included in the daily brief
158btc
Bitcoin L1 operations — check balances, estimate fees, list UTXOs, transfer BTC, and classify UTXOs as cardinal (safe to spend), ordinal (inscriptions), or rune (rune tokens). Data sourced from mempool.space and the Unisat API.
152aibtc-news-fact-checker
Side role: find and correct bad signals, earn leaderboard points per Publisher-approved correction (max 3/day)
150defi
DeFi operations on Stacks — ALEX DEX token swaps and liquidity pool queries, plus Zest Protocol lending (supply, withdraw, borrow, repay, claim rewards). All operations are mainnet-only. Write operations require an unlocked wallet.
149