Skip to content
🌐Network: Mainnet

Skills

The O2 skills give AI coding agents the context they need to integrate with O2 Exchange. They cover core workflows, order-type decisions, operating rules, and common bot patterns, with links to the full API reference for exact implementation details.

Install

bash
npx skills add o2-exchange/skills

This installs the skills you need from the o2-exchange/skills repository.

Available Skills

SkillPurpose
o2-referenceShared O2 API, signing, endpoint, and byte-layout reference.
o2-sdk/typescriptTypeScript O2 SDK usage for account setup, sessions, balances, orders, and account actions.
o2-sdk/pythonPython O2 SDK usage for account setup, sessions, balances, orders, withdrawals, and batch actions.
o2-sdk/rustRust O2 SDK usage for account setup, sessions, balances, orders, and account actions.
fast-bridge/depositsMove funds from EVM into O2 with the fast bridge.
fast-bridge/withdrawalsMove funds from O2 back to EVM with the fast bridge.

How To Use The Skills

Use the installed skills as the primary agent context for:

  • O2 trading account setup
  • session creation and signing
  • balance, order, and nonce handling
  • fast-bridge deposits into O2
  • fast-bridge withdrawals from O2 to EVM chains

The skills are split by task on purpose. Agents should load the specific skill for the job instead of relying on one large generic markdown file.

For installation and usage examples, refer to the o2-exchange/skills repo.

Reference Docs

The skills can also work together with the public O2 docs:

Use the docs site for general product and API documentation. Use the installed skills when an agent needs concrete integration guidance, signing rules, bridge flows, and implementation references.