← Back to Skills Marketplace
paulgnz

XPR Lending (LOAN Protocol)

by paulgnz · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
607
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xpr-lending
Description
Interact with LOAN Protocol on XPR Network to supply assets, borrow against collateral, redeem, repay loans, and claim LOAN token rewards on mainnet.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xpr-lending
  3. After installation, invoke the skill by name or use /xpr-lending
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
15 tools: supply, borrow, repay, redeem, rewards, market APY/TVL for LOAN Protocol on XPR Network
Metadata
Slug xpr-lending
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 607 downloads so far.

How do I install XPR Lending (LOAN Protocol)?

Run "/install xpr-lending" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is XPR Lending (LOAN Protocol) free?

Yes, XPR Lending (LOAN Protocol) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does XPR Lending (LOAN Protocol) support?

XPR Lending (LOAN Protocol) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created XPR Lending (LOAN Protocol)?

It is built and maintained by paulgnz (@paulgnz); the current version is v1.0.0.

💬 Comments