← 返回 Skills 市场
paulgnz

XPR Lending (LOAN Protocol)

作者 paulgnz · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
607
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xpr-lending
功能描述
Interact with LOAN Protocol on XPR Network to supply assets, borrow against collateral, redeem, repay loans, and claim LOAN token rewards on mainnet.
安全使用建议
This skill's code will sign mainnet transactions and needs your XPR private key and account, but the published metadata and instructions omit those requirements and do not list the '@proton/js' dependency. Do not provide your private key until the author/source is verified and the skill is updated to: 1) declare required env vars (XPR_PRIVATE_KEY, XPR_ACCOUNT, optional XPR_PERMISSION), 2) include an install/dependency manifest (or instructions to install @proton/js), and 3) explicitly describe how confirmations are presented and how keys are used/stored. If you must test: only use read-only tools first, and if you enable write features, use an account with minimal funds / limited privileges. Ask the publisher for a homepage or source repository and for the missing metadata before installing.
功能分析
Type: OpenClaw Skill Name: xpr-lending Version: 1.0.0 The skill bundle implements a LOAN Protocol lending and borrowing agent for the XPR Network. The `SKILL.md` provides clear, responsible instructions for the AI agent, including safety rules and explicit confirmation requirements for all write operations, showing no signs of prompt injection. The `src/index.ts` code correctly interacts with the XPR blockchain RPC and Metal X API, using `fetch` for network calls and `@proton/js` for signing transactions. While write operations require `XPR_PRIVATE_KEY` from environment variables, this is a necessary capability for a DeFi skill and is used internally for signing, not exfiltrated or misused. All actions are structured blockchain transactions or API calls, with no evidence of arbitrary code execution, data exfiltration, persistence mechanisms, or obfuscation. The `test-read.mjs` is a benign test script.
能力评估
Purpose & Capability
The skill implements read and write tools for LOAN Protocol and legitimately needs signing credentials for write operations. However, skill.json lists no required env vars or dependencies while the code clearly expects XPR_PRIVATE_KEY and XPR_ACCOUNT for signing and dynamically imports '@proton/js'. The code's runtime requirements are not reflected in the declared metadata.
Instruction Scope
SKILL.md documents read-only and write tools and states write tools require confirmed: true (good), but it never mentions the need to supply a private key/account via environment variables or how confirmations are secured. The runtime code will throw if XPR_PRIVATE_KEY/XPR_ACCOUNT are missing — this important operational detail is absent from the instructions.
Install Mechanism
There is no install spec. The source dynamically imports '@proton/js' at runtime (Api/JsonRpc/JsSignatureProvider) but the skill does not declare this dependency nor provide installation instructions. Lack of a declared install path or dependency manifest increases the chance of runtime failures or surprise dependency resolution behaviour; however, there is no evidence of arbitrary external downloads.
Credentials
The code requires highly sensitive environment variables (XPR_PRIVATE_KEY and XPR_ACCOUNT) to perform any write actions, but the skill metadata lists no required env vars and SKILL.md does not document them. Requesting a private key is proportionate for signing on-chain transactions, but it must be clearly declared and the user must be warned how keys are used and stored.
Persistence & Privilege
The skill does not request permanent always:true privilege and does not modify other skills. It caches a session in-memory during runtime (cachedSession) but does not persist secrets to disk or alter global agent configuration in the provided code.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install xpr-lending
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /xpr-lending 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
15 tools: supply, borrow, repay, redeem, rewards, market APY/TVL for LOAN Protocol on XPR Network
元数据
Slug xpr-lending
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

XPR Lending (LOAN Protocol) 是什么?

Interact with LOAN Protocol on XPR Network to supply assets, borrow against collateral, redeem, repay loans, and claim LOAN token rewards on mainnet. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 607 次。

如何安装 XPR Lending (LOAN Protocol)?

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

XPR Lending (LOAN Protocol) 是免费的吗?

是的,XPR Lending (LOAN Protocol) 完全免费(开源免费),可自由下载、安装和使用。

XPR Lending (LOAN Protocol) 支持哪些平台?

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

谁开发了 XPR Lending (LOAN Protocol)?

由 paulgnz(@paulgnz)开发并维护,当前版本 v1.0.0。

💬 留言讨论