bybit-openapi-skill
Bybit V5 Skill
Use this skill to run Bybit V5 market-data operations through uxc + OpenAPI.
Reuse the uxc skill for shared execution, auth, and error-handling guidance.
Prerequisites
uxcis installed and available inPATH.- Network access to:
https://api.bybit.com- optionally
https://api-testnet.bybit.com
- Access to the curated OpenAPI schema URL:
https://raw.githubusercontent.com/holon-run/uxc/main/skills/bybit-openapi-skill/references/bybit-v5.openapi.json
Scope
This skill covers a curated Bybit V5 public market surface for:
- server time
- instruments metadata
- tickers
- order book snapshots
- kline reads
This skill does not cover:
- private account endpoints in v1
- private order placement or cancellation in v1
- copy trading, earn, broker, or asset management product families
Authentication
Public market endpoints in this skill do not require credentials.
Bybit private APIs use provider-specific header signing that is not yet packaged as a generic uxc signer flow. Keep this v1 skill public-data-only until a reusable Bybit signer path exists.
Region Guardrail
Bybit's official docs note region and IP restrictions. If requests fail unexpectedly, verify that the current execution environment is permitted for Bybit API access before debugging the schema or parameters.
Core Workflow
-
Use the fixed link command by default:
command -v bybit-openapi-cli- If missing, create it:
uxc link bybit-openapi-cli https://api.bybit.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/bybit-openapi-skill/references/bybit-v5.openapi.json bybit-openapi-cli -h
-
Inspect operation help before execution:
bybit-openapi-cli get:/v5/market/time -hbybit-openapi-cli get:/v5/market/instruments-info -hbybit-openapi-cli get:/v5/market/tickers -h
-
Prefer narrow spot reads first:
bybit-openapi-cli get:/v5/market/tickers category=spot symbol=BTCUSDTbybit-openapi-cli get:/v5/market/orderbook category=spot symbol=BTCUSDT limit=20
Operations
get:/v5/market/timeget:/v5/market/instruments-infoget:/v5/market/tickersget:/v5/market/orderbookget:/v5/market/kline
Guardrails
- Keep automation on the JSON output envelope; do not use
--text. - Parse stable fields first:
ok,kind,protocol,data,error. - Treat this v1 skill as read-only.
- Use
category=spotunless the user explicitly needs another market family and has checked the symbol format. bybit-openapi-cli <operation> ...is equivalent touxc https://api.bybit.com --schema-url <bybit_v5_openapi_schema> <operation> ....
References
- Usage patterns:
references/usage-patterns.md - Curated OpenAPI schema:
references/bybit-v5.openapi.json - Official Bybit V5 docs: https://bybit-exchange.github.io/docs/v5/guide
More from holon-run/uxc
playwright-mcp-skill
Run browser automation through @playwright/mcp over UXC stdio MCP, with daemon-friendly session reuse and safe action guardrails. Use when tasks need deterministic page navigation, DOM snapshots, and scripted browser interaction from CLI.
49uxc
Discover and call remote schema-exposed interfaces with UXC. Use when an agent or skill needs to list operations, inspect operation schemas, and execute OpenAPI, GraphQL, gRPC, MCP, or JSON-RPC calls via one CLI contract.
44dune-mcp-skill
Use Dune MCP through UXC for blockchain table discovery, SQL query creation/execution, execution result retrieval, and visualization with help-first schema inspection, explicit auth binding, and guarded credit-consuming operations.
28context7-mcp-skill
Query up-to-date library documentation and code examples using Context7 MCP. Use when you need current, version-specific documentation for npm packages, Python libraries, or other programming languages.
26etherscan-mcp-skill
Use Etherscan MCP through UXC for address balance checks, token holder analysis, transaction inspection, and contract lookup tasks. Use when tasks need Etherscan MCP tools for onchain investigation with help-first schema inspection, bearer-key auth, and tier-aware read-first handling.
25dingtalk-openapi-skill
Operate DingTalk messaging APIs through UXC with a curated OpenAPI schema, app-token bearer auth, and robot/service-group guardrails.
12