← Back to Skills Marketplace
ok-james-01

Okx Dex Bridge

by ok-james-01 · GitHub ↗ · v2.6.0 · MIT-0
cross-platform ⚠ suspicious
93
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install okx-dex-bridge
Description
Use this skill to bridge tokens, cross-chain swap/transfer, move assets between chains, get cross-chain quotes, compare bridge fees, find the cheapest/fastes...
Usage Guidance
This skill is coherent with a cross-chain CLI workflow but has some gaps you should be aware of before installing or running it: - The SKILL.md expects the 'onchainos' CLI and server authentication (JWT or AK env vars), but the skill metadata lists no required binaries or environment variables. Assume you'll need to install the CLI and provide wallet/API credentials. - The provided preflight instructs downloading an installer (install.sh / install.ps1) from GitHub and executing it. Although it also instructs verifying SHA256 checksums (good practice), downloading-and-running install scripts is inherently risky. Prefer to: - Manually inspect the installer script at the referenced GitHub release before executing it. - Verify the checksum and the release authenticity on GitHub (check the repo, publisher, and release history). - If possible, install the CLI from the official OKX website or package manager instead of via an automated script. - Expect the tool to ask for authentication (wallet login or API key). Do not paste private keys or secrets into untrusted shells; prefer using secure local wallet tooling or ephemeral credentials. - If you need higher assurance, ask the skill publisher for an explicit manifest update that declares the required binary ('onchainos') and any environment variables needed (JWT, AK_*, etc.), or run the CLI in an isolated environment (VM/container) first. Given these mismatches (undeclared CLI and secret usage plus a download-and-execute install flow), treat the skill with caution and validate the installer and auth flows before use.
Capability Analysis
Type: OpenClaw Skill Name: okx-dex-bridge Version: 2.6.0 The skill bundle implements a cross-chain bridging interface but contains high-risk execution patterns in its setup logic. Specifically, `_shared/preflight.md` performs automated installation and updates by fetching and executing shell scripts directly from GitHub (the `curl|sh` pattern). While the process includes SHA256 checksum verification to mitigate tampering, this behavior constitutes a significant remote code execution (RCE) surface and supply-chain risk. The remaining files, including `SKILL.md` and `references/cli-reference.md`, appear to be legitimate documentation for the OKX DEX bridge, incorporating numerous safety checks and mandatory user confirmations for financial operations.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill claims to perform cross-chain quoting, approvals, swaps and status tracking via an 'onchainos' CLI. That functionality reasonably requires a CLI that talks to OKX APIs and the user's wallet, so expecting an external binary is coherent — however the skill metadata declares no required binaries or credentials even though SKILL.md repeatedly references the 'onchainos' CLI and server-side authentication (JWT or AK env vars). The missing declaration of the CLI and auth requirements is an inconsistency.
Instruction Scope
SKILL.md and shared files direct the agent to fetch real-time data via the onchainos CLI and to run seven explicit subcommands. The instructions also direct network actions (GitHub API calls, downloading installers, running onchainos commands) and to read sibling shared files for preflight and chain support. Those actions fit the described purpose, but the skill's runtime behavior includes: executing installer scripts downloaded from raw.githubusercontent.com and invoking onchainos which may prompt for or use JWTs/AKs — none of which were declared in the skill manifest.
Install Mechanism
There is no formal install spec in the registry, but the included preflight.md instructs downloading an install.sh (or install.ps1) from raw.githubusercontent.com and release assets from github.com and then executing the installer. These hosts are standard release channels (GitHub) and the instructions require checksum verification, which reduces risk. Nonetheless, download-and-execute remains a higher-risk action and should be validated by the user (review the installer, verify checksums, and prefer manual install if unsure).
Credentials
The manifest lists no required environment variables or primary credentials, but the CLI reference and preflight explicitly mention authentication via JWT from 'wallet login' or AK env vars, and suggest creating a personal key (.env) when rate-limited. This is a concrete mismatch: the skill will likely need wallet credentials or API keys to function, yet none are declared. The agent instructions also discuss a 'shared API key' and JWTs, so users should assume secret material will be involved even though the registry metadata omits it.
Persistence & Privilege
The skill does not request always:true and does not ask to modify other skills or system-wide settings. The preflight may install a user-level binary under standard user paths (e.g., ~/.local/bin or %USERPROFILE%\.local\bin) and create a per-user cache (~/.onchainos). Those are typical for a CLI tool and are proportionate to the stated purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install okx-dex-bridge
  3. After installation, invoke the skill by name or use /okx-dex-bridge
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.6.0
okx-dex-bridge 2.6.0 - Adds support for the latest Onchain OS DEX cross-chain swap CLI and workflows. - New, more precise command index: 7 subcommands for bridge, token, quote, approve, calldata swap, execute, and status. - Updated error handling: region restriction messages, improved detection and reporting of unsupported or unbridgeable chain/token pairs (especially EVM vs Solana/Sui/Tron/Ton). - Clarifies native token address support: only EVM ↔ EVM bridging permitted, others listed for future reference. - Bridge/token discovery is now more granular by source/destination chain. - Updates "chain in scope" guidance and strengthens rules for confirming token contract address selection.
v2.4.0
Version 2.4.0 Changelog - Expanded description for clearer user guidance on bridging, swapping, and cross-chain transfers. - Updated error handling instructions: ensures user-friendly messaging and clear next-step suggestions on failures. - Command usage and fallback procedures refined for reliability and clarity; only seven subcommands permitted. - Chain support and naming rules clarified, including explicit native token address standards. - Updated mandatory token address resolution steps, with user confirmation required after searches. - Enhanced risk warning workflow for flagged transactions, requiring explicit user confirmation to force execution.
Metadata
Slug okx-dex-bridge
Version 2.6.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Okx Dex Bridge?

Use this skill to bridge tokens, cross-chain swap/transfer, move assets between chains, get cross-chain quotes, compare bridge fees, find the cheapest/fastes... It is an AI Agent Skill for Claude Code / OpenClaw, with 93 downloads so far.

How do I install Okx Dex Bridge?

Run "/install okx-dex-bridge" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Okx Dex Bridge free?

Yes, Okx Dex Bridge is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Okx Dex Bridge support?

Okx Dex Bridge is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Okx Dex Bridge?

It is built and maintained by ok-james-01 (@ok-james-01); the current version is v2.6.0.

💬 Comments