Rhaios Staging DeFi Yield for Openclaw

A comprehensive automation skill for interacting with the Rhaios staging API to manage DeFi yield operations through discovery, preparation, and secure execution.

0xtimepunk
v0.1.4
Mar 16, 2026
0
988
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install rhaios-staging

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install rhaios-staging using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Rhaios Staging DeFi Yield?

The Rhaios Staging skill is a powerful integration for Openclaw Skills that enables AI agents to interact seamlessly with the Rhaios staging REST API. It facilitates the entire lifecycle of DeFi yield management, including vault discovery, transaction preparation, and execution. By leveraging managed test RPCs and a choice of signer backends, developers can safely test and deploy automated yield strategies within a staging environment.

This skill is specifically engineered to handle complex DeFi workflows such as ERC-4626 vault interactions and EIP-7702 account delegation. It ensures that agents can browse vaults by metrics like APY and Sharpe ratio, prepare intents with strict preflight checks, and sign transactions using either Privy agentic wallets or local private keys.

Rhaios Staging DeFi Yield Use Cases

  • Discovering and ranking DeFi vaults by APY, risk, and TVL on the Base network.
  • Automating deposits and redemptions for USDC and other supported assets in curated vaults.
  • Rebalancing portfolio positions across different DeFi protocols via the Rhaios API.
  • Conducting risk-free dry runs of complex DeFi transactions using managed test RPCs.
  • Integrating secure, ownerless wallet signing via Privy for agent-led financial operations.

How Rhaios Staging DeFi Yield Works

  1. Discovery: The agent calls the discovery endpoint to retrieve a ranked list of available vaults and their performance metrics.
  2. Preflight: The skill validates the environment configuration, signer backend integrity, and request constraints.
  3. Preparation: It initiates a prepare call to the Rhaios API to check vault capacity and generate the necessary transaction envelopes.
  4. Setup: If the wallet requires delegation or module initialization, the skill automatically handles EIP-7702 or Type-2 setup transactions.
  5. Signing: The required payloads and intents are signed using the configured backend (Privy or Private Key).
  6. Execution: The signed intent is submitted for execution, and the skill tracks the transaction through to completion.
  7. Verification: A post-check is performed to verify the new position status and ensure transaction success.

Rhaios Staging DeFi Yield Setup

Ensure you have Node.js 22+ or Bun 1.0+ installed. To set up this addition to your Openclaw Skills library, install the dependencies from the skill directory:

npm install --prefix ${CLAUDE_SKILL_DIR}
# or
bun install --cwd ${CLAUDE_SKILL_DIR}

Configure the following environment variables:

  • SIGNER_BACKEND: Set to privy (default) or private-key.
  • PRIVY_WALLET_ID & PRIVY_WALLET_ADDRESS: Required for Privy backend.
  • SIGNER_PRIVATE_KEY: Required for local key signing.

Rhaios Staging DeFi Yield Data Schema & Taxonomy

The skill processes JSON input payloads via stdin and returns structured responses. Below is the primary data structure for operations:

Field Type Description
operation String deposit, redeem, or rebalance
chain String Target blockchain (e.g., 'base')
agentAddress String The 0x-prefixed address of the agent wallet
deposit Object Contains asset, amount, and vaultId
controls Object Safety flags like dryRun, strictMode, and maxGasGwei

Output data includes intent IDs, transaction hashes, and execution results such as EXECUTED or DEDUP.

Rhaios Staging DeFi Yield Advanced Features

  • Pluggable Signer Backends: Supports both Privy agentic wallets and standard hex-encoded private keys.
  • Automatic EIP-7702 Support: Handles first-time wallet delegation and module initialization seamlessly.
  • Idempotent Execution: Built-in safeguards to prevent duplicate transaction broadcasts for the same intent.
  • Integrated Test Funding: Tools to automatically fund agent wallets with test ETH and USDC on staging RPCs.
  • Pre-execution Guardrails: Enforces max amount limits and gas caps before any signature is requested.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*