← 返回 Skills 市场
apurvmishra

Yield Agent

作者 apurvmishra · GitHub ↗ · v0.1.5
cross-platform ⚠ suspicious
1326
总下载
6
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install yield-agent
功能描述
On-chain yield discovery, transaction building, and portfolio management via the Yield.xyz API. Use when the user wants to find yields, stake, lend, deposit into vaults, check balances, claim rewards, exit positions, compare APYs, or manage any on-chain yield across 80+ networks.
安全使用建议
This skill appears to do what it claims: it queries Yield.xyz, constructs unsigned transactions, and expects a wallet skill to sign and broadcast them. Before installing: - Replace the embedded shared API key in skill.json with your own YIELDS_API_KEY (the manifest includes a 'free shared key' for convenience). Do not rely on a shared key in production. - Review and trust the wallet skill you pair with this (Crossmint/Privy/Portal/Turnkey). The yield-agent will hand unsigned transactions to that wallet for signing; never provide private keys to this skill. Follow its wallet integration docs. - Be aware the skill may persist a small state file (positions, addresses, alerts) under the skill's state directory (~/.openclaw/skills/yield-agent/state or the skill state/ path). If you run Superskills or scheduling, expect periodic checks and stored metadata; audit or clear that state if needed. - The SKILL.md and scripts repeatedly warn: do NOT modify unsignedTransaction returned by the API — changing it can cause loss of funds. Follow that rule strictly. - The package references an OpenAPI spec and many examples; if provenance matters, verify the upstream repository (the README points to a GitHub org 'stakekit/yield-agent') and confirm the publisher before trusting for production. If you want a stricter review, provide the untruncated openapi.yaml and the identity/URL used to publish this skill so I can check for surprises (hidden endpoints, unexpected third-party hosts, or additional embedded keys).
功能分析
Type: OpenClaw Skill Name: yield-agent Version: 0.1.5 The skill is classified as suspicious primarily due to the inclusion of a default, shared API key (`b40dd85f-d89e-48da-a2b3-ec04fae106dc`) in `skill.json`. While the `_apiKeyNote` explicitly advises replacing it for production, its presence as a default poses a vulnerability if used without replacement, potentially leading to unauthorized access or rate limiting issues for the shared key. The shell scripts (`scripts/*.sh`) correctly sanitize user inputs and construct JSON payloads using `jq` to prevent shell injection. Furthermore, the `SKILL.md` and `references/safety.md` files contain strong, explicit instructions for the AI agent to never modify transactions, always seek user confirmation for financial operations, and adhere to configurable safety guardrails, actively mitigating prompt injection risks and demonstrating a clear intent to operate safely within the high-risk domain of DeFi transactions via `https://api.yield.xyz`.
能力评估
Purpose & Capability
Name/description match what the skill does: all scripts call the Yield.xyz API, and required binaries (curl, jq) are appropriate. The skill does not request unrelated credentials or system access.
Instruction Scope
SKILL.md and scripts consistently instruct the agent to fetch yield metadata, build actions, and hand unsigned transactions to a wallet skill for signing. The instructions explicitly forbid modifying unsignedTransaction, and the scripts only call the declared API endpoints and read the local skill manifest for configuration.
Install Mechanism
No remote download/install steps are declared in the package metadata; the skill is delivered as code files and uses only curl/jq at runtime. No arbitrary external installers or URL downloads are used by the skill itself.
Credentials
The skill requires no secrets at runtime, but skill.json ships a shared API key (api.apiKey) and baseUrl. This is convenient for getting started but means the package includes an embedded API key—replace with your own YIELDS_API_KEY for production. The skill does not request unrelated credentials.
Persistence & Privilege
always is false and model invocation is allowed (normal). The package documents and may use a local state file (state/yield-cache.json under the skill directory or ~/.openclaw/...), which is expected for monitoring/superskill features. The skill does not attempt to modify other skills or system-wide configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yield-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yield-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.5
- Updated critical warning section for clarity: emphasized that unsigned transactions must not be changed, reformatted, or fixed in any way. - Shortened and clarified the description of what not to modify in unsigned transactions. - Strengthened language about transaction immutability to prevent user fund loss. - No changes to tools, arguments, or features.
v0.1.4
No user-facing changes in this release. - Version updated to 0.1.4 (no other changes detected).
v0.1.3
Version 0.1.3 - Added a new critical warning: never modify `unsignedTransaction` returned by the API; request a new action instead if any field is incorrect. - Emphasized that changing any transaction field (amount, gas, recipient, calldata, etc.) can result in permanent loss of funds. - Existing rules and usage instructions remain unchanged.
v0.1.2
- Version number updated to 0.1.2 in metadata. - No other changes detected in files or documentation.
v0.1.1
- Updated skill metadata structure for compatibility with new standards (now uses 'openclaw' key and emoji). - Minor version bump (1.0.2 → 1.0.3). - Removed the file HEARTBEAT.md. - Improved documentation: added instruction to consult `references/openapi.yaml` for all enums, DTOs, and schemas; do not hardcode values. - No changes to skill functionality or toolset.
v0.1.0
Initial public release of YieldAgent skill for on-chain yield discovery and management: - Discover, compare, and enter yield opportunities across 80+ networks via Yield.xyz API. - Build and manage positions with staking, lending, vaults, restaking, and liquidity pools. - Supports actions to enter/exit positions, claim rewards, restake, check balances, and more. - Tooling includes dynamic argument schemas, validator provider lookup, and portfolio management. - Adheres to strict API usage rules for maximum security and flexibility.
元数据
Slug yield-agent
版本 0.1.5
许可证
累计安装 0
当前安装数 0
历史版本数 6
常见问题

Yield Agent 是什么?

On-chain yield discovery, transaction building, and portfolio management via the Yield.xyz API. Use when the user wants to find yields, stake, lend, deposit into vaults, check balances, claim rewards, exit positions, compare APYs, or manage any on-chain yield across 80+ networks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1326 次。

如何安装 Yield Agent?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install yield-agent」即可一键安装,无需额外配置。

Yield Agent 是免费的吗?

是的,Yield Agent 完全免费(开源免费),可自由下载、安装和使用。

Yield Agent 支持哪些平台?

Yield Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Yield Agent?

由 apurvmishra(@apurvmishra)开发并维护,当前版本 v0.1.5。

💬 留言讨论