zest-yield-manager

Installation
SKILL.md

Zest Yield Manager

What it does

Manages sBTC lending positions on Zest Protocol (Stacks L2). Supplies idle sBTC to earn yield from borrowers, monitors position health, claims wSTX incentive rewards, and withdraws when needed. All operations go through Zest's audited pool-borrow contracts with Pyth oracle price feeds.

Why agents need it

Any agent holding sBTC has idle capital losing value to opportunity cost. This skill automates the supply/withdraw/claim cycle so agents earn yield without manual intervention. It handles the Pyth oracle fee, post-conditions, and borrow-helper versioning that trip up manual callers.

On-chain proof

Tested on Stacks mainnet with real sBTC (agent address SP4DXVEC16FS6QR7RBKGWZYJKTXPC81W49W0ATJE):

Operation Txid Block Result
Supply 1000 sats 8f9eed21... 7,352,592 (ok true)
Withdraw 1000 sats a61c7b59... 7,352,600 (ok true)
Related skills
Installs
77
Repository
aibtcdev/skills
GitHub Stars
6
First Seen
Mar 28, 2026