yieldvault-agent
Autonomous yield farming agent for BNB Chain with deterministic execution, smart contract integration, and automated decision-making.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alannetwork/yieldvault-agentWhat 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alannetwork-yieldvault-agent": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, file-write, external-api, code-execution
Related Skills
touch-the-grass
Skill de reconexión personal para semanas agobiantes de trabajo. Úsala cuando el usuario mencione que está estresado, agotado, quemado, necesita descansar, quiere desconectarse del trabajo, o cuando diga frases como "touch the grass", "necesito descansar", "llevo semanas sin parar", "estoy quemado", "burnout". También se activa en el heartbeat diario para recordatorios proactivos de actividades. Gestiona un sistema de actividades para bajar la dopamina, las agrega al Google Calendar del usuario, lleva un score con verificación visual por foto, y mantiene una racha (streak) de días activos.
clawtrade-bnb
Autonomous DeFi trading agent for BNB Chain with multi-strategy engine, network switching, and reinforced learning.
yieldvault-agent
Autonomous yield farming agent for BNB Chain with deterministic execution, smart contract integration, and automated decision-making.