← 返回 Skills 市场
99
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pcs-harvest-rewards
功能描述
Harvest pending CAKE and partner-token rewards from PancakeSwap farming positions. Use when user says "/harvest-rewards", "harvest all my pending CAKE reward...
安全使用建议
This skill appears to perform the described read-only checks for pending PancakeSwap rewards, but I found some issues you should consider before installing:
- Undeclared required input: The Python scripts expect YOU to set YOUR_ADDRESS (an on-chain 0x... wallet address) via an environment variable. The skill metadata does not declare this. Confirm how the agent will collect that address (prompt the user) before running — otherwise the scripts will exit or may be run with a missing/incorrect address.
- Telemetry ping: At startup the skill issues a curl GET to https://pancakeswap.ai/api/ping with the agent name, OS, arch and timestamp. This is telemetry to the PancakeSwap domain; it does not include private keys but you should be comfortable with that network call.
- Runtime pip install: Each Python file will pip-install the requests module at runtime if it's not present. That executes network package installation and writes to disk — review and allow/deny accordingly.
- foundry/cast install: The brew install of foundry (optional) will provide 'cast' (a powerful Ethereum CLI that can create/send txs). The included code doesn't use cast, but if you allow the agent to run arbitrary shell commands, cast could be invoked later. Only install if you trust the skill and review what the agent is allowed to run.
- No private keys required: The skill does not ask for secrets or private keys in its current form; it uses public RPCs and APIs and claims not to execute transactions. Still, verify the agent never asks you to paste private keys or to allow transaction signing.
Recommendations:
1) Ask the skill/author to document YOUR_ADDRESS (and CHAIN) as required inputs or to prompt the user explicitly. 2) Inspect/approve the telemetry ping endpoint and, if desired, remove or modify it to avoid external telemetry. 3) Run the scripts locally first with a non-sensitive read-only address to verify behavior. 4) If you don't want foundry/cast installed, skip that install step; the scripts run with python3 alone. 5) Only proceed if you are comfortable that the agent will never be given your private key/mnemonic — this skill is designed to be read-only but agent behavior matters.
功能分析
Type: OpenClaw Skill
Name: pcs-harvest-rewards
Version: 1.0.0
The skill bundle contains telemetry and environment-modifying behaviors that exceed the strictly necessary scope of reward tracking. Specifically, SKILL.md includes a 'ping' command that exfiltrates system metadata (OS, architecture, and agent identifier) to pancakeswap.ai. Furthermore, the Python scripts (fetch-infinity-pending.py, fetch-syrup-pending.py, and fetch-v3-pending.py) use subprocess to execute 'pip install', which modifies the host environment at runtime. While these appear intended for legitimate functionality and include robust security instructions for the agent, the automated installation of dependencies and the telemetry 'phone-home' are high-risk patterns.
能力评估
Purpose & Capability
The declared purpose (check pending CAKE and partner-token rewards) matches the included Python scripts which perform eth_call and public API queries. However the skill metadata claims no required environment variables while all three Python reference scripts require a YOUR_ADDRESS environment variable (an on-chain wallet address) at runtime. That mismatch (undocumented required input) is an incoherence and could cause surprising failures or unsafe defaults if not prompted for explicitly.
Instruction Scope
The SKILL.md contains runtime instructions and a mandatory initial curl 'ping' to https://pancakeswap.ai which sends agent name, OS, arch and timestamp (telemetry). The scripts themselves only perform read-only eth_call and public API requests (configs.pancakeswap.com, dexscreener, coingecko, public RPCs). They explicitly state they do not execute transactions. Still, the skill will auto-install Python 'requests' at runtime if missing (via pip) which performs network downloads and changes the environment. The telemetry ping and the unmentioned required YOUR_ADDRESS env var broaden the scope beyond a purely local read-only helper.
Install Mechanism
Install spec uses Homebrew formulas for curl, jq, and foundry (providing 'cast'). Those are well-known package sources (lower risk). The brew 'foundry' install is notable: 'cast' can be used to craft/send blockchain transactions if later invoked, but the included code does not call cast. The Python scripts also attempt to pip-install 'requests' at runtime if missing (network install). No downloads from untrusted URLs or archive extracts are present.
Credentials
The skill declares no required env vars, but each included script requires YOUR_ADDRESS (0x...) and optionally CHAIN; the code exits if YOUR_ADDRESS is missing or malformed. Not declaring YOUR_ADDRESS in requires.env is an inconsistency. The skill does not request any private keys or secrets (no private-key, mnemonic, or wallet signing). It does, however, send a telemetry ping to pancakeswap.ai and attempts to install pip packages if needed — both network actions the user should be aware of.
Persistence & Privilege
The skill is not always-included and does not request system-wide config changes. It does not claim to autonomously run permanently. Installing foundry/cast will add developer tooling to the system, but the skill itself does not change other skills or agent-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pcs-harvest-rewards - 安装完成后,直接呼叫该 Skill 的名称或使用
/pcs-harvest-rewards触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Release from 947a5849cee9681498b9f530cf4a2cf6e46933a9
元数据
常见问题
Harvest Rewards 是什么?
Harvest pending CAKE and partner-token rewards from PancakeSwap farming positions. Use when user says "/harvest-rewards", "harvest all my pending CAKE reward... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。
如何安装 Harvest Rewards?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pcs-harvest-rewards」即可一键安装,无需额外配置。
Harvest Rewards 是免费的吗?
是的,Harvest Rewards 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Harvest Rewards 支持哪些平台?
Harvest Rewards 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(macos, linux)。
谁开发了 Harvest Rewards?
由 pcs-bot(@pcs-bot)开发并维护,当前版本 v1.0.0。
推荐 Skills