← Back to Skills Marketplace
pcs-bot

Collect Fees

by pcs-bot · GitHub ↗ · v1.0.0 · MIT-0
macoslinux ⚠ suspicious
86
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pcs-collect-fees
Description
Check and collect LP fees from PancakeSwap V3 and Infinity (v4) positions. Use when user says "collect my fees", "claim LP fees", "how much fees have I earne...
Usage Guidance
What to consider before installing: - The skill appears to implement what it claims: Node and Solana scripts read on-chain positions and compute pending fees; they do not sign or send transactions. That means you should never provide private keys or seed phrases. Provide only public wallet addresses. - Important mismatch: the registry metadata claims 'no required env vars', but the included scripts require environment variables (WALLET, CHAIN_ID, RPC for EVM flows; SOL_WALLET for Solana). Expect to supply those to run the scripts. Confirm how the agent will obtain the wallet address (user input vs environment) and that the agent will validate the address formats as the SKILL.md requires. - Telemetry: the skill issues an asynchronous ping to https://pancakeswap.ai on startup. This is declared in SKILL.md, but be aware supplying your wallet address means that address (and chosen agent identifier) will be visible to pancakeswap.ai and to the PancakeSwap explorer APIs used by the scripts. - RPC endpoints: you must provide an RPC URL for the target chain. Use public, rate-limited, or provider-managed RPCs you trust. Do not give private node admin URLs or credentials. The SKILL.md states RPC URLs must come from a supported list — enforce that. - Installation: brew will install curl, jq, and foundry (cast). Foundry is a developer toolchain; if you don't want it installed, confirm the agent can run the Node scripts without 'cast'. - Review source: if you are not comfortable with the telemetry ping or disclosure of your public addresses to the PancakeSwap explorer, review/modify the SKILL.md and scripts before use. If possible, run the included Node/Solana scripts locally with a test public wallet to confirm behaviour. - If you want to proceed: do not provide private keys, verify RPC endpoints, and confirm the agent prompts you for the wallet address (rather than reading any hidden environment).
Capability Analysis
Type: OpenClaw Skill Name: pcs-collect-fees Version: 1.0.0 The skill includes a mandatory 'Step 0' in SKILL.md that instructs the AI agent to execute an automated curl command to 'pancakeswap.ai'. This command exfiltrates telemetry data, including the host's operating system, architecture, and agent identity (fingerprinting). While the core logic in the Node.js scripts (e.g., fetch-v3-positions.mjs and fetch-solana.cjs) appears to be legitimate read-only blockchain interaction, this undocumented outbound tracking beacon is a privacy risk and is not required for the skill's stated functionality.
Capability Assessment
Purpose & Capability
The skill's name/description (collect LP fees) aligns with the included Node/JS and Solana scripts that read on-chain state and compute pending fees. However, the registry metadata claims 'Required env vars: none' while the included scripts require several environment variables at runtime (e.g., WALLET, CHAIN_ID, RPC, SOL_WALLET, optional CONCURRENCY). That mismatch is significant: consumers or an agent will not see the true runtime requirements from the registry entry.
Instruction Scope
SKILL.md instructs only safe, read-only behaviour (no transaction execution) and includes explicit validation rules. The included scripts do appear to only read state (use eth_call/simulateContract, on-chain reads, and public explorer APIs). A telemetry/usage ping (curl to https://pancakeswap.ai/api/ping...) is performed at initialization — this is declared in the SKILL.md but may be unexpected to some users. Overall the instructions remain within the stated purpose, but require the user/agent to supply wallet and RPC inputs which are not declared in registry metadata.
Install Mechanism
Install spec only uses brew formulas (curl, jq, foundry). These are common package sources on macOS/Linux. Installing 'foundry' (to provide cast) is heavier than strictly necessary for read-only node scripts but not inherently malicious. There are no downloads from arbitrary/untrusted URLs or opaque extract steps.
Credentials
The skill does not request private keys or secrets (good). However, the code requires wallet public addresses and RPC URLs as environment variables (WALLET, CHAIN_ID, RPC, SOL_WALLET), but the registry lists none — this is an under-declaration. The skill will leak the supplied public wallet addresses and RPC endpoints to PancakeSwap explorer APIs and pancakeswap.ai telemetry. No credentials for unrelated services are requested.
Persistence & Privilege
The skill is not always-enabled, doesn't request system-wide persistence or modify other skills, and doesn't require privileged system changes. It is user-invocable and allowed to run autonomously (platform default).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pcs-collect-fees
  3. After installation, invoke the skill by name or use /pcs-collect-fees
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Release from 947a5849cee9681498b9f530cf4a2cf6e46933a9
Metadata
Slug pcs-collect-fees
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Collect Fees?

Check and collect LP fees from PancakeSwap V3 and Infinity (v4) positions. Use when user says "collect my fees", "claim LP fees", "how much fees have I earne... It is an AI Agent Skill for Claude Code / OpenClaw, with 86 downloads so far.

How do I install Collect Fees?

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

Is Collect Fees free?

Yes, Collect Fees is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Collect Fees support?

Collect Fees is cross-platform and runs anywhere OpenClaw / Claude Code is available (macos, linux).

Who created Collect Fees?

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

💬 Comments