← Back to Skills Marketplace
yoyoemily

Crypto Swap

by yoyoemily · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ⚠ suspicious
170
Downloads
0
Stars
0
Active Installs
15
Versions
Install in OpenClaw
/install crypto-swap
Description
Lightning-fast crypto swaps. 240+ coins, best rates, done in minutes. Chat, CLI, or web — however you prefer.
README (SKILL.md)

Crypto Swap Skill (LightningEX)

A versatile cryptocurrency swap service powered by LightningEX API with three interaction modes:

  • Chat Mode: Natural language conversation for swaps and queries
  • CLI Mode: Command-line interface for scripting and automation
  • UI Mode: Web-based DeFi interface for visual trading

Quick Start

Chat Mode (Default)

Simply talk to perform exchanges:

Exchange & Rates:

  • "Swap 100 USDT to ETH"
  • "What's the exchange rate for BTC to USDT?"
  • "Exchange rate for 100 USDT (TRC20) to USDT (BEP20)"

Explore:

  • "Show me supported tokens"
  • "List all currencies"
  • "What networks does USDT support?"

Order Management:

  • "Check order status I1Y0××××"
  • "Monitor order I1Y0××××"
  • "Where is my order?"

Cross-chain Swaps:

  • "Swap USDT from Tron to BSC"
  • "Bridge ETH from Ethereum to Arbitrum"
  • "Convert BTC to SOL"

CLI Mode

Prerequisite: Install the CLI tool globally:

npm install -g crypto-swap

Run the CLI:

# Start interactive wizard (default)
crypto-swap

# Show all available commands
crypto-swap --help

# List supported currencies
crypto-swap currencies

# List supported currency-network pairs
crypto-swap pair-list --send USDT --receive USDT
crypto-swap pair-list --send USDT --receive USDT --send-network TRX

# Get pair info
crypto-swap pair --send USDT --receive USDT --send-network TRX --receive-network BSC

# Check exchange rate
crypto-swap rate --send USDT --receive USDT --send-network TRX --receive-network BSC --amount 100

# Check order status
crypto-swap status --id I1Y0...

# Monitor order until complete
crypto-swap monitor --id I1Y0...

UI Mode

# Launch web UI (default port 8080, auto-assign if occupied)
crypto-swap ui

Files

This skill contains the following files:

  • swap.js - Main CLI script (~1000 lines, open source)
  • package.json - Package metadata
  • SKILL.md - This documentation
  • LICENSE - MIT License
  • README.md - Package readme
  • assets/ - Web UI assets (HTML/CSS/JS)

Author: @yoyoemily
Repository: https://github.com/yoyoemily/crypto-swap
License: MIT

Usage Guidance
This package appears to implement a crypto swap CLI and web UI that talks to the LightningEX API — that is consistent with its description. However, the registry entry lacks a verified homepage/source despite README claims of a GitHub repo, and npm packages can execute arbitrary code at install time. Before installing or running this skill: 1) Verify the package on the npm registry and that the repository (github.com/yoyoemily/crypto-swap) exists and matches the published package; 2) Inspect package.json for postinstall scripts and review source (swap.js and package dependencies) locally; 3) Prefer installing in a sandbox or container (not with sudo globally) to inspect behavior; 4) When using the UI/CLI, expect network calls to api.lightningex.io — do not supply private keys or secrets to the tool; 5) If you plan to move real funds, cross-check the service reputation and endpoint TLS fingerprints, and consider using a small test transaction first.
Capability Assessment
Purpose & Capability
Name/description, required binary (crypto-swap), SKILL.md instructions, and included JS/UI files all align with a command-line + web UI crypto swap tool backed by LightningEX API. However, registry metadata shows no homepage/source while README and SKILL.md claim a GitHub repo (https://github.com/yoyoemily/crypto-swap) — this mismatch is unexpected and worth verifying.
Instruction Scope
Runtime instructions are limited to installing and running the crypto-swap binary (npm install -g crypto-swap, run crypto-swap commands, launch UI). The included front-end code only contacts api.lightningex.io for currency lists, pair info, rates, and order operations — behavior consistent with the described purpose and not asking the agent to read unrelated local files or secrets.
Install Mechanism
Install uses npm (package: crypto-swap) which is a common mechanism for CLIs but has moderate risk because npm packages can include postinstall scripts and arbitrary code. No install URL or pinned release host is provided in the registry metadata. Given the missing homepage/source in the registry, verify the npm package content and package.json (postinstall scripts, dependencies, binaries) before global installation.
Credentials
The skill declares no required environment variables, no config paths, and no credentials. The front-end makes network calls to api.lightningex.io (expected for a swap service). There are no hidden requests for unrelated secrets or access to other services in the provided files.
Persistence & Privilege
The skill is not forced-always, does not request elevated system-wide privileges in metadata, and its install is the normal global npm CLI pattern. It does not declare modifications to other skills or system agent settings in the provided materials.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install crypto-swap
  3. After installation, invoke the skill by name or use /crypto-swap
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.0
LightningEX integration with chat, CLI, and web UI modes
v1.2.2
Minify swap.js to reduce file size for better display
v1.2.1
Fix path traversal vulnerability in cmdUI function
v1.2.0
Fix metadata to standard OpenClaw JSON format with openclaw key
v1.1.2
Fix metadata format, add install field for proper registry integration
v1.1.1
Fix metadata consistency, remove unnecessary files, align package.json and SKILL.md files list
v1.1.0
Fix Usage description in swap.js, include SKILL.md in package
v1.0.10
Fix help examples, add complete CLI commands to SKILL.md
v1.0.7
Rename package to crypto-swap, command changed to crypto-swap
v1.0.6
Add metadata declaring Node.js and network requirements
v1.0.5
Add author info, homepage, LICENSE, and file listing for transparency
v1.0.4
Add repository and author metadata
v1.0.3
Simplify CLI documentation, unify command format to node swap.js
v1.0.1
Add security and transparency notice
v1.0.0
Initial release: Lightning-fast crypto swaps with 240+ coins, chat/CLI/web modes
Metadata
Slug crypto-swap
Version 1.3.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 15
Frequently Asked Questions

What is Crypto Swap?

Lightning-fast crypto swaps. 240+ coins, best rates, done in minutes. Chat, CLI, or web — however you prefer. It is an AI Agent Skill for Claude Code / OpenClaw, with 170 downloads so far.

How do I install Crypto Swap?

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

Is Crypto Swap free?

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

Which platforms does Crypto Swap support?

Crypto Swap is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Crypto Swap?

It is built and maintained by yoyoemily (@yoyoemily); the current version is v1.3.0.

💬 Comments