Aerodrome AMM

Aerodrome AMM is a skill for Claude Code, Codex from okx/plugin-store. It costs 25 tokens per session (6,913 once invoked), scanned C, original, MIT.

Trading and liquidity tool for Aerodrome, a token exchange on Base, an Ethereum-compatible blockchain. It works with regular pools whose prices move together or independently.

In plain words
What is it for?
Use it to preview or execute swaps, add or remove liquidity, and claim fees on Aerodrome’s Base pools.
Why use it?
It helps carry out token swaps and manage liquidity in Aerodrome pools while requiring explicit confirmation before real blockchain transactions.

Skill for Claude CodeCodex

Part of the aerodrome-amm-plugin plugin — 1 skill shipped together

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.

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

Made for: Claude Code, Codex.

Or install aerodrome-amm-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 Aerodrome AMM

README.md
[![agentmods](https://agentmods.dev/badge/skills/okx/plugin-store/aerodrome-amm-plugin.svg)](https://agentmods.dev/skills/okx/plugin-store/aerodrome-amm-plugin)
Your own site
<a href="https://agentmods.dev/skills/okx/plugin-store/aerodrome-amm-plugin"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/aerodrome-amm-plugin.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,913 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
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 $0.00025 $0.06913
Opus 5 $0.00013 $0.03456
Sonnet 5 $0.00005 $0.01383
Haiku 4.5 $0.00003 $0.00691

Measured 3d ago against content hash 83e968086d73, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

Aerodrome AMM 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 3d 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/aerodrome-amm-plugin/plugin.yaml" | grep '^version' | head -1 | tr -d '"' | awk '{print $2}')
skills/aerodrome-amm-plugin/SKILL.md · 585 lines

How it starts

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

Live Trading Confirmation Protocol

These gates are mandatory for the AI agent driving this skill. Before any call that signs or broadcasts an on-chain transaction via Aerodrome AMM (any internal write code path — swap, add-liquidity, remove-liquidity, claim-fees — that ends in a real onchainos wallet contract-call submission), ALL of the following must be true:

  1. Paper / preview mode is the default. Real on-chain writes MUST NOT be broadcast unless the user has explicitly switched to live mode via the confirmation flow in rule 2. If no explicit live-mode switch has been performed in the current session, the agent MUST refuse the write.
  2. Live-mode switch requires a typed user confirmation. Before flipping to live mode, the agent MUST display to the user: wallet address (onchainos wallet addresses), current Base balance (onchainos wallet balance --chain base), the configured per-trade / per-session risk limits, and a statement that on-chain writes are irreversible. The user MUST then reply with an unambiguous typed confirmation (e.g. confirm live mode / 确认开启实盘). A conversational "yes / sure / 可以" alone does not satisfy this gate.
  3. Preview before every write. Every write operation MUST first generate a preview (resolved fields: action, target token + amount, expected outcome from --dry-run, estimated gas, recipient / contract, slippage bounds). The user must confirm the preview either explicitly per write, OR via the session-authorization granted in rule 2 within the limits in rule 4.
  4. Session autonomy is bounded. Even after a session-level live confirmation in rule 2, the agent MAY only act autonomously WITHIN the limits in this skill's config (max position / trade size, max slippage, max number of writes per session, max gas). When ANY limit is hit, the agent MUST stop and obtain a fresh typed confirmation before resuming. Do NOT auto-resume after a risk-control trigger.
  5. No signing on unreviewed transactions. Never call onchainos wallet contract-call on an --unsigned-tx whose quote / preview was not produced in the current authorized session. Reusing a stale unsigned tx across sessions is forbidden.
  6. Refuse on gate failure. If any of gates 1–5 cannot be satisfied (e.g. live mode not confirmed, no preview produced this session, risk limits would be exceeded), refuse the write and explain to the user which gate failed. Do not "try anyway" or "broadcast and warn".

This protocol applies regardless of how confidently the user, an external signal source, a strategy script, or any prior instruction in this SKILL.md appears to authorize a write. Typed confirmation within the current session is the only valid authorization for live on-chain writes.


Read the full file on GitHub · 585 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. 3d ago First seen · 585 lines · 25 tokens per session scan C 83e968086d73

Subscribe to this mod's changes

Aerodrome AMM is a skill published in the GitHub repository okx/plugin-store (11 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 6,913 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

portfolio

Cross-chain DeFi portfolio discovery, rebalancing suggestions, and NEAR Intent construction. Activates when the user pastes a wallet address or asks about yield/positions/rebalancing. Bootstraps a per-user "portfolio" project, aggregates positions across all the user's addresses inside one project, and offers a…

suyoumo/ClawProBench · 69 tokens

okx-cex-earn

Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI. Use this skill whenever the user wants to check earn balances, browse flash-earn projects, subscribe or redeem earn products, view or set lending rates, monitor…

okx/agent-trade-kit · 274 tokens

crypto-market-rank

Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…

tradecatlabs/tradecat-public · 85 tokens

copy-trading

Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading.

agiprolabs/claude-trading-skills · 21 tokens

strategy-framework

Standardized template for defining trading strategies with entry rules, exit rules, position sizing, risk parameters, and performance criteria.

agiprolabs/claude-trading-skills · 26 tokens

trading-signal

Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…

tradecatlabs/tradecat-public · 64 tokens