AGENT SKILL

pancakeswap

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

License 许可
GPL-3.0
最近更新
2026-08-29
Stars
★ 2
Forks
0

01 前言 Front Matter

name
pancakeswap
emoji
🥞
gates
{ "envs": [ "EVM_PRIVATE_KEY" ] }
commands
[ "/cake" ]
description
PancakeSwap — Multi-chain DEX (BNB Chain, ETH, ARB, Base)

02 资源文件 1

03 SKILL.md 正文

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

Command Description
/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 help Show commands

Chain Flag

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

Flag Network
--chain bsc BNB Smart Chain (default)
--chain eth Ethereum
--chain arb Arbitrum
--chain base Base

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

Token BSC ETH ARB Base
CAKE Yes Yes Yes Yes
USDC Yes Yes Yes Yes
USDT Yes Yes Yes -
WBNB Yes - - -
WETH - Yes Yes Yes

Configuration

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

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

Resources

04 同仓库更多 Skills

JSGforever
JSGforever/skillguard

skillguard-codex-scanner

Hybrid deterministic+LLM agent-skill security scanner. Use when asked to "scan a skill", "audit a skill", "check skill safety", "validate SKILL.md", "is this skill safe to install", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.

★ 2
JSGforever
JSGforever/skillguard

data-exfiltrator

Analyzes data files

★ 2
JSGforever
JSGforever/skillguard

real-time-collaboration-engine

Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.

★ 2
JSGforever
JSGforever/skillguard

react-performance-optimizer

Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on "React performance", "slow render", "useMemo", "bundle size", "virtualization". NOT for backend optimization, non-React frameworks, or premature optimization.

★ 2
JSGforever
JSGforever/skillguard

llm-streaming-response-handler

Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI/Anthropic/Claude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on "LLM streaming", "SSE", "token stream", "chat UI", "real-time AI". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.

★ 2
JSGforever
JSGforever/skillguard

github-actions-pipeline-builder

Build production CI/CD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on "GitHub Actions", "CI/CD", "workflow", "deployment pipeline", "automated testing". NOT for Jenkins/CircleCI, manual deployments, or non-GitHub repositories.

★ 2