All skills
okx avatar

/okx-dex-market

@7ee532c
by OKX.comokx/onchainos-skills338 stars
75

Query read-only DEX token, market, signal, social, trenches, and WebSocket data. Use for token search, rankings, liquidity, holders, risk metadata, clusters, and trades; prices, K-lines/OHLC, indexes, and wallet PnL; smart-money/KOL/whale signals; news, sentiment, and token vibe; meme-launch, developer, bundle/sniper, and co-investor research; or DEX WebSocket clients. Triggers include hot tokens, holder concentration, smart money, top-trader leaderboards, pump.fun research, new token launches, on-chain token scanning, bundled or sniper activity, and WebSocket.

Use this Skill: https://skilld.dev/gh/okx/onchainos-skills/okx-dex-market

This session only. Nothing lands on disk.

referencesfollow-ups.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Result Follow-ups

Use this reference only after a DEX command succeeds. Present next actions conversationally and never expose command paths to the user.

Workflow Hints

When the completed command matches a row, show the workflow hint after displaying the result:

You can also try out our [workflow name] workflow for more comprehensive results. Would you like to try it?

Command Workflow File
token info, token price-info, token report, token holders, token cluster-overview, token top-trader Token Research ~/.onchainos/workflows/token-research.md
token hot-tokens Daily Brief ~/.onchainos/workflows/daily-brief.md
token advanced-info New Token Screening ~/.onchainos/workflows/new-token-screening.md
token price-info Portfolio Check ~/.onchainos/workflows/portfolio-check.md
market prices, market kline Daily Brief ~/.onchainos/workflows/daily-brief.md
market portfolio-overview, market portfolio-recent-pnl Wallet Analysis ~/.onchainos/workflows/wallet-analysis.md
market portfolio-overview, market portfolio-token-pnl Portfolio Check ~/.onchainos/workflows/portfolio-check.md
signal list Smart Money Signals; Daily Brief ~/.onchainos/workflows/smart-money-signals.md; ~/.onchainos/workflows/daily-brief.md
signal list --token-address Token Research ~/.onchainos/workflows/token-research.md
tracker activities Wallet Analysis; Wallet Monitor ~/.onchainos/workflows/wallet-analysis.md; ~/.onchainos/workflows/wallet-monitor.md
memepump tokens New Token Screening ~/.onchainos/workflows/new-token-screening.md
memepump tokens --stage MIGRATED Daily Brief ~/.onchainos/workflows/daily-brief.md
memepump token-dev-info, memepump token-bundle-info Smart Money Signals ~/.onchainos/workflows/smart-money-signals.md
memepump token-details, memepump token-dev-info, memepump token-bundle-info Token Research ~/.onchainos/workflows/token-research.md
ws start, ws poll, ws stop Wallet Monitor (WebSocket) ~/.onchainos/workflows/wallet-monitor-ws.md

Next Actions

After Suggest
token search token price-info, token holders
token info token price-info, token holders
token price-info token holders, market kline, swap execute
token holders token advanced-info, token top-trader
token liquidity token holders, token advanced-info
token hot-tokens token price-info, token liquidity, token advanced-info
token advanced-info token holders, token top-trader, token cluster-overview
token top-trader token advanced-info, token trades
token trades token top-trader, token advanced-info
token cluster-supported-chains token cluster-overview
token cluster-overview token cluster-top-holders, token cluster-list, token advanced-info
token cluster-top-holders token cluster-list, token holders
token cluster-list token top-trader, token advanced-info
market price market kline, token price-info, swap execute
market kline token price-info, token holders, swap execute
market prices market kline, market price
market index market price, market kline
market portfolio-supported-chains market portfolio-overview
market portfolio-overview market portfolio-dex-history, market portfolio-recent-pnl, swap execute
market portfolio-dex-history market portfolio-token-pnl, market kline
market portfolio-recent-pnl market portfolio-token-pnl, token price-info
market portfolio-token-pnl market portfolio-dex-history, market kline
signal chains signal list
tracker activities market price, token price-info, swap execute
signal list tracker activities, market kline, token price-info, swap execute
leaderboard list market portfolio-overview, portfolio all-balances, tracker activities --tracker-type multi_address
news-latest, news-by-symbol, news-search news-detail; sentiment-symbol; market price
news-detail news-by-symbol; sentiment-symbol
news-platforms news-search; news-by-symbol --platform
sentiment-ranking sentiment-symbol; news-by-symbol; token hot-tokens
sentiment-symbol news-by-symbol; vibe-top-kols when a contract address is known; market kline
vibe-timeline vibe-top-kols, token advanced-info, market kline
vibe-top-kols vibe-timeline, token holders, swap execute
memepump chains memepump tokens
memepump tokens memepump token-details, memepump token-dev-info
memepump token-details memepump token-dev-info, memepump similar-tokens, memepump token-bundle-info
memepump token-dev-info memepump token-bundle-info, market kline
memepump similar-tokens memepump token-details
memepump token-bundle-info memepump aped-wallet
memepump aped-wallet token advanced-info, market kline, swap execute

Source: SKILL.md on GitHub

2 warnings6d5 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    The skill is designed for querying DEX data and includes comprehensive instructions for the AI agent to handle external data securely. It retrieves information from news platforms, social media, and on-chain sources, which introduces a surface for indirect prompt injection. However, the skill explicitly commands the agent to treat this data as untrusted and not as instructions, and the underlying CLI tool includes measures to reduce the exposed content. The skill also installs a helper tool from the vendor's official package repository. No high-risk patterns were found.

  • Socket6d

    No alerts

  • Snyk6d

    Risk: MEDIUM · 2 issues

  • Runlayer6mo

    1/2 files flagged

  • ZeroLeaks5mo

    1 finding · Score: 82/100

Signed by skilld at 7ee532c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last week
Other metadata
metadata
{
  "author": "okx",
  "version": "4.6.3",
  "homepage": "https://web3.okx.com"
}
  • okx
  • dex
  • market-data
  • token-prices
  • kline
  • ohlc
  • pnl
  • wallet-analytics
  • portfolio

README badge

README badge for okx/onchainos-skills

Fetches on-chain token prices, K-line candlestick charts, index prices, and wallet PnL analysis (realized/unrealized gains, trade history, win rates) via the OKX DEX Market API. Supports batch price queries, per-token profit snapshots, and portfolio overviews across multiple chains.

Generated from the current SKILL.md.

Does this skill handle prediction markets like Polymarket?
No. This skill is explicitly blocked from prediction-market queries (涨跌 / updown markets). Route those to okx-dapp-discovery instead. This skill handles on-chain market data only: token prices, K-line charts, index prices, and wallet PnL.
What chains does portfolio PnL support?
Not all chains support PnL analysis. Call `onchainos market portfolio-supported-chains` first to verify the chain is supported before running wallet PnL commands.
When should I use K-line versus price?
Use K-line only when the user explicitly mentions chart, candle, K线, OHLC, or bar data. A timeframe alone (e.g. '5 minutes') does not trigger K-line — default to price instead.
Does this skill require payment after the free quota?
Some endpoints require payment via the OKX Agent Payments Protocol after free quota is exhausted. Responses may include notification codes (NEW_USER_INTRO, OLD_USER_GRACE, etc.) that indicate tier status and payment requirements.
How do I query real-time prices or candlestick data?
Use the `onchainos ws` CLI for real-time monitoring via WebSocket channels (price, dex-token-candle1m). For custom bots, read the ws-protocol specification.

Generated from the current SKILL.md. These answers refresh after source changes.