Install ATX Skill on OpenClaw
The ATX skill is published to the ClawHub skill library and can be installed with either the ClawHub CLI or the OpenClaw CLI. After installation, your agent can autonomously perform on-chain operations: create wallets, query prices, trade tokens, manage wallets, provide liquidity, and transfer assets.
- SDK on npm:
atxswap-sdk - GitHub: agentswapx/skills
- ClawHub: atxswap on clawhub.ai
Installation
Option 1: ClawHub CLI
npm install -g clawhub
clawhub install atxswap --forceTIP
The --force flag is required because ClawHub's VirusTotal scanner flags any wallet/keystore SDK as "suspicious" by default. This is expected for crypto tooling and does not indicate a real warning.
Option 2: OpenClaw CLI
openclaw skills install atxswapOpenClaw shares the same ClawHub registry. The skill will be installed under ~/.openclaw/workspace/skills/atxswap/.
Option 3: Manual Install
git clone https://github.com/agentswapx/skills.git
cd skills/atxswap && npm installAfter install (any option), npm install inside the skill directory pulls atxswap-sdk from npm.
Inspect the published skill metadata:
clawhub inspect atxswap
# or
openclaw skills info atxswapTry It Out
Once installed, just talk to your OpenClaw agent in natural language:
Check Price
"What is the current ATX price?"
Create a Wallet
"Create a new wallet for me"
The agent will ask you to set a password, then create an encrypted wallet. The password is auto-saved to your system's secure storage.
Buy Tokens
"Buy ATX with 10 USDT"
The agent will first fetch a quote preview and wait for your confirmation before executing.
Check Balance
"Show my wallet balance"
Transfer
"Send 50 ATX to 0xABC...123"
Phrase quick reference
The first column is example phrasing you can say to your agent (the prompt), the second column is the underlying command, and the third Description column summarizes what that command is for. You usually only need natural language; you do not need to run these commands by hand.
Wallet Management
| Phrase (prompt) | Command | Description |
|---|---|---|
| "Create a new wallet for me" | wallet.js create [name] --password <pwd> | Create a new wallet |
| "List all my wallets" | wallet.js list | List all wallets and balances |
| "Export the keystore for 0x… so I can back it up" | wallet.js export <address> [--out <file>] | Export the wallet's encrypted keystore JSON (the raw private key is never exposed) |
Queries
| Phrase (prompt) | Command | Description |
|---|---|---|
| "What is the current ATX price?" | query.js price | Query ATX/USDT price |
| "Check the balance of 0x…" | query.js balance <address> | Check balance (for a given address) |
| "Quote how much ATX 10 USDT would buy" | query.js quote <buy|sell> <amount> | Buy/sell quote preview |
| "Show my LP positions" | query.js positions <address> | View LP positions |
Swaps
| Phrase (prompt) | Command | Description |
|---|---|---|
| "Buy ATX with 10 USDT" | swap.js buy <usdtAmount> | Buy ATX with USDT |
| "Sell 5 ATX for USDT" | swap.js sell <atxAmount> | Sell ATX for USDT |
Liquidity
| Phrase (prompt) | Command | Description |
|---|---|---|
| "Add 100 ATX and 10 USDT of liquidity" | liquidity.js add <atx> <usdt> | Add liquidity |
| "Remove 50% from position 123" | liquidity.js remove <tokenId> <percent> | Remove a percentage of liquidity |
| "Collect fees for position 123" | liquidity.js collect <tokenId> | Collect accrued LP fees |
Transfers
| Phrase (prompt) | Command | Description |
|---|---|---|
| "Send 0.01 BNB to 0x…" | transfer.js bnb <to> <amount> | Send BNB |
| "Send 50 ATX to 0x…" | transfer.js atx <to> <amount> | Send ATX |
| "Send 100 USDT to 0x…" | transfer.js usdt <to> <amount> | Send USDT |
Note
The phrases in the first column are examples only. Similar or paraphrased wording usually works; the agent follows your intent, not the exact words.
The commands in the second column are script entry points inside the skill; the agent invokes them when needed. You typically do not run these in your terminal yourself.
The description text summarizes the behavior; like the example phrases, it is for your understanding and does not constrain how you must speak.
Importing an existing private key is not supported — neither through natural-language prompts nor as a CLI subcommand. The skill only creates a fresh wallet for this skill instance. If you need to use an existing private key, manage it with your preferred wallet tooling instead.
Security
- The agent will never display your private keys or passwords in chat
- Before any transaction, the agent shows a quote/balance preview and waits for your confirmation
- Large trades require you to explicitly say "confirm" or "execute"
- Private keys are stored encrypted in local keystore files
- Passwords are saved in your system's secure storage (macOS Keychain / Linux Secret Service)
- For backups the skill can only emit the encrypted keystore JSON (e.g.
wallet.js export <address> --out wallet.json); raw private keys are never produced by the skill or the underlying SDK