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.

OpenOcean-skills (GitHub)

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:

  1. quote - Get swap price (read-only)
  2. swap-build - Build transaction with confirmation
  3. swap-execute - Execute built transaction
  4. swap-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.

Next Steps