yield-xyz-agentkit-privylisted
Install: claude install-skill stakekit/agentkit
# Yield.xyz AgentKit + Privy
The **Privy connector** for the Yield.xyz AgentKit: Privy holds the key, enforces policy, and signs + broadcasts the transactions that `yield-xyz-agentkit` builds.
`yield-xyz-agentkit` (this skill's base) owns all yield logic — discovery, schemas, balances, building `unsignedTransaction` (`actions_enter` / `actions_exit` / `actions_manage`), output formatting, and the MCP tool reference. Use it for all of that; this skill only signs and broadcasts.
```
yield-xyz-agentkit → discover yield + build unsignedTransaction
Privy → evaluate policy → sign → broadcast
yield-xyz-agentkit → submit_hash + poll get_transaction
```
See `references/architecture.md` for the full diagram.
---
## CRITICAL: Never Modify Unsigned Transactions
> **DO NOT MODIFY `unsignedTransaction` before signing — under any circumstances.**
> Not addresses, amounts, fees, or encoding, on any chain, ever.
>
> If anything looks wrong, **STOP** and have `yield-xyz-agentkit` build a NEW action
> with corrected inputs. Never "fix" an existing transaction.
>
> Modifying `unsignedTransaction` **WILL RESULT IN PERMANENT LOSS OF FUNDS.**
---
## Step 0 — Verify Prerequisites
This skill requires Privy to be **pre-configured** in your environment. It does
not collect, store, or manage credentials.
```bash
echo $PRIVY_APP_ID
echo $PRIVY_APP_SECRET
```
If either is empty → **stop** and tell the user:
> Privy credentials are not configured in your environment. Please set