yield-xyz-agentkit-privy

yield-xyz-agentkit-privy is a skill for Claude Code, Codex from stakekit/agentkit. It costs 124 tokens per session (1,961 once invoked), scanned A, original, MIT.

A wallet connector for Yield.xyz AgentKit that lets Privy-managed wallets create, check, sign, and send transactions. Yield.xyz AgentKit finds yield opportunities and prepares the transactions first.

In plain words
What is it for?
Use it to enter, leave, or manage yield positions through Privy wallets, including policy checks, signing, sending, and checking transaction results.
Why use it?
It separates transaction planning from access to the wallet’s private keys and spending rules. This helps prevent accidental changes to transaction details before signing.

Skill for Claude CodeCodex

Part of the yield-xyz-agentkit-privy plugin — 1 skill shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/stakekit/agentkit/yield-xyz-agentkit-privy
Any agent
npx skills add stakekit/agentkit --skill yield-xyz-agentkit-privy
Clone the repo
git clone --depth 1 https://github.com/stakekit/agentkit

Made for: Claude Code, Codex.

Or install yield-xyz-agentkit-privy, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yield-xyz-agentkit-privy

README.md
[![agentmods](https://agentmods.dev/badge/skills/stakekit/agentkit/yield-xyz-agentkit-privy.svg)](https://agentmods.dev/skills/stakekit/agentkit/yield-xyz-agentkit-privy)
Your own site
<a href="https://agentmods.dev/skills/stakekit/agentkit/yield-xyz-agentkit-privy"><img src="https://agentmods.dev/badge/skills/stakekit/agentkit/yield-xyz-agentkit-privy.svg" alt="Measured on agentmods" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00124 $0.01961
Opus 5 $0.00062 $0.00981
Sonnet 5 $0.00025 $0.00392
Haiku 4.5 $0.00012 $0.00196

Measured 4d ago against content hash 8e8d4deb3abd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

yield-xyz-agentkit-privy scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl
plugins/yield-xyz-agentkit-privy/skills/yield-xyz-agentkit-privy/SKILL.md · 206 lines

How it starts

The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

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 up the Privy skill and credentials before using this skill.


Step 1 — Choose Your Workflow

Mandatory — this defines the flow. Ask before doing anything else.

Feature Autonomous Semi-Autonomous
Execution Fully automated Requires manual approval per transaction
User Control Lower — agent acts freely within policy Higher — user approves every transaction
Dashboard Interaction Not required Required — approval on Privy dashboard
Policy Enforcement Recommended Recommended (applied on top of approval)
Best For Automation, speed Safety, oversight, treasury management
Privy Plan Required Any plan Enterprise plan required

Read the full file on GitHub · 206 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 206 lines · 124 tokens per session scan A 8e8d4deb3abd

Subscribe to this mod's changes

yield-xyz-agentkit-privy is a skill published in the GitHub repository stakekit/agentkit (3 stars, last pushed 1mo ago), licensed MIT. It adds 124 tokens to every session and 1,961 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

invest

First-time fork users: run the invest-setup skill first to initialize. The main flow lives in this skill (the AI agent uses the CLI/MCP to view the portfolio / run the committee / replay decision history). The Web GUI has been retired (2026-07) — every capability is exposed via CLI subcommands / MCP tools. The backend…

longsizhuo/openInvest · 261 tokens

invest-setup

First-time openInvest installation and onboarding. ONLY use when user explicitly says "set up invest" / "init invest" / "帮我初始化 invest", OR when invest skill's doctor returns status="needssetup". NOT for daily usage — once onboarding is done, the invest skill takes over (portfolio viewing, committee analysis, buy/sell…

longsizhuo/openInvest · 105 tokens

invest-backup

Back up / restore openInvest's local state — memory/ (holdings, strategy, user profile, committee records, dream logs) + db/ (trade ledger, job run history, market-data cache) + .env (SMTP/API credentials) + userprofile.json. All of this data is .gitignore'd with no historical versions in git, so a single accidental…

longsizhuo/openInvest · 202 tokens

metengine-data-agent

Real-time smart money analytics API for Polymarket prediction markets, Hyperliquid perpetual futures, and Meteora Solana LP/AMM pools. 63 endpoints. Pay-per-request via x402 on Solana Mainnet USDC. No API keys.

sendaifun/skills · 57 tokens

meteora

Complete Meteora DeFi SDK suite for building liquidity pools, AMMs, bonding curves, vaults, token launches, and zap operations on Solana. Use when integrating DLMM, DAMM v2, DAMM v1, Dynamic Bonding Curves, Alpha Vaults, Zap, or Stake-for-Fee functionality.

sendaifun/skills · 69 tokens

dflow

Complete DFlow trading protocol SDK - the single source of truth for integrating DFlow on Solana. Covers spot trading, prediction markets, Swap API, Metadata API, WebSocket streaming, and all DFlow tools.

sendaifun/skills · 46 tokens