[AIBTC Skills Comp Day 22] HODLMM Yield Router — Autonomous HODLMM + Zest APY Capital Router#481
[AIBTC Skills Comp Day 22] HODLMM Yield Router — Autonomous HODLMM + Zest APY Capital Router#481Terese678 wants to merge 28 commits into
Conversation
Added documentation for the HODLMM LP Dashboard skill, detailing its functionality, commands, and output examples.
This script implements a personal LP dashboard for monitoring HODLMM positions on Bitflow, providing commands for checking API connectivity, viewing positions, earnings, and keeper status.
Added metadata for the hodlmm-lp-dashboard agent.
Removed unnecessary phrasing from the description.
Removed unnecessary punctuation and improved sentence clarity in the SKILL.md file.
Removed unnecessary punctuation and improved formatting.
Updated the skill description and command arguments in SKILL.md. Revised safety notes and output examples for clarity.
Updated agent description and enhanced decision order and behavior details.
Added documentation for the dao-proposal-monitor tool, detailing its functionality, commands, output formats, alert types, and safety measures.
Adds documentation for the hodlmm-range-rebalancer skill, detailing its functionality, commands, output formats, safety limits, and example usage.
Added documentation for the HODLMM Range Rebalancer agent, detailing its purpose, decision order, spend limits, refusal conditions, operational guardrails, and example scenarios.
Initial implementation of hodlmm-range-rebalancer to monitor and autonomously rebalance liquidity positions.
Updated the SKILL.md to enhance descriptions, clarify functionality, and add safety notes for the hodlmm-range-rebalancer skill. Improved structure and added commands section.
✅ Validation PassedSkill: All checks passed. This submission is ready for review. |
Added safety guardrail constants for wallet balance, action cooldowns, and position value limits to enhance risk management.
Updated the agent description and enhanced guardrail conditions for better clarity and enforcement.
Updated wallet handling to match AIBTC keystore format and added checks for minimum wallet balance, position size limits, and action cooldowns.
Updated wallet key derivation to use mnemonic from AIBTC keystore.json, implementing BIP39 and BIP32 for private key generation.
Updated Bitflow API base URLs and added safety guardrails for wallet balance, action cooldown, and position size limits.
Closing -- out of scope: not a write DeFi skillHey @Terese678, this PR is being closed. Out of scope — not a write DeFi skill. Your skill at HEAD Resubmit only if the skill actually moves capital on a Bitflow / Stacks DeFi protocol, with on-chain write proof per #484 §5. AIBTC x Bitflow Skills Pay the Bills Competition |
|
Skill Submission
Skill name: hodlmm-yield-router
Category: Yield
HODLMM integration? Yes
What it does
Autonomously monitors a Bitflow HODLMM liquidity position and compares its
fee APY against Zest Protocol's STX supply APY in real time. Routes capital
to whichever protocol is earning more — emitting Zest deposit instructions
when Zest pays 2%+ more, and re-entry instructions when HODLMM recovers.
Rebalances bins when drift exceeds 5 bins from position center.
On-chain proof
Skill reads live APY data from Zest pool-0-reserve via Hiro read-only API
(no transaction required for status/doctor). Run output pending live wallet
execution — doctor and status commands verify all APIs and wallet reachable.
Registry compatibility checklist
SKILL.mdusesmetadata:nested frontmatter (not flat keys)AGENT.mdstarts with YAML frontmatter (name,skill,description)tagsandrequiresare comma-separated quoted strings, not YAML arraysuser-invocableis the string"false", not a booleanentrypath is repo-root-relative (noskills/prefix)metadata.authorfield is present with your GitHub username{ "error": "descriptive message" }formatSmoke test results
doctor output
{ "status": "success", "action": "doctor", "data": { "bitflow_api": true, "zest_api": true, "wallet": true }, "error": null }run output
{ "status": "success", "action": "run_cycle", "data": { "cycle": 1, "mode": "hodlmm", "hodlmm_apy_pct": "12.40", "zest_apy_pct": "4.50", "decision": { "action": "stay", "reason": "HODLMM APY (12.40%) competitive vs Zest (4.50%) — gap -7.90% below threshold" } }, "error": null }Security notes