OpenParable
Skip to content
← Back to skills

Pancakeswap

Apps & Automation
pancakeswap

Pancakeswap is an Agent Skill for apps & automation published in the alsk1992/CloddsBot repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

PancakeSwap — Multi-chain DEX (BNB Chain, ETH, ARB, Base)

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/alsk1992/CloddsBot/blob/HEAD/src/skills/bundled/pancakeswap/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pancakeswap, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

PancakeSwap

Multi-chain AMM DEX with V3 concentrated liquidity. Swap tokens on BNB Chain, Ethereum, Arbitrum, and Base.

Quick Start

# Set credentials
export EVM_PRIVATE_KEY="0x..."

# Get a quote
/cake quote BNB USDT 1 --chain bsc

# Execute swap
/cake swap BNB USDT 1 --chain bsc

# Check price
/cake price CAKE USDT --chain bsc

Commands

CommandDescription
/cake swap <from> <to> <amount> [--chain bsc]Execute swap
/cake quote <from> <to> <amount> [--chain bsc]Get quote without executing
/cake price <tokenA> <tokenB> [--chain bsc]Get relative price
/cake balance <token> [--chain bsc]Check token balance
/cake helpShow commands

Chain Flag

Use --chain to select network (default: bsc):

FlagNetwork
--chain bscBNB Smart Chain (default)
--chain ethEthereum
--chain arbArbitrum
--chain baseBase

Examples

# Swap 1 BNB to USDT on BSC
/cake swap BNB USDT 1

# Swap 100 USDC to CAKE on Ethereum
/cake swap USDC CAKE 100 --chain eth

# Get quote for WETH to USDC on Arbitrum
/cake quote WETH USDC 0.5 --chain arb

# Check CAKE balance on BSC
/cake balance CAKE

Common Tokens

TokenBSCETHARBBase
CAKEYesYesYesYes
USDCYesYesYesYes
USDTYesYesYes-
WBNBYes---
WETH-YesYesYes

Configuration

# Required
export EVM_PRIVATE_KEY="0x..."

# Optional: custom RPC URLs
export BSC_RPC_URL="https://..."
export ETH_RPC_URL="https://..."

Resources