Skills#
Beyond simply "retrieving documentation," Skills encapsulate domain knowledge and engineering workflows into stable capabilities. They enable the Agent not only to answer "how to write the docs," but also to handle "which endpoint to choose, what the next step is, and how to deal with errors."
Why OnchainOS Market Skills for AI#
- Covers the full Market data lifecycle , price lookup, token discovery, candlestick retrieval, balance queries, and trade history.
- Provides an Intent Router: maps user questions ("what's ETH's price?", "who holds the most USDT?", "show me SOL's 4h chart") to the correct API family and the appropriate first action.
- Plug-and-play for AI agents: Structured capability modules that directly encapsulate the OKX DEX API for AI Agents. Each Skill corresponds to a specific capability (e.g., filtering trending tokens by price change, trading volume, or market cap; retrieving real-time trading metrics; analyzing address concentration) and defines clear input/output schemas, enabling seamless integration into any Agent architecture.
Quickstart#
skills:npx skills add okx/onchainos-skills
Example interactions#
Once the Skills is uploaded to agents, an Agent can respond to natural-language queries like:
What is the current price of OKB?
# Call index-current-price
Show me OKB’s 4-hour candlesticks for the past week.
# Call market-candlesticks
What is the hottest token on the X-layer chain right now?
# Call market-token-ranking
Which address holds the most USDT on X-layer?
# Call market-token-holder
What is the total asset value of wallet 0xd8dA...?
# Call balance-total-value
Table of contents
