pancakeswap — Claude Code skill: what it does, how to install
This skill plans PancakeSwap swaps, LP positions, farming, and reward claims. It fits DeFi tasks and PCS Hub integration work.
no license 265 installs ★ 33 updated 2026-10-22
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a claude-codeWhat pancakeswap does
The skill routes a request to a focused guide for swaps, liquidity, fee collection, farming, staking, reward harvesting, or PCS Hub. A swap plan can discover tokens, check contract addresses, fetch prices, and produce a deep link. It does not submit the transaction. Liquidity guidance covers position types, fee tiers, price ranges, and impermanent-loss risk.
Its directory contains SKILL.md guides, Python and JavaScript reference scripts, and integration material for Smart Router SDK, Universal Router, and direct V2 Router calls. Supported networks include BNB Smart Chain, Ethereum, Arbitrum One, Base, zkSync Era, Linea, opBNB, and Monad. The listed requirements are curl, jq, plus either node or python3.
The skill reads the guide that matches the user’s intent through read_file, so a request should name the DeFi action and, where relevant, the chain. Since the swap planner only prepares routing and a link, a wallet action is still required to send the transaction.
What it helps with
- plan a token swap on PancakeSwap
- choose an LP pool and price range
- inspect fees and pending farming rewards
- find active farms or Syrup Pools for CAKE staking
Example prompts for the agent
- Plan a BNB to USDT swap on PancakeSwap and create the handoff link.
- Inspect my LP position and assess its impermanent-loss risk.
- Find active CAKE farms and prepare the staking link.
How to install pancakeswap
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a claude-code2Manually: put the files in place
~/.claude/skills/pancakeswap/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pancakeswap/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a codex2Manually: put the files in place
.agents/skills/pancakeswap/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a cursor2Manually: put the files in place
.cursor/skills/pancakeswap/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Starchild-ai-agent/official-skills pancakeswap2Manually: put the files in place
.github/skills/pancakeswap/SKILL.md1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a gemini-cli2Platform CLI
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path pancakeswapManually: put the files in place
.devin/skills/pancakeswap/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about pancakeswap
How do I install pancakeswap in Claude Code?
Run npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a claude-code, then check ~/.claude/skills/pancakeswap/SKILL.md.
What does pancakeswap do?
It selects a guide for PancakeSwap swaps, liquidity positions, farming, rewards, or PCS Hub flows. The skill can prepare deep links and provide router integration guidance.
Which chains does pancakeswap support?
It covers BNB Smart Chain, Ethereum, Arbitrum One, Base, zkSync Era, Linea, opBNB, and Monad. Available protocol types vary by chain.