Xxtrade agent
Skill Madwr1d/xxtrade-agent
Read-only CLI + MCP + skill: AI agents read xXTrade (Hyperliquid perps) markets + positions. No trading.
npx -y skills add Madwr1d/xxtrade-agentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use to read xXTrade (Hyperliquid perps) market and account data from the terminal — top markets by open interest, a coin's mark price, and the open positions / account value for a wallet address. READ-ONLY (no trading). Use when an agent needs live perp prices, funding, OI, or to check a wallet's positions on xXTrade.
SKILL.md
1.5 KB, 316 tokens by cl100k_base, as published. Nobody here has run it
xXTrade Agent (read-only)
Read live market + account data from xXTrade via its Agent API. No trading or destructive actions — those stay the user's.
Setup
export XXTRADE_API_KEY="xxt_..." # required (owner-issued)
export XXTRADE_BASE_URL="https://xxtrade.xyz" # optional (default)
Run
npx github:Madwr1d/xxtrade-agent ping
Commands
xxtrade ping— verify auth.xxtrade markets [--limit 25]— top perp markets (mark price, open interest, funding, 24h volume).xxtrade price --coin BTC— mark price for one coin.xxtrade positions --address 0x...— open positions + account value + withdrawable for a wallet (public Hyperliquid data).
All commands print JSON. Data is sourced from Hyperliquid's public info API; the key only gates access to the endpoint (no wallet keys involved).
MCP (Claude Desktop/CLI)
git clone https://github.com/Madwr1d/xxtrade-agent && cd xxtrade-agent && npm i
export XXTRADE_API_KEY="xxt_..."
claude mcp add xxtrade -- node mcp/index.mjs
Tools: xxtrade_ping, xxtrade_markets, xxtrade_price, xxtrade_positions.
What ships with it: 6 files
5.4 KB alongside SKILL.md, 2 of them executable
bin/
- xxtrade.jsruns1.7 KB
mcp/
- index.mjsruns1.7 KB
- .gitignore31 B
- LICENSE827 B
- package.json409 B
- README.md687 B