yield-agentkit-privylisted
Install: claude install-skill stakekit/agentkit
# Yield.xyz AgentKit + Privy
An end-to-end DeFi yield agent. The Yield.xyz AgentKit MCP discovers
yields and builds unsigned transactions. Privy's wallet infrastructure
holds the key, enforces policy rules, and signs and broadcasts
those transactions.
---
## ⚠️ CRITICAL: Never Modify Unsigned Transactions
> **DO NOT MODIFY `unsignedTransaction` returned by the Yield.xyz AgentKit MCP
> UNDER ANY CIRCUMSTANCES.**
>
> Do not change addresses, amounts, fees, encoding, or any field on
> any chain, ever.
>
> **Amount wrong?** Request a NEW action with the correct amount.
> **Gas insufficient?** Ask the user to add funds, then request a NEW action.
> **Anything looks off?** STOP. Always request a new action. Never "fix" an existing one.
>
> Modifying `unsignedTransaction` **WILL RESULT IN PERMANENT LOSS OF FUNDS.**
---
## How This Skill Works
Two layers work together on every transaction:
**Layer 1 — Yield.xyz AgentKit MCP**
A remote MCP server. Discovers yields, inspects yield schemas, fetches
balances, and builds `unsignedTransaction` objects. It never signs or
broadcasts anything.
```bash
claude mcp add --transport http yield-agentkit https://mcp.yield.xyz/mcp
```
**Layer 2 — Privy Wallet Infrastructure**
Privy holds the agent wallet's private key inside a Trusted Execution
Environment (TEE). It can evaluate policy rules before every
signing operation. The key never leaves the TEE.
```
User prompt
→ Yield.xyz AgentKit MCP builds unsignedTransaction
→ Privy