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
npx skills add o2-exchange/skillsThis installs the skills you need from the o2-exchange/skills repository.
Available Skills
| Skill | Purpose |
|---|---|
o2-reference | Shared O2 API, signing, endpoint, and byte-layout reference. |
o2-sdk/typescript | TypeScript O2 SDK usage for account setup, sessions, balances, orders, and account actions. |
o2-sdk/python | Python O2 SDK usage for account setup, sessions, balances, orders, withdrawals, and batch actions. |
o2-sdk/rust | Rust O2 SDK usage for account setup, sessions, balances, orders, and account actions. |
fast-bridge/deposits | Move funds from EVM into O2 with the fast bridge. |
fast-bridge/withdrawals | Move 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:
- o2 API Reference
- MCP Server
- Developer Quick Start (TypeScript)
- Developer Quick Start (Python)
- Developer Quick Start (Rust)
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.