bitflow-limit-order
Installation
SKILL.md
bitflow-limit-order
Agent-powered limit orders on Bitflow. Bitflow has no native limit-order support — the agent IS the order engine.
What it does
Sets price targets on Bitflow HODLMM pools, polls active bin mid-prices on each heartbeat, and executes swaps autonomously when conditions are met. The agent maintains a local order book (~/.aibtc/limit-orders/orders.json), checks prices every 5 minutes via run, and fills orders that hit their target.
Core flow:
set— User creates a limit order with pair, side, price, amount, slippage, and expiryrun— Called every heartbeat: loads active orders, fetches pool prices, executes triggered swaps via BitflowSDK, expires stale orderslist/cancel— Manage the order book
User/Agent ──set──▶ Order File ──run──▶ Price Check ──trigger──▶ BitflowSDK Swap
(~/.aibtc/ (HODLMM active (best-route tx via SDK;
limit-orders) bin mid-price) not necessarily HODLMM)