Skip to content

pancakeswap-farming

AI-powered assistance for yield farming, CAKE staking, and reward management on PancakeSwap.

Metadata

FieldValue
Namepancakeswap-farming
Version1.0.0
AuthorPancakeSwap
LicenseMIT
Keywordspancakeswap, farming, yield, cake, staking, syrup-pools, bsc, bnb, defi

Skills

farming-planner

Plan yield farming strategies on PancakeSwap — from discovering active farms to harvesting CAKE rewards.

Capabilities:

  • Farm discovery via CampaignManager contract and DefiLlama API
  • APR/APY comparison across V2, V3, and Infinity farms
  • CAKE staking options (Syrup Pools)
  • Merkle-proof reward claiming for Infinity farms
  • Deep link generation to PancakeSwap farming UI
  • Multi-chain support (BSC, Ethereum, Arbitrum, Base, zkSync)

harvest-rewards

Check and display pending CAKE and partner-token rewards across all farming positions, then generate harvest deep links to claim them.

Capabilities:

  • Pending reward detection across V2, V3, Infinity, and Syrup Pool positions
  • USD value estimation via CoinGecko / DexScreener prices
  • Infinity epoch cadence awareness (8-hour Merkle distribution)
  • Deep link generation to PancakeSwap Farms and Pools UIs
  • Multi-chain support (BSC, Ethereum, Arbitrum, Base, zkSync, Linea)

Installation

bash
/plugin install pancakeswap-farming
bash
cp -r packages/plugins/pancakeswap-farming/skills/farming-planner/SKILL.md \
  .cursor/skills/farming-planner/SKILL.md

Quick Example

Ask your agent:

I have 500 CAKE and 2 BNB. What's the best farming strategy on PancakeSwap?

The agent reads the farming-planner skill, compares options (CAKE staking vs LP farming), and produces a plan:

## Farming Plan

**Option 1 — CAKE Staking (Lowest Risk)**
Stake CAKE in a Syrup Pool to earn partner tokens or more CAKE
Link: https://pancakeswap.finance/pools

**Option 2 — BNB-CAKE V3 Farm (Higher Yield)**
1. Add liquidity → https://pancakeswap.finance/add/BNB/0x0E09.../2500?chain=bsc
2. Stake in farm → https://pancakeswap.finance/liquidity/pools?chain=bsc

**Risks:** Impermanent loss if BNB/CAKE ratio shifts

Key Contracts

ContractAddressPurpose
MasterChef v30x556B9306...04c2Cd59eV3 position farming
CampaignManager0x26Bde0AC...9c9115Infinity farm registry
Distributor0xEA8620aA...40877Infinity CAKE reward claims
CAKE0x0E09FaBB...cE82CAKE token

Released under the MIT License.