ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 2/5

yieldvault-agent

Autonomous yield farming agent for BNB Chain with deterministic execution, smart contract integration, and automated decision-making.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/alannetwork/yieldvault-agent
Or

What This Skill Does

The yieldvault-agent is an autonomous financial management tool designed for the BNB Chain ecosystem. It functions as a deterministic decision engine that monitors yield farming vaults, calculates real-time net APRs, and executes strategic transaction actions such as deposit, withdraw, harvest, compound, and rebalance. By integrating directly with YieldVault smart contracts, the agent removes the need for manual portfolio oversight, ensuring that your capital is always allocated to the highest-performing assets based on a conservative risk framework (risk_score ≤ 0.5).

Installation

To begin, ensure you have the OpenClaw environment configured. Install the skill using the primary package manager:

clawhub install openclaw/skills/skills/alannetwork/yieldvault-agent

After installation, copy the configuration template: cp config.deployed.json .env.local

Ensure your RPC endpoints and contract addresses are populated. You can run unit tests using 'npm test' or simulated live tests via 'node test.live.mock.js' to verify your strategy configuration before deploying to the BNB chain.

Use Cases

  • Automated Compounding: Maximize yield by automatically reinvesting rewards when the net APR delta exceeds the threshold.
  • Risk-Adjusted Portfolio Management: Dynamically move assets between vaults while maintaining strict adherence to safety constraints.
  • Hands-off Farming: Set up the hourly scheduler to monitor rewards and execute harvest transactions as soon as they become economically viable (e.g., >$25 USD in rewards).
  • Audit Compliance: Maintain a verifiable record of every decision and transaction through SHA256 hashing, providing clear logs for your financial activity.

Example Prompts

  • "YieldVault, check current vault opportunities on BNB Chain and report the top 3 with a risk score under 0.5."
  • "Execute a rebalance of my portfolio if there is a vault offering more than 2% improvement over my current position."
  • "Configure the scheduler to perform a harvest if my pending rewards exceed 50 USD and notify me on Telegram."

Tips & Limitations

  • Risk Filtering: The agent is hard-coded to ignore any vault with a risk score above 0.5. Do not modify the source code to bypass this if you prioritize capital preservation.
  • Gas Costs: Ensure you maintain a sufficient balance of BNB in your wallet to cover the transaction fees for compounding and rebalancing, as the agent performs these autonomously.
  • Deterministic Nature: Because the logic is deterministic, the agent will not 'improvise' outside of its defined constraints. Ensure your configuration values for 'max_allocation_percent' align with your total portfolio risk tolerance.

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-alannetwork-yieldvault-agent": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#defi#bnbchain#automation#yield-farming
Safety Score: 2/5

Flags: network-access, file-read, file-write, external-api, code-execution