pancakeswap-clmm-plugin

pancakeswap-clmm-plugin is a skill for Claude Code from okx/plugin-store. It costs 90 tokens per session (6,491 once invoked), scanned C, original, MIT.

A farming tool for PancakeSwap V3 liquidity positions. It works with LP NFTs, which are blockchain tokens representing concentrated-liquidity positions.

In plain words
What is it for?
Staking LP NFTs, earning and collecting CAKE rewards, collecting swap fees, withdrawing positions, and viewing positions on BNB Smart Chain, Ethereum, Base, and Arbitrum.
Why use it?
It lets users manage staked positions, rewards, and fees across several networks from the agent.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the pancakeswap-clmm-plugin plugin — 1 skill shipped together

Good fit Staking LP NFTs, earning and collecting CAKE rewards, collecting swap fees, withdrawing positions, and viewing positions on BNB Smart Chain, Ethereum, Base, and Arbitrum.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okx/plugin-store/pancakeswap-clmm-plugin
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add okx/plugin-store --skill pancakeswap-clmm-plugin
Clone the repo
git clone --depth 1 https://github.com/okx/plugin-store

Made for: Claude Code.

Or install pancakeswap-clmm-plugin, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pancakeswap-clmm-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/okx/plugin-store/pancakeswap-clmm-plugin/github.svg)](https://agentmods.dev/skills/okx/plugin-store/pancakeswap-clmm-plugin)
Your own site
<a href="https://agentmods.dev/skills/okx/plugin-store/pancakeswap-clmm-plugin"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/pancakeswap-clmm-plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pancakeswap-clmm-plugin

Your own site · 80×15
<a href="https://agentmods.dev/skills/okx/plugin-store/pancakeswap-clmm-plugin"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/pancakeswap-clmm-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,491 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.06491
Opus 5.5 $0.00036 $0.02596
Sonnet 5.5 $0.00018 $0.01298
Haiku 4.5 $0.00009 $0.00649

Measured 2mo ago against content hash f044feecdc88, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

pancakeswap-clmm-plugin scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$ONCHAINOS_TMP"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

REMOTE_VER=$(curl -sf --max-time 3 "https://raw.githubusercontent.com/okx/plugin-store/main/skills/pancakeswap-clmm-plugin/plugin.yaml" | grep '^version' | head -1 | tr -d '"' | awk '{print $2}')
skills/pancakeswap-clmm-plugin/SKILL.md · 539 lines

How it starts

The opening of the file, as written. The whole thing — 539 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pre-flight Dependencies (auto-injected by Plugin Store CI)

Run once per session before first use. These checks ensure required tools are installed.

Version check (auto-injected)

AI Agent Instruction: Run this version check before executing any commands from this skill. If an update is applied, re-read this SKILL.md before proceeding — the instructions may have changed.

# Check for skill updates (1-hour cache)
UPDATE_CACHE="$HOME/.plugin-store/update-cache/pancakeswap-clmm-plugin"
CACHE_MAX=3600
LOCAL_VER="0.1.9"
DO_CHECK=true

if [ -f "$UPDATE_CACHE" ]; then
  CACHE_MOD=$(stat -f %m "$UPDATE_CACHE" 2>/dev/null || stat -c %Y "$UPDATE_CACHE" 2>/dev/null || echo 0)
  NOW=$(date +%s)
  AGE=$(( NOW - CACHE_MOD ))
  [ "$AGE" -lt "$CACHE_MAX" ] && DO_CHECK=false
fi

if [ "$DO_CHECK" = true ]; then
  REMOTE_VER=$(curl -sf --max-time 3 "https://raw.githubusercontent.com/okx/plugin-store/main/skills/pancakeswap-clmm-plugin/plugin.yaml" | grep '^version' | head -1 | tr -d '"' | awk '{print $2}')
  if [ -n "$REMOTE_VER" ]; then
    mkdir -p "$HOME/.plugin-store/update-cache"
    echo "$REMOTE_VER" > "$UPDATE_CACHE"
  fi
fi

REMOTE_VER=$(cat "$UPDATE_CACHE" 2>/dev/null || echo "$LOCAL_VER")
if [ "$REMOTE_VER" != "$LOCAL_VER" ]; then
  echo "Update available: pancakeswap-clmm-plugin v$LOCAL_VER -> v$REMOTE_VER. Updating..."
  npx skills add okx/plugin-store --skill pancakeswap-clmm-plugin --yes --global 2>/dev/null || true
  echo "Updated pancakeswap-clmm-plugin to v$REMOTE_VER. Please re-read this SKILL.md."
fi

Install onchainos CLI + Skills (auto-injected)

# 1. Install onchainos CLI — pin to latest release tag, verify SHA256
#    of the installer before executing (no curl|sh from main).
if ! command -v onchainos >/dev/null 2>&1; then
  set -e
  LATEST_TAG=$(curl -sSL --max-time 5 \
    "https://api.github.com/repos/okx/onchainos-skills/releases/latest" \
    | sed -n 's/.*"tag_name"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' | head -1)
  if [ -z "$LATEST_TAG" ]; then
    echo "ERROR: failed to resolve latest onchainos release tag (network or rate limit)." >&2
    echo "       Manual install: https://github.com/okx/onchainos-skills" >&2
    exit 1
  fi

  ONCHAINOS_TMP=$(mktemp -d)
  curl -sSL --max-time 30 \
    "https://raw.githubusercontent.com/okx/onchainos-skills/${LATEST_TAG}/install.sh" \
    -o "$ONCHAINOS_TMP/install.sh"
  curl -sSL --max-time 30 \
    "https://github.com/okx/onchainos-skills/releases/download/${LATEST_TAG}/installer-checksums.txt" \
    -o "$ONCHAINOS_TMP/installer-checksums.txt"

  EXPECTED=$(awk '$2 ~ /install\.sh$/ {print $1; exit}' "$ONCHAINOS_TMP/installer-checksums.txt")
  if command -v sha256sum >/dev/null 2>&1; then
    ACTUAL=$(sha256sum "$ONCHAINOS_TMP/install.sh" | awk '{print $1}')
  else
    ACTUAL=$(shasum -a 256 "$ONCHAINOS_TMP/install.sh" | awk '{print $1}')
  fi
  if [ -z "$EXPECTED" ] || [ "$EXPECTED" != "$ACTUAL" ]; then
    echo "ERROR: onchainos installer SHA256 mismatch — refusing to execute." >&2
    echo "       expected=$EXPECTED  actual=$ACTUAL  tag=$LATEST_TAG" >&2
    rm -rf "$ONCHAINOS_TMP"
    exit 1
  fi

  sh "$ONCHAINOS_TMP/install.sh"
  rm -rf "$ONCHAINOS_TMP"
  set +e
fi

# 2. Install onchainos skills (enables AI agent to use onchainos commands)
npx skills add okx/onchainos-skills --yes --global

# 3. Install plugin-store skills (enables plugin discovery and management)
npx skills add okx/plugin-store --skill plugin-store --yes --global

Read the full file on GitHub · 539 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 539 lines · 90 tokens per session scan C f044feecdc88

Subscribe to this mod's changes

pancakeswap-clmm-plugin is a skill published in the GitHub repository okx/plugin-store (12 stars, last pushed 7d ago), licensed MIT. It adds 90 tokens to every session and 6,491 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

pancakeswap-clmm-plugin compared with skills from other repositories

pancakeswap-clmm-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pancakeswap-clmm-pluginokx/plugin-storeSkill127d agoMITC90Claude Code
SunSwap DEX TradingBofAI/skillsSkill1685d agoMITA27Claude Code, Codex
chopBankrBot/skillsSkill1.2kyesterdaynoneA293Claude Code, Codex
dex-poolsClawpump/agents-skillsSkill31mo agoMITA48Claude Code, Codex
defi-yield-scoutXSpoonAi/spoon-awesome-skillSkill177mo agononeA43Claude Code, Codex
defi-protocolsLuuOW/meridian-mcpSkill01mo agoMITA81Claude Code, Codex
gmx-liquiditygmx-io/gmx-aiSkill114d agoMITA64Claude Code, Codex