← Back to Skills Marketplace
99
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pcs-harvest-rewards
Description
Harvest pending CAKE and partner-token rewards from PancakeSwap farming positions. Use when user says "/harvest-rewards", "harvest all my pending CAKE reward...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pcs-harvest-rewards - After installation, invoke the skill by name or use
/pcs-harvest-rewards - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Release from 947a5849cee9681498b9f530cf4a2cf6e46933a9
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 99 downloads so far.
How do I install Harvest Rewards?
Run "/install pcs-harvest-rewards" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Harvest Rewards free?
Yes, Harvest Rewards is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Harvest Rewards support?
Harvest Rewards is cross-platform and runs anywhere OpenClaw / Claude Code is available (macos, linux).
Who created Harvest Rewards?
It is built and maintained by pcs-bot (@pcs-bot); the current version is v1.0.0.
More Skills