# pancakeswap

This skill plans PancakeSwap swaps, LP positions, farming, and reward claims. It fits DeFi tasks and PCS Hub integration work.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 265 installs · ★ 33 repo stars
- Author: Starchild-ai-agent
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/pancakeswap/SKILL.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/pancakeswap

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pancakeswap/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pancakeswap/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pancakeswap/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pancakeswap/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Starchild-ai-agent/official-skills pancakeswap
```

2. **Manually: put the files in place**
- File: `.github/skills/pancakeswap/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path pancakeswap
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pancakeswap/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill pancakeswap -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/pancakeswap/SKILL.md

## When to use it
- 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
- 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.

## Similar
- [yield-opportunities](https://affpapa.org/en/nevibecode/skills/yield-opportunities.md) — skill · 275 installs
- [lp-integration](https://affpapa.org/en/nevibecode/skills/lp-integration.md) — skill · 478 installs
- [okx-cex-earn](https://affpapa.org/en/nevibecode/skills/okx-cex-earn.md) — skill · 9600 installs
- [emblem-defi-yield](https://affpapa.org/en/nevibecode/skills/emblem-defi-yield.md) — skill · 8700 installs
- [liquidity-planner](https://affpapa.org/en/nevibecode/skills/liquidity-planner.md) — skill · 1300 installs
- [defi-protocol-templates](https://affpapa.org/en/nevibecode/skills/seth-hobson-defi-protocol-templates.md) — skill · ★ 126 repo stars

From the same set: [starchild-ai-agent/official-skills](https://affpapa.org/en/nevibecode/by/starchild-ai-agent/official-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
