A proper on-chain DEX toolkit wrapping OKX's Web3 API for swaps, wallet queries, and token discovery across 20+ chains. You get quote generation, portfolio tracking, gas estimation, and transaction building (unsigned, you sign locally). The routing guide is actually useful: it steers you away from using this for whale watching or trend analysis, pointing you instead toward dedicated data skills where that stuff is free and doesn't need API keys. The swap flow requires explicit confirmation and shows honeypot checks before execution. Works on Ethereum, Solana, Base, BSC, Arbitrum, Polygon. Free tier is generous once you grab an OKX API key. Scripts are straightforward Node.js, no wrestling with curl.

skills.sh installs
306
GitHub stars
58
last updated
Aug 21, 2026

Install

$ npx -y skills add aicoincom/coinos-skills --skill aicoin-onchain --agent claude-code

Installs into .claude/skills of the current project.

Files

运行脚本: 从 SKILL.md 所在目录运行 node scripts/<file>.mjs <action>. 三引擎(OpenClaw / Hermes / Claude Code)容器自动加载 skill, 直接 cd 到 skill 目录即可.

AiCoin Onchain

On-chain DEX toolkit powered by OKX Web3 DEX API. Token discovery, swap execution, wallet portfolio, gas estimation, and transaction broadcasting across 20+ blockchains.

Version: 1.0.0

Critical Rules

  1. NEVER fabricate data. Always run scripts. If data is empty or errors, say so — do NOT invent prices or balances.
  2. NEVER use curl, web_fetch, web_search for on-chain data. Always use these scripts.
  3. NEVER run env or printenv — leaks API secrets.
  4. Scripts auto-load .env — never pass credentials inline.
  5. Reply in user's language. Chinese input = Chinese response.
  6. User confirmation required before swap execution. Always show quote details (amount, gas, price impact, honeypot status) and get explicit user approval before calling swap swap.
  7. This skill does NOT sign transactions. It returns unsigned tx data. User must sign locally with their own wallet/key.

⚠️ 路由优先级 (用户问"链上大资金动向"先去 hyperliquid + market,不是这里)

Sponsors

Details

Repository
github.com/aicoincom/coinos-skills
Categories
Backend & APIs, Finance & Trading, Web3 & Blockchain
First seen
Jun 3, 2026

More from aicoincom/coinos-skills

All 6
1troykelly avatarpexels-mediatroykelly/claude-skillsSource royalty-free images and videos from Pexels API for design, placeholders, or content. Supports search, curated/popular content, collections, multiple reso303skills.sh installs
2dfinity avatarcertified-variablesdfinity/icskillsServe cryptographically verified responses from query calls using Merkle trees and subnet BLS signatures. Covers certified data API, RbTree/CertTree constructio302skills.sh installs
3davila7 avatargh-address-commentsdavila7/claude-code-templatesHelp address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not lo301skills.sh installs
4google-labs-code avatarstitch-sdk-readmegoogle-labs-code/stitch-sdkGenerate or update the README for the Stitch SDK. Use the Bookstore Test structure and source the current API from the codebase. Use when the README needs to be301skills.sh installs
5tech-leads-club avatardocs-writertech-leads-club/agent-skillsWrite, review, and edit documentation files with consistent structure, tone, and technical accuracy. Use when creating docs, reviewing markdown files, writing R301skills.sh installs
6dfinity avatarmulti-canisterdfinity/icskillsDesign and deploy multi-canister dapps. Covers inter-canister calls, canister factory pattern, async messaging pitfalls, bounded vs unbounded wait, and 2MB payl300skills.sh installs