yield-xyz-agentkit-builder

A skill for building applications that use the Yield.xyz API, a service for staking, lending, vaults, and real-world-asset investments across many blockchain networks. It generates integration code and helps check API usage.

In plain words
What is it for?
Creating integrations using the Yield.xyz REST API or SDK, connecting wallets, signing transactions, and adding fee monetization for supported yield products.
Why use it?
It removes much of the work of connecting an application to yield-related blockchain services, including wallet connections and transaction signing.

Skill for Claude CodeCodex

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-builder
Any agent
npx skills add stakekit/agentkit --skill yield-xyz-agentkit-builder
Clone the repo
git clone --depth 1 https://github.com/stakekit/agentkit

Made for: Claude Code, Codex.

Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,969 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.00075 $0.04969
Opus 5 $0.00037 $0.02485
Sonnet 5 $0.00015 $0.00994
Haiku 4.5 $0.00007 $0.00497

Measured 2d ago against content hash e1305a1a113a, 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-builder 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 2d 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.

`https://api.yield.xyz` directly — via the `@yieldxyz/sdk` or REST/curl. **Nothing the
plugins/yield-xyz-agentkit-builder/skills/yield-xyz-agentkit-builder/SKILL.md · 389 lines

How it starts

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

Yield.xyz AgentKit — Builder Skill

This skill helps developers build applications that integrate with the Yield.xyz API. It generates integration code, guides architecture decisions, and helps ensure correct API usage across all supported chains and protocols.

Scope: this skill builds Yield integrations — staking, lending, vaults, and RWA across 80+ networks.

What ships vs. what's build-time: the integration you ship always calls https://api.yield.xyz directly — via the @yieldxyz/sdk or REST/curl. Nothing the user ships calls the MCP. The MCP's doc tools are only a build-time reference for you (the builder) — they let you ground field names against the live spec/docs while generating code. The MCP is not a runtime dependency and not a hard prerequisite; if it's unavailable, fetch https://api.yield.xyz/docs.json directly.


Quickstart — minimal end-to-end (Yield)

The shortest happy path from nothing to a confirmed position. Language-agnostic REST; swap curl for fetch/requests/etc. Always confirm exact field names against the live spec (yield_get_api_spec or https://api.yield.xyz/docs.json) before generating code — the shapes below are a map, not a contract.

  1. DiscoverGET /v1/yields?network=<network>&token=<token> to find a yield id.
  2. Read the schemaGET /v1/yields/{id} and read mechanics.arguments.enter.fields[] to learn exactly which arguments the enter action requires (e.g. amount, sometimes a validator address).
  3. Build the actionPOST /v1/actions/enter with { yieldId, address, arguments } (amounts are human-readable strings, not wei). Returns HTTP 201 with a transactions[] array.
  4. Sign + broadcast each transaction — iterate transactions[] in stepIndex order; for each, parse and sign its unsignedTransaction with the wallet for that chain, then broadcast. Never modify unsignedTransaction (Critical Rule #5).
  5. Report the hashPUT /v1/transactions/{id}/submit-hash with the broadcast hash so Yield.xyz can track it.
  6. Poll to confirmGET /v1/transactions/{id} until status is CONFIRMED (there are no webhooks — poll with backoff).

Read the full file on GitHub · 389 lines

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. 2d ago First seen · 389 lines · 75 tokens per session scan A e1305a1a113a

Subscribe to this mod's changes

yield-xyz-agentkit-builder is a skill published in the GitHub repository stakekit/agentkit (3 stars, last pushed 1mo ago), licensed MIT. It adds 75 tokens to every session and 4,969 once invoked, about $0.0004 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

hyperliquid-reader

Read Hyperliquid (app.hyperliquid.xyz) perp + spot market data via opencli (read-only, public info API). Use whenever the user wants Hyperliquid perpetual or spot markets, mark/oracle/mid prices, 24h change, funding rates (hourly or annualized APR), open interest, volume, the L2 order book, OHLCV candles, historical…

himself65/finance-skills · 208 tokens

grayscale-crypto-sectors

Use when evaluating crypto through a Grayscale-style Crypto Sectors lens: sector taxonomy, FTSE/Grayscale index eligibility, fee/usage fundamentals, sector-share valuation, ETP/trust wrappers, and Zcash-style privacy-as-money theses.

questflowai/investorskills · 56 tokens

ansem-crypto

Use when evaluating crypto narratives, attention rotation, memecoin cycles, Solana-style ecosystem momentum, social distribution, and reflexive retail flows in an Ansem-style crypto market framework.

questflowai/investorskills · 41 tokens

arthur-hayes-liquidity

Use when evaluating crypto markets through an Arthur Hayes-style liquidity lens: dollar liquidity, funding, risk appetite, cycle psychology, and macro-driven crypto positioning.

questflowai/investorskills · 38 tokens

placeholder-token-networks

Use when evaluating crypto networks through a Placeholder-style lens: open networks, token investment frameworks, network participation, and long-duration crypto network ownership.

questflowai/investorskills · 33 tokens

a16z-crypto

Use when evaluating crypto networks and companies through an a16z crypto lens: web3 adoption, infrastructure vs apps, open networks, and long-duration crypto ecosystem investing.

questflowai/investorskills · 39 tokens