Agent Skills
Agent Integration
OpenOcean Skills is an open-source plugin for AI coding assistants (Cursor, Claude Code, OpenClaw). Use natural-language commands for quotes, transaction builds, and on-chain execution.
What are Skills?
Skills are markdown-based instruction files that tell AI coding assistants how to interact with the OpenOcean API. They provide structured workflows for:
- -Getting Quotes - Fetch swap prices and routes
- -Building Transactions - Generate calldata for swaps
- -Executing Swaps - Broadcast transactions on-chain
- -Error Handling - Troubleshooting and recovery
The Four Skills
Skills are designed to be used from safest to fastest:
quote- Get swap price (read-only)swap-build- Build transaction with confirmationswap-execute- Execute built transactionswap-execute-fast- Build and execute in one step (dangerous)
Compatibility
Works with Cursor, Claude Code, OpenClaw, and other mainstream AI coding tools that support skills or custom instructions.