Yield.xyz AgentKit Skill

An Agent Skill that gives any AI agent access to the full onchain yield ecosystem — yield discovery, schema inspection, balance tracking, and unsigned transaction building across 80+ networks and 2,900+ opportunities.


Overview

Onchain yield spans hundreds of protocols, thousands of opportunities, and dozens of chains — each with its own entry requirements, token formats, and lifecycle mechanics. Building an agent that can navigate all of this requires a unified interface that abstracts the protocol-level complexity.

This skill connects the agent to the Yield.xyz AgentKit MCP, which provides:

  • Yield discovery — Search across staking, lending, vaults, restaking, and liquidity pools on 80+ networks.
  • Schema inspection — Every yield describes its own requirements. The agent reads the schema before taking any action, so it never hardcodes or guesses arguments.
  • Transaction building — The MCP constructs unsigned transactions for entering, exiting, and managing positions. Amounts are human-readable ("100" = 100 USDC).
  • Balance tracking — Check portfolio status, pending actions, and rewards across yields and networks.

Transactions are always returned unsigned. The agent does not sign or broadcast — that's handled by your wallet infrastructure.


What This Skill Covers

This is the base yield skill. It connects the agent to the AgentKit MCP and teaches it how to use the 7 core tools correctly — including schema-first discovery, argument validation, transaction ordering, and the Key Rules that apply to every interaction.

It does not include a wallet or signing layer. If you need end-to-end execution (discover → build → sign → confirm), pair this with a wallet skill:

Need signing?Use
Policy enforcement, approval workflows, TEE key managementYield.xyz AgentKit × Privy
Local CLI wallets, quick testingYield.xyz AgentKit × MoonPay
Your own wallet infrastructureThis skill — sign the unsigned transactions yourself

How It Works

User prompt
    │
    ▼
AgentKit MCP
────────────
Discover yields
Inspect schema + limits
Build unsigned transaction(s)
    │
    ▼
Returns unsigned transactions
    │
    ▼
Your wallet signs and broadcasts

The agent handles everything up to signing. What happens after — which wallet signs, how it broadcasts, whether there's policy enforcement — is up to your integration.

For the full list of tools, see the Tool Reference.


Getting Started

No API key is required to get started. A default key is preconfigured for testing.

Install

In your terminal, run:

npx skills add stakekit/agentkit --skill yield-agentkit

Then open your agent and say:

Set up the yield-agentkit skill

The agent reads SKILL.md and registers the AgentKit MCP server automatically.

To confirm the skill is active:

What skills and MCPs do you have connected?

Architecture and Design Notes

Unsigned by design. Yield.xyz constructs transactions but never signs them. This keeps key management entirely outside the yield layer. Any compatible signing infrastructure — Privy, MoonPay, BankrBot — can plug in without modification.

Schema-driven. Every yield describes its own requirements through its metadata. The agent always fetches the yield schema before taking action, so it adapts to each protocol's specific entry format, required arguments, and limits.

Agent-agnostic. This skill works with any agent that supports the Agent Skills standard — Claude Code, Codex, Gemini CLI, Cursor, and others.


Resources