Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计异常

sbtc-yield-maximizersbtc 收益最大化

Agent Skill

sbtc-yield-maximizer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

303

周安装

13

GitHub Stars

5

下载量

106
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sbtc-yield-maximizer(sbtc 收益最大化)
来源仓库:https://github.com/aibtcdev/skills
仓库路径:skills/sbtc-yield-maximizer
安装命令:
npx skills add https://github.com/aibtcdev/skills --skill sbtc-yield-maximizer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aibtcdev/skills --skill sbtc-yield-maximizer

简介

sbtc-yield-maximizer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理和分析。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前建议确认权限范围、维护状态及是否触发联网或命令执行。
  • 可结合原始 README 进一步核验具体功能和使用方法。

SKILL.md

sBTC Yield Maximizer

What it does

Compares live Zest sBTC yield against current Bitflow sBTC HODLMM opportunity and routes idle sBTC to the highest safe path. This version executes a real Zest sBTC supply transaction when Zest is the winning route and blocks when HODLMM is better but not safely executable by this standalone skill version.

Why agents need it

Agents should not deploy sBTC based on static assumptions. They need a real decision layer that checks current yield, stale pricing risk, HODLMM liquidity quality, and wallet reserves before capital moves. This skill turns that decision into a repeatable, guardrailed write flow.

Safety notes

  • Writes to chain. run signs and broadcasts a real Zest sBTC supply transaction when Zest is the winning route.
  • Mainnet only. Routing data and write execution target live mainnet protocols.
  • Wallet password required. The skill unlocks the local AIBTC wallet at execution time using AIBTC_WALLET_PASSWORD.
  • Reserve enforced. The wallet retains at least --reserve-sats after the write path.
  • Deploy cap enforced. The routed amount is capped by --max-deploy-sats.
  • Gas reserve enforced. The wallet must keep at least --min-gas-reserve-ustx.
  • Post-conditions enforced. The Zest service-layer write path uses PostConditionMode.Deny.
  • HODLMM stale-price gate enforced. Pools with price divergence above --max-price-divergence-pct are disqualified from winning.
  • HODLMM liquidity gates enforced. Pools below the configured TVL or 24h volume floors are disqualified.
  • Cooldown enforced. Repeated route execution is blocked until --cooldown-hours has elapsed.
  • Explicit confirmation required. run refuses to execute unless --confirm=MAXIMIZE is provided.
  • Wallet is re-locked after the attempted write path.

Commands

doctor

Checks wallet resolution, STX and sBTC balances, Zest vault reads, Bitflow pool reads, and whether the current configuration can execute the winning route safely.

bun run sbtc-yield-maximizer/sbtc-yield-maximizer.ts doctor

install-packs

Lists the required runtime packages used by this skill.

bun run sbtc-yield-maximizer/sbtc-yield-maximizer.ts install-packs

status

Shows live balances, route candidates, route scores, Zest rate reads, the top HODLMM candidate, and the current winning route.

bun run sbtc-yield-maximizer/sbtc-yield-maximizer.ts status

run

Unlocks the wallet, re-checks the route decision, and executes a real Zest sBTC supply when Zest is the winning safe route.

AIBTC_WALLET_PASSWORD='your-password' bun run sbtc-yield-maximizer/sbtc-yield-maximizer.ts run --confirm=MAXIMIZE

Example tuned run:

AIBTC_WALLET_PASSWORD='your-password' bun run sbtc-yield-maximizer/sbtc-yield-maximizer.ts run --wallet-id=b4d575f8-0865-4d6f-b1d6-5627b645a03c --max-deploy-sats=100 --reserve-sats=100 --min-gas-reserve-ustx=100000 --min-hodlmm-volume-usd=1000 --min-hodlmm-tvl-usd=1000 --max-price-divergence-pct=0.5 --confirm=MAXIMIZE

Output contract

All outputs are JSON to stdout.

Success:

{
  "status": "success",
  "action": "Supplied sBTC to Zest because it was the highest safe executable yield route",
  "data": {
    "operation": "maximize-yield",
    "txid": "0x...",
    "explorerUrl": "https://explorer.hiro.so/txid/0x...?chain=mainnet"
  },
  "error": null
}

Blocked:

{
  "status": "blocked",
  "action": "Hold idle sBTC until a safe executable route is available",
  "data": {},
  "error": {
    "code": "PREFLIGHT_BLOCKED",
    "message": "No executable route passed the configured safety gates",
    "next": "Re-run later or adjust thresholds with explicit operator approval"
  }
}

Error:

{ "error": "descriptive message" }

Known constraints

  • This version executes the Zest route when Zest is the winning route. When HODLMM wins, the skill reports that outcome but does not attempt a direct HODLMM LP deposit.
  • Zest sBTC yield is derived from live on-chain Zest vault reads and interpreted as a basis-points-style supply signal. This was verified against the live v0-vault-sbtc source, which defines BPS u10000 and applies rate math in basis points.
  • HODLMM opportunity is derived from live Bitflow app and quote APIs using APR, fee run-rate, volume, TVL, and stale-price checks.
  • Requires enough sBTC to exceed reserve and enough STX to preserve gas reserve.

Origin

Winner of AIBTC x Bitflow Skills Pay the Bills competition. Original author: @Ololadestephen Competition PR: https://github.com/BitflowFinance/bff-skills/pull/243

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.26%
按下载量换算39

Claude

26.39%
按下载量换算28

Cursor

18.35%
按下载量换算19

Gemini CLI

9.3%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills