starchild-ai-agent/official-skills

pancakeswap

>- PancakeSwap DeFi operations — token swaps, liquidity provision, yield farming, fee collection, reward harvesting, and PCS Hub integration. Use when the user mentions PancakeSwap, CAKE, swapping on BSC/BNB Chain, LP positions, farming, staking, syrup pools, or any PancakeSwap-related DeFi action.

First seen May 22, 2026

Installation

$ npx skills add starchild-ai-agent/official-skills --skill pancakeswap

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from starchild-ai-agent/official-skills · top by installs.

npx skills add starchild-ai-agent/official-skills

Browse all from starchild-ai-agent/official-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 26
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
More metadata
starchild
{"emoji":"🥞","skillKey":"pancakeswap","requires":{"bins":["curl","jq"],"any_bins":["node","python3"]}}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,701 B
  • docs SUMMARY.md 317 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 235 installs

SKILL.md

PancakeSwap Skill Directory

This skill is a directory. Read the specific guide for the user's request using read_file.

All guides live under this skill folder, organized into three plugins:

How to Use

  1. Match the user's intent to a guide below
  2. read_file the corresponding SKILL.md path
  3. Follow the instructions in that guide

pancakeswap-driver — Swaps & Liquidity

swap-planner

Path: pancakeswap-driver/skills/swap-planner/SKILL.md

When to use: User wants to swap tokens on PancakeSwap — "swap BNB for USDT", "buy CAKE", "exchange tokens", "cross-chain swap", "bridge swap".

What it does: Discovers tokens, verifies contracts, fetches prices, generates a pancakeswap.finance/swap?... deep link. Does not execute transactions.

liquidity-planner

Path: pancakeswap-driver/skills/liquidity-planner/SKILL.md

When to use: User wants to add liquidity — "add liquidity", "LP position", "provide liquidity", "earn yield with my ETH and USDT", "put tokens to work".

What it does: Plans LP positions (V2, V3, StableSwap, Infinity), recommends fee tiers and price ranges, assesses impermanent loss risk, generates add-liquidity deep links.

collect-fees

Path: pancakeswap-driver/skills/collect-fees/SKILL.md

When to use: User asks about uncollected LP fees — "collect my fees", "pending fees", "how much fees have I earned", "claim LP fees".

What it does: Checks uncollected fees across V3, Infinity, and Solana CLMM positions. Generates collection deep links.

Reference scripts: collect-fees/references/ — fetch-v3-positions.mjs, fetch-infinity-positions.mjs, fetch-solana.cjs

swap-integration

Path: pancakeswap-driver/skills/swap-integration/SKILL.md

When to use: Developer wants to integrate PancakeSwap swaps into an app — "integrate swaps", "Smart Router SDK", "Universal Router", "build swap frontend", "swap script".

What it does: SDK integration guide with working code for Smart Router, Universal Router, and direct V2 Router contract calls.

Shared utilities: pancakeswap-driver/skills/common/ — discover-pools.mjs, pool-apr.mjs, protocol-fee.mjs, farm-apr.py, token-lists.md


pancakeswap-farming — Farms & Staking

farming-planner

Path: pancakeswap-farming/skills/farming-planner/SKILL.md

When to use: User wants to farm or stake — "farm on PancakeSwap", "stake CAKE", "unstake CAKE", "yield farming", "syrup pool", "best farm APR", "deposit LP", "withdraw LP".

What it does: Discovers active farms, compares APR/APY, plans CAKE staking in Syrup Pools, generates farming UI deep links.

Note: If the user has a specific token pair and asks about yield, use liquidity-planner instead.

Reference scripts: farming-planner/references/ — fetch-farms.py, fetch-syrup-pools.py

harvest-rewards

Path: pancakeswap-farming/skills/harvest-rewards/SKILL.md

When to use: User wants to claim rewards — "harvest rewards", "claim CAKE", "pending rewards", "how much can I harvest", "collect farming rewards".

What it does: Checks pending CAKE and partner-token rewards across V2, V3, Infinity farms and Syrup Pools. Generates harvest deep links.

Reference scripts: harvest-rewards/references/ — fetch-v3-pending.py, fetch-infinity-pending.py, fetch-syrup-pending.py


pancakeswap-hub — PCS Hub Distribution

hub-swap-planner

Path: pancakeswap-hub/skills/hub-swap-planner/SKILL.md

When to use: User wants to swap via PCS Hub — "PCS Hub swap", "swap via Binance Wallet", "swap via Trust Wallet", "hub route".

What it does: Fetches optimal routing via PCS Hub aggregator API, generates channel-specific handoff links. BSC only.

hub-api-integration

Path: pancakeswap-hub/skills/hub-api-integration/SKILL.md

When to use: Developer wants to embed PCS Hub — "integrate PCS Hub", "embed PCS Hub swap", "Hub integration spec", "add PCS Hub to my wallet app".

What it does: Integration spec with API contracts, frontend state machine, allowance checking, and quote TTL management.

Shared utilities: pancakeswap-hub/skills/common/ — token-lists.md


Supported Chains

Chain ID V2 V3 Infinity StableSwap
BNB Smart Chain 56 + + + +
Ethereum 1 + + - +
Arbitrum One 42161 + + - +
Base 8453 + + + -
zkSync Era 324 + + - -
Linea 59144 + + - -
opBNB 204 + + - -
Monad 143 + + - -

Resources