← 返回 Skills 市场
138
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkdrop-agent-cli
功能描述
Create and redeem Linkdrop claim links from the command line with strict JSON output on Base, Polygon, Arbitrum, Optimism, and Avalanche.
使用说明 (SKILL.md)
When to use
- You need to create a funded Linkdrop claim link from a local wallet.
- You need to redeem a Linkdrop claim link to a destination address.
- You need stdout to be exactly one JSON object for automation.
Files in this skill
linkdrop-agent.jsis the strict JSON CLI entrypoint.agentdrop-core.jscontains the Linkdrop and chain logic used by the CLI..env.exampleshows the supported runtime configuration.
Setup
- Run
npm install. - Set secrets in your shell or
.env:- Required:
PRIVATE_KEY,LINKDROP_API_KEY - Recommended for Base:
RPC_URL_BASE - Optional fallback:
RPC_URL
- Required:
- Keep secrets out of git history.
Supported chains
basedefaultpolygonarbitrumoptimismavalanche
Send a claimable transfer
- Native token on Base:
node linkdrop-agent.js send --amount 0.01 --token native --chain base
- ERC20 on Polygon:
node linkdrop-agent.js send --amount 5 --token 0xTokenAddress --chain polygon
- Read these JSON fields from stdout:
claimUrltransferIddepositTx
Claim a transfer
- Run:
node linkdrop-agent.js claim --url "https://..." --to 0xRecipient --chain base
- Read
redeemTxfrom stdout.
JSON contract
- Success returns
{ ok: true, ... }. - Failure returns
{ ok: false, error: { code, name, message, details? } }. - The CLI writes one JSON object to stdout per invocation.
Troubleshooting
Missing PRIVATE_KEY: set a 32-byte hex private key with0xprefix.Missing LINKDROP_API_KEY: set a valid Linkdrop API key with thezpka_prefix.No RPC URL available: setRPC_URL_BASEfor Base or the matchingRPC_URL_\x3CCHAIN>.Unsupported chain: use one of the supported chain names above.
安全使用建议
This bundle appears to implement exactly what it claims: a strict-JSON CLI for creating and redeeming Linkdrop links. Before installing or running it, consider these practical precautions:
- Do not supply your main wallet private key. Use a dedicated key with only the funds you are willing to spend or risk.
- The CLI will sign and submit transactions using your PRIVATE_KEY and will call the Linkdrop API; those network targets are configurable via env (defaults are official Linkdrop endpoints). If you override LINKDROP_API_URL or RPC_URL_* with custom values, those endpoints will receive data.
- The project requires npm install and pulls dependencies from the npm registry ([email protected] is a pre-release). Audit package.json and consider running 'npm ci' with a lockfile or reviewing dependency versions before installing.
- Verify the bundle against the upstream repository (https://github.com/seichris/linkdrop-sdk-cli) and confirm checksums or source provenance if you need high assurance.
- Run the tool in an isolated environment (container or VM) if you are unsure, and test with small amounts on a testnet or with minimal funds first.
Overall: coherent for its purpose, but handle the private key and dependency installation carefully.
功能分析
Type: OpenClaw Skill
Name: linkdrop-agent-cli
Version: 1.0.0
The skill bundle provides a legitimate CLI interface for the Linkdrop SDK, allowing users to create and redeem crypto claim links on EVM-compatible chains like Base and Polygon. The code in `agentdrop-core.js` and `linkdrop-agent.js` uses standard libraries (`viem`, `linkdrop-sdk`) to handle transactions and API calls, with no evidence of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
The name/description match the code and instructions: the CLI creates/redeems Linkdrop links and sends on-chain transactions. Most requested env vars (PRIVATE_KEY, LINKDROP_API_KEY, per-chain RPC URLs, and Linkdrop endpoints) are appropriate for the declared purpose. Minor inconsistency: the registry metadata / SKILL.md mark many RPC and LINKDROP_* variables as required, but the code treats several of them as optional fallbacks (it uses defaults from viem chains or default Linkdrop URLs).
Instruction Scope
SKILL.md instructs the agent to run npm install and then node linkdrop-agent.js send|claim. The code only reads the declared environment variables and runs blockchain/RPC calls and Linkdrop API calls — all actions expected for the stated functionality. It does not attempt to read unrelated files or transmit data to unexpected endpoints (Linkdrop endpoints are configurable via env).
Install Mechanism
There is no explicit platform install spec in registry metadata (the skill is 'instruction-only' in that sense), but the bundle includes package.json and the SKILL.md instructs 'npm install'. Dependencies are fetched from npm ([email protected] and [email protected]). This is expected for a Node CLI, but installing npm packages pulls code from the public registry and the linkdrop-sdk is a beta release — you may want to audit dependencies or pin to a published stable release.
Credentials
The skill requests highly sensitive credentials (PRIVATE_KEY as primaryEnv) which is proportionate for a tool that signs and sends transactions. LINKDROP_API_KEY and per-chain RPC URLs are reasonable. Note: the metadata declares additional LINKDROP_* and RPC_* vars as required even though the code will accept defaults; treat declared 'required' vars carefully. Because the tool uses your raw private key to sign transactions, you should only run it with a key you control and trust for spending.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or modify other skills. Running npm install will write node_modules into the working directory (normal for Node CLIs). The skill does not enable itself or modify agent configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install linkdrop-agent-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/linkdrop-agent-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial ClawHub release
元数据
常见问题
Linkdrop Agent CLI 是什么?
Create and redeem Linkdrop claim links from the command line with strict JSON output on Base, Polygon, Arbitrum, Optimism, and Avalanche. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 138 次。
如何安装 Linkdrop Agent CLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install linkdrop-agent-cli」即可一键安装,无需额外配置。
Linkdrop Agent CLI 是免费的吗?
是的,Linkdrop Agent CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Linkdrop Agent CLI 支持哪些平台?
Linkdrop Agent CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Linkdrop Agent CLI?
由 seichris(@seichris)开发并维护,当前版本 v1.0.0。
推荐 Skills