zest-borrow-asset-primitive

Installation
SKILL.md

Zest Borrow Asset Primitive

What it does

zest-borrow-asset-primitive borrows a selected Zest V2-supported asset against an existing V2 collateral position on Stacks mainnet. It is a primitive write skill: one operator-selected amount, one Zest V2 borrow transaction, and proof-ready JSON output.

The skill is market-aware but not strategy-specific: callers choose --collateral-asset, --borrow-asset, and --amount, and the skill validates those choices against the live Zest registry before planning or broadcasting. It does not supply collateral, swap borrowed assets, run a leverage loop, repay debt, or unwind a position.

Why agents need it

Leveraged sBTC workflows need a proven borrow leg before any controller can safely compose borrow, swap, and re-supply steps. This skill isolates the debt-creating action so it can be reviewed, proved, and reused without hiding borrow risk inside a larger strategy.

Safety notes

  • This is a write skill and can create debt.
  • It requires existing Zest collateral before borrowing.
  • It requires explicit --confirm=BORROW before broadcast.
  • It verifies the configured Zest V2 market, vault, assets, and egroup contracts before a write.
  • It reads selected asset, LP token, oracle, reserve, collateral, debt, gas, and pending transaction state before planning or running.
Related skills
Installs
10
Repository
aibtcdev/skills
GitHub Stars
6
First Seen
13 days ago